EPICS Home

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  2018  2019  2020  2021  2022  2023  <20242025  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  2018  2019  2020  2021  2022  2023  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: Question about PVaccess and docker
From: Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
To: "Knap, Giles (DLSLtd,RAL,LSCI)" <giles.knap at diamond.ac.uk>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 11 Sep 2024 15:49:40 +0200

Hi Giles,


thanks for the answer!


Best regards,
Florian


On 9/11/24 15:26, Knap, Giles (DLSLtd,RAL,LSCI) wrote:
Hi Florian,

I have seen exactly this issue and it is discussed in some detail here https://github.com/epics-base/pvAccessCPP/issues/197.

Regards,
giles



From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
Sent: 11 September 2024 14:17
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Question about PVaccess and docker
 
Hey all,

we use docker to manage and distribute our IOCs.

Assume the following:

I have two PCs connected via LAN.
On PC A I ran a docker container containing an IOC
ON PC B I try to access PVs of this IOC via caget/pvget (locally installed).

If I start my docker container with the `--network host` option (the
container uses the network of PC A), both caget and pvget are working fine.

But if I use the Docker's default bridge network and map the ports of
the container to the ports on PC A (`-p 5064:5064 -p 5064:5064/udp -p
5075:5075 -p 5076:5076/udp`) only caget works.
The ioc does not reply to any request on port 5076/udp
I also tried to use pvlist which returns nothing. But `pvlist <IP of PC
A>` works.

I used wireshark to check. The only difference in these two scenarios I
can see are broadcast messages send regularly by the ioc to ports
5065/udp and 5076/udp.
This difference is to be expected, as network bridges do not forward
broadcasts, so these are only visible in the 1st case.

Any idea why pvget/pvlist cannot connect with my ioc if I use the `-p`
options when starting the docker container?

Best regards,
Florian

--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://eur03.safelinks.protection.outlook.com/?url="">

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom.
-- 
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum

Office: NB 2/134
Phone:  (+49)234 / 32-23563
Fax:    (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de

References:
Question about PVaccess and docker Florian Feldbauer via Tech-talk
Re: Question about PVaccess and docker Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk

Navigate by Date:
Prev: Frozen FPGA's PVs & NTP José Pérez Vidal via Tech-talk
Next: HTTP PUT Request - StreamDevice Kyle Hesse via Tech-talk
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  2018  2019  2020  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: Re: Question about PVaccess and docker Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk
Next: Frozen FPGA's PVs & NTP José Pérez Vidal via Tech-talk
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  2018  2019  2020  2021  2022  2023  <20242025