Closed JeremyTheocharis closed 9 months ago
Hi, the stack SDK replaces localhost automatically. For your use-case you could do something like this:
docker run --rm -it -p 50000:50000 -p 8080:8080 -h someservername --name opcplc mcr.microsoft.com/iotedge/opc-plc:latest --pn=50000 --autoaccept --sph --sn=5 --sr=10 --st=uint --fn=5 --fr=1 --ft=uint --gn=5 --plchostname=localhost --showpnjsonph
You can also replace someservername above with localhost and it shows in the dnsnames list. Please let me know if this helps.
@JeremyTheocharis any updates?
I can confirm it solved the issue, however the underlying issue is still there. But let me close this one. Thank you for your help!
Thanks for confirming. Could you please open an issue for the OPC UA SDK. Just copy-paste some info from here and post a link to this one. I will make sure that it gets triaged.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
We are integrating the simulator as test simulator for the open-source project "benthos-umh" (https://github.com/united-manufacturing-hub/benthos-umh). We are troubleshooting why the server is closing the connection unexpectedly, and came up with this smaller problem. Maybe fixing this will solve the larger problem we are working on. If this does not fix our actual problem, we will probably create a separate issue for this.