{"id":23803770,"url":"https://github.com/emmanuelp/opctest","last_synced_at":"2026-06-30T00:31:34.137Z","repository":{"id":175396779,"uuid":"363938050","full_name":"EmmanuelP/opctest","owner":"EmmanuelP","description":"Open62541 test application","archived":false,"fork":false,"pushed_at":"2021-12-20T14:57:49.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-21T17:17:53.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmmanuelP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-03T13:25:54.000Z","updated_at":"2021-12-20T14:57:52.000Z","dependencies_parsed_at":"2023-07-07T16:46:06.337Z","dependency_job_id":null,"html_url":"https://github.com/EmmanuelP/opctest","commit_stats":null,"previous_names":["emmanuelp/opctest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EmmanuelP/opctest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelP%2Fopctest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelP%2Fopctest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelP%2Fopctest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelP%2Fopctest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmmanuelP","download_url":"https://codeload.github.com/EmmanuelP/opctest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmmanuelP%2Fopctest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34948227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-01T22:33:54.320Z","updated_at":"2026-06-30T00:31:34.117Z","avatar_url":"https://github.com/EmmanuelP.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"meson build\ncd build\nninja\n\nStart one producer, and 2 consumer instances.\n\nPause one consumer using ctrl+z\n\n-\u003e The other consumer doesn't receive data anymore, and producer eats 100% CPU.\n\n```sh\n~/Sources/OpcTest on  main [?] ❯ ./producer\n[2021-05-03 15:34:58.808 (UTC+0200)] warn/server\tAccessControl: Unconfigured AccessControl. Users have all permissions.\n[2021-05-03 15:34:58.808 (UTC+0200)] info/server\tAccessControl: Anonymous login is enabled\n[2021-05-03 15:34:58.808 (UTC+0200)] warn/server\tUsername/Password configured, but no encrypting SecurityPolicy. This can leak credentials on the network.\n[2021-05-03 15:34:58.808 (UTC+0200)] warn/userland\tAcceptAll Certificate Verification. Any remote certificate will be accepted.\n[2021-05-03 15:34:58.809 (UTC+0200)] info/network\tTCP network layer listening on opc.tcp://lappc-p898-in2p3-fr:4840/\nSend 10485760 bytes\nSend 10485760 bytes\n[2021-05-03 15:35:01.655 (UTC+0200)] info/network\tConnection 5 | New connection over TCP from ::1\n[2021-05-03 15:35:01.655 (UTC+0200)] info/channel\tConnection 5 | SecureChannel 1 | SecureChannel opened with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None and a revised lifetime of 600.00s\n[2021-05-03 15:35:01.656 (UTC+0200)] info/channel\tConnection 5 | SecureChannel 1 | Session 5b3f858b-2527-01a5-dd0d-f0df2662d6ed created\n[2021-05-03 15:35:01.657 (UTC+0200)] info/session\tSecureChannel 1 | Session ns=1;g=5b3f858b-2527-01a5-dd0d-f0df2662d6ed | ActivateSession: Session activated\n[2021-05-03 15:35:01.657 (UTC+0200)] info/session\tSecureChannel 1 | Session ns=1;g=5b3f858b-2527-01a5-dd0d-f0df2662d6ed | Subscription 1 | Created the Subscription with a publishing interval of 500.00 ms\n[2021-05-03 15:35:01.677 (UTC+0200)] info/session\tSecureChannel 1 | Session ns=1;g=5b3f858b-2527-01a5-dd0d-f0df2662d6ed | Subscription 1 | MonitoredItem 1 | Created the MonitoredItem (Sampling Interval: 250.000000ms, Queue Size: 0)\nSend 10485760 bytes\nSend 10485760 bytes\nSend 10485760 bytes\n[2021-05-03 15:35:03.848 (UTC+0200)] info/network\tConnection 6 | New connection over TCP from ::1\n[2021-05-03 15:35:03.848 (UTC+0200)] info/channel\tConnection 6 | SecureChannel 2 | SecureChannel opened with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None and a revised lifetime of 600.00s\n[2021-05-03 15:35:03.849 (UTC+0200)] info/channel\tConnection 6 | SecureChannel 2 | Session 2cde63ef-7b12-24d0-7367-b6bbad1a7107 created\n[2021-05-03 15:35:03.849 (UTC+0200)] info/session\tSecureChannel 2 | Session ns=1;g=2cde63ef-7b12-24d0-7367-b6bbad1a7107 | ActivateSession: Session activated\n[2021-05-03 15:35:03.850 (UTC+0200)] info/session\tSecureChannel 2 | Session ns=1;g=2cde63ef-7b12-24d0-7367-b6bbad1a7107 | Subscription 2 | Created the Subscription with a publishing interval of 500.00 ms\n[2021-05-03 15:35:03.857 (UTC+0200)] info/session\tSecureChannel 2 | Session ns=1;g=2cde63ef-7b12-24d0-7367-b6bbad1a7107 | Subscription 2 | MonitoredItem 1 | Created the MonitoredItem (Sampling Interval: 250.000000ms, Queue Size: 0)\nSend 10485760 bytes\nSend 10485760 bytes\nSend 10485760 bytes\nSend 10485760 bytes\n```\n\n```sh\nSources/OpcTest/build on  main [?] ❯ ./consumer\n[2021-05-03 15:35:01.653 (UTC+0200)] warn/userland\tAcceptAll Certificate Verification. Any remote certificate will be accepted.\n[2021-05-03 15:35:01.656 (UTC+0200)] info/channel\tConnection 3 | SecureChannel 1 | SecureChannel opened with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None and a revised lifetime of 600.00s\n[2021-05-03 15:35:01.656 (UTC+0200)] info/client\tClient Status: ChannelState: Open, SessionState: Closed, ConnectStatus: Good\n[2021-05-03 15:35:01.656 (UTC+0200)] info/client\tSelected Endpoint opc.tcp://localhost:4840/ with SecurityMode None and SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None\n[2021-05-03 15:35:01.656 (UTC+0200)] info/client\tSelected UserTokenPolicy open62541-anonymous-policy with UserTokenType Anonymous and SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None\n[2021-05-03 15:35:01.657 (UTC+0200)] info/client\tClient Status: ChannelState: Open, SessionState: Created, ConnectStatus: Good\n[2021-05-03 15:35:01.657 (UTC+0200)] info/client\tClient Status: ChannelState: Open, SessionState: Activated, ConnectStatus: Good\n[1] Received 10485760 bytes\n[2] Received 10485760 bytes\n[3] Received 10485760 bytes\n[4] Received 10485760 bytes\n[5] Received 10485760 bytes\n[6] Received 10485760 bytes\n[7] Received 10485760 bytes\n^Z\n[1]+  Stoppé                 ./consumer\n```\n\n```sh\nSources/OpcTest/build on  main [?] ❯ ./consumer\n[2021-05-03 15:35:03.846 (UTC+0200)] warn/userland\tAcceptAll Certificate Verification. Any remote certificate will be accepted.\n[2021-05-03 15:35:03.848 (UTC+0200)] info/channel\tConnection 3 | SecureChannel 2 | SecureChannel opened with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None and a revised lifetime of 600.00s\n[2021-05-03 15:35:03.848 (UTC+0200)] info/client\tClient Status: ChannelState: Open, SessionState: Closed, ConnectStatus: Good\n[2021-05-03 15:35:03.849 (UTC+0200)] info/client\tSelected Endpoint opc.tcp://localhost:4840/ with SecurityMode None and SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None\n[2021-05-03 15:35:03.849 (UTC+0200)] info/client\tSelected UserTokenPolicy open62541-anonymous-policy with UserTokenType Anonymous and SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None\n[2021-05-03 15:35:03.849 (UTC+0200)] info/client\tClient Status: ChannelState: Open, SessionState: Created, ConnectStatus: Good\n[2021-05-03 15:35:03.850 (UTC+0200)] info/client\tClient Status: ChannelState: Open, SessionState: Activated, ConnectStatus: Good\n[4] Received 10485760 bytes\n[5] Received 10485760 bytes\n[6] Received 10485760 bytes\n[7] Received 10485760 bytes\n[2021-05-03 15:35:17.429 (UTC+0200)] error/client\tInactivity for Subscription 2.\n[2021-05-03 15:35:27.430 (UTC+0200)] error/client\tInactivity for Subscription 2.\n[2021-05-03 15:35:37.430 (UTC+0200)] error/client\tInactivity for Subscription 2.\n[2021-05-03 15:35:47.430 (UTC+0200)] error/client\tInactivity for Subscription 2.\n```\n\n```\n~ via ⬢ v14.16.1 took 1m47s ❯ ps aux | grep producer\npacaud    265612 93.0  0.5  97052 95088 pts/6    R+   15:34   1:58 /home/pacaud/Sources/OpcTest/build/producer\n```\n\nopen62541 compilation options:\n\n```\n-DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_NAMESPACE_ZERO=REDUCED -DOPEN62541_VERSION=v1.2 -DUA_ENABLE_DISCOVERY=ON -DUA_ENABLE_DISCOVERY_MULTICAST=ON -DUA_ENABLE_PUBSUB=ON -DUA_ENABLE_PUBSUB_FILE_CONFIG=ON -DUA_ARCH_REMOVE_FLAGS=\"-Werror\" -DUA_MULTITHREADING=200 -UA_LOGLEVEL=100\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelp%2Fopctest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmanuelp%2Fopctest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelp%2Fopctest/lists"}