Skip to content

Keep OPC UA reconnecting indefinitely - #724

Draft
Daniiiil1 wants to merge 1 commit into
AMRC-FactoryPlus:mainfrom
Daniiiil1:codex/opcua-infinite-reconnect
Draft

Keep OPC UA reconnecting indefinitely#724
Daniiiil1 wants to merge 1 commit into
AMRC-FactoryPlus:mainfrom
Daniiiil1:codex/opcua-infinite-reconnect

Conversation

@Daniiiil1

Copy link
Copy Markdown

Summary

Keep the ACS Edge OPC UA client retrying its initial connection until the southbound server becomes available.

node-opcua fills an omitted maxRetry in a partial connection strategy with 10. Setting it to -1 selects the library's documented unlimited-retry behavior while retaining the existing 1–20 second backoff.

Validation

  • npm run build (with the same generated lib/git-version placeholder used by the container build)
  • verified emitted JavaScript contains connectionStrategy.maxRetry: -1
  • git diff --check

Closes #165

Signed-off-by: Daniil Mordanov <mordanovdania@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[edge] OPC UA stops reconnecting

1 participant