-
Notifications
You must be signed in to change notification settings - Fork 793
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
OPC-UA not connecting/keystore poblem #60
Comments
can you provide your tb-gayeway.yml? Is remoteConfiguration true or false ? |
i have tried with both. when true and configured following example , the error is: and here is the tb-gateway.yml |
Hi @quirosaur ! Thank you for reporting this issue. I found that the resource files that are provided in the package are not accurate. As a workaround you have to do two things:
If there are any other issues with the certificate, you can re-generate it as described here |
Have you solved the problem? @quirosaur |
Hi, i tried the solutions, keystore is not apparently problem anymore but opc-ua connection problem persists. here are the logs and config: in "host", should i use ip as "opc.tcp//xxx.xxx.xxx.xxx" or just bare ip? anyways, i tried both, neither worked. |
No, you don't need the "opc.tcp" part, the tb-gateway will add it by itself. It looks like that the port 4840 that you are trying to connect to is a local discovery port (by default) in Prosys OPC-UA server, and you have to connect to UA TCP port, which is 53530 by default. |
I'm sorry, i accidentally gave wrong name of opc-ua server. It's codesys server. anyhow, i apparently managed to get connection to opcua. in raspberry pi /etc/CODESYSControl.cfg i added [CmpOPCUA] this was done in remoteconfig = false, because apparently opcua extension is broken in web GUI. @mp-loki thank you for help! 👍 |
tb-gateway.log
Hello!
I discovered a potential bug, while following example.
I have gateway and thingsboard on version 1.4.0, both installed on same computer.
i try to connect to prosys opcua server on raspberry pi, and i am using default keystore and certification.
however, when starting tb-gateway, log shows error messages
when using jks, error is:
and apparently caused by this, opcua tries to connect to null (i've tried ip with and without the opc.tcp:// header)
The text was updated successfully, but these errors were encountered: