Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: Channel Access error under Scientific Linux 7
From: Michael Davidsaver <mdavidsaver@gmail.com>
To: Abdalla Ahmad <abdalla.ahmad@sesame.org.jo>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 6 Jul 2017 10:03:14 +0200
Which version of EPICS Base are you work with?  Also, is the source for
the CA client available?

On 07/06/2017 08:36 AM, Abdalla  Ahmad wrote:
> We started deploying Scientific Linux 7.x and one of the tools that has
> a problem is a custom Basler camera client. Every time I run the client
> I get this error message:
> 
>  
> 
> CAC: Failed to subscription request during channel connect

Seems like the message comes from nciu.cpp if "send" is omitted.

https://github.com/epics-base/epics-base/blob/3.16/src/ca/client/nciu.cpp#L533


> What does this error mean? The tool works fine on an SL6.4 machine.

Exceptions caught here are probably being thrown comes from:

https://github.com/epics-base/epics-base/blob/3.16/src/ca/client/tcpiiu.cpp#L1558

I you want to troubleshoot this further you can edit nciu::resubscribe()
in nciu.cpp and replace

>             catch ( ... ) {
>                 errlogPrintf ( "CAC: failed to send subscription request "
>                                "during channel connect\n" );
>             }

with

>             catch (cacChannel::badEventSelection& e) {
>                 errlogPrintf ( "CAC: badEventSelection send subscription request "
>                                "during channel connect\n" );
>             }
>             catch (cacChannel::msgBodyCacheTooSmall& e) {
>                 errlogPrintf ( "CAC: msgBodyCacheTooSmall send subscription request "
>                                "during channel connect\n" );
>             }
>             catch (std::exception& e) {
>                 errlogPrintf ( "CAC: \"%s\: send subscription request "
>                                "during channel connect\n", e.what() );
>             }
>             catch ( ... ) {
>                 errlogPrintf ( "CAC: failed to send subscription request "
>                                "during channel connect\n" );
>             }

which should give tell us which error condition occurs.


References:
Channel Access error under Scientific Linux 7 Abdalla Ahmad

Navigate by Date:
Prev: Channel Access error under Scientific Linux 7 Abdalla Ahmad
Next: Re: EPICS build system DESTDIR support Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Channel Access error under Scientific Linux 7 Abdalla Ahmad
Next: EPUCS Qt release 3.5.1 Andrew C. Starritt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 07 Jul 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·