EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: question about ca gateway
From: Dirk Zimoch <[email protected]>
To: [email protected]
Cc: tech-talk <[email protected]>
Date: Wed, 12 Nov 2008 17:10:37 +0100
Hello wantianin,

Do you set EPICS_CA_ADDR_LIST to something including a port number?

The portable channel access server (and thus the gateway) is quite sensitive
unexpected messages on its channel search UDP port, for example beacons.

Unfortunately, using port numbers in EPICS_CA_ADDR_LIST is used as a default for
EPICS_CAS_BEACON_ADDR_LIST using the same ports. This lets the IOC send beacons
on the UDP port where search requests are expected by the gateway.

With 3.14.10, the gateway should not crash any more.

Dirk

万天敏 wrote:
> hi all,
>       I have meet a strange question about ca gateway, in our situation, ca gateway is running on a workstation , a softioc (use makeBaseApp.pl to create ) is running on a machine in the same subnet, the  ca gateway will display the following error message and then the corresponding pv can not be get from the ca gateway. it seems that the ioc send some udp package to the ca gateway which  cause the error occurs. when this ioc is running, the error will occurs continually, if restart the ca gateway ,we can get  pv for a few seconds and then fails again. before start the ioc, if we set the environment variable "EPICS_CAS_INTF_ADDR_LIST=127.0.0.1" or  set some other environment variable to let the ioc not to send message  to ca gateway ,the error will not occur,
> Is there some way of solve this problem?  ps: I notice that only when the ioc is complied use base3.14.9(if recompile the ca gateway in base 3.14.9 the problem still occurs),and if the ioc is compiled use 3.14.8.2 the problem will not occur.
> 
> error message:
> 
> CAS: CAS Request: ? on 10.30.50.13:32920: cmd=13 cid=11 typ=11 cnt=5080 psz=0 avail=a1e320d
> 
> Nov 03 10:00:00 !!! Errlog message received (message is above)
> bad request code=13 in DG
> 
> Nov 03 10:00:00 !!! Errlog message received (message is above)
> filename="../../../../src/cas/generic/st/casDGIntfOS.cc" line number=498
> protocol from client was invalid unexpected problem with UDP input from "10.30.50.13:32920"
> 
> Nov 03 10:00:00 !!! Errlog message received (message is above)
> CAS: CAS Request: ? on 10.30.50.13:32920: cmd=13 cid=11 typ=11 cnt=5080 psz=0 avail=a1e320d
> 
> Nov 03 10:00:01 !!! Errlog message received (message is above)
> bad request code=13 in DG
> 
> Nov 03 10:00:01 !!! Errlog message received (message is above)
> filename="../../../../src/cas/generic/st/casDGIntfOS.cc" line number=498
> protocol from client was invalid unexpected problem with UDP input from "10.30.50.13:32920"
> 
> Nov 03 10:00:01 !!! Errlog message received (message is above)
> CAS: CAS Request: ? on 10.30.50.13:32920: cmd=13 cid=11 typ=11 cnt=5080 psz=0 avail=a1e320d
> 
> Nov 03 10:00:01 !!! Errlog message received (message is above)
> bad request code=13 in DG
>  ......
> 
> 
> 
> thanks a lot,
> wantianin
> 
> 
> 
> 

-- 
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182

References:
question about ca gateway 万天敏

Navigate by Date:
Prev: RE: Fast Cross-IOC Loops? Thompson, David H.
Next: Re: Fast Cross-IOC Loops? Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: question about ca gateway Jeff Hill
Next: Re: Re: question about ca gateway 万天敏
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·