-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOC receives camera connection failed occasionally #4
Comments
It would be helpful to attach the full log in text. |
Here is a sample log output from the IOC shell:
|
For the message timestamp, it looks like the docker container network has intermittent interrupt.
|
Thanks for the feedback, the issue started to appear around the time we migrated the IOC to docker, for testing purposes we switched back to the standard IOC setup along with the entire path MTU set to 9000. I'll provide you with feedback soon. |
The issue happened again outside of docker, we ran a basic IOC with ADPylon integrated, it was running fine until few hours ago I got the same error, notice that it did not resume so I had to stop/start acquiring. Could there be some parameters in the OS or in the features GUI that I need to modify? |
I haven't checked the status section recently but I don't remember getting any failed buffers or packets. |
I just remembered that we are running the ADPylon with Pylon SDK 7.3, the tools in 7.3 do not run under rocky linux 8 because they require a higher version of the libstdc++, could this be an issue for the IOC? |
Pylon SDK 7.3 does not run on RHEL/Centos 7 because of libc and libstdc++ versions. For Rocky Linux 8, there is only this crash-on-exit issue #1, but it has been fixed. |
Actually Pylon SDK 7.3 does not work with rocky Linux 8 due to libstdc++ version, the only latest functional SDK on Rocky Linux 8 is 7.2.1, SDK 7.2.1 has been working fine few months ago. Yesterday, we installed the IOC with SDK 7.2.1 on a laptop on the same switch as the camera, with the MTU on all nodes set to 9000 and just this morning I got the same error. We are suspecting an issue with the camera itself, we will try rebooting it through PoE and test again. What do you think? |
I am able to build and run ADPylon IOC using Pylon SDK 7.3 on RHEL8.9 and Rocky Linux8.7. What is not working is the If you could run two cameras on the same host, that would be a definite proof. But I suspect, as much as you do, that the camera is failing. |
We added a 2nd camera on the same switch and failed with the same error, we are suspecting with the PoE on the switch, we will setup an external power while turning off PoE for both cameras and test again. |
With all cameras set to the same acquisition settings, I got the same error on a test camera connected directly on the same switch with MTU set to 9000 and with external power supplies, I also got the same error on a different camera running on a different switch with MTU set to 1500 but after like 700K frames. I am thinking of two things:
What do you think? |
So far all tests involve network switches, would it be possible to test with a direct connection between PC and camera? See Peer-to-Peer Network Architecture and Changing the Network Adapter Properties (Linux) in https://docs.baslerweb.com/network-configuration-(gige-cameras) |
Peer-to-peer was tested multiple times but with the Pylon Viewer, one time it acquired 7M+ frames but can't recall any failed frames if any. |
For comparison, it would still be good
In both ways, one would identify whether the network switch is part of the problem. |
Not all parameters mentioned in the network configuration page are supported in RL8 because of a mix between kernel version and NIC driver support for these parameters. Looks like we might need an RL9-based setup .... |
What error messages do you observe? |
The
Where the offset is just the location of the parameter in the command. I searched over the internet, it seems that |
We have used NICs with Intel and Broadcom chipsets and RHEL has good support of them. |
We are still investigating the issue on our side, but I have a question, the driver won't acquire anything if the MTU is set to 9000 on the camera through features GUI, this will only happen if it is connected to any switch. In the case of P2P, the MTU is working fine. |
Is the network switch configured with Jumbo Frame? |
Hi Wang, sorry I forgot about this issue but as we agreed it seems it is more of a networking issue, we moved the camera's Ethernet cable to another switch and we get much better performance, millions of frames captured continuously on 10 FPS before any disconnection, for the time being this is acceptable and we can deal with it because of the busy operation, we will test few cameras soon on a 10G switch supporting MTU up to 10000 I think and provide you with feedback. Thanks!. |
We have the following setup:
Camera Model: Basler acA1300
Pylon SDK 7.3
Docker-based IOC (with the minimal alpine Linux)
The IOC every couple of days receives the following error:
This is exactly the same error I get from the Pylon Viewer when connecting to a camera that is being controlled somewhere else. The problem is that it happens every few days, to resolve it I have to stop and start the acquisition. It starts working and after few days I get the same error.
The text was updated successfully, but these errors were encountered: