Comments (7)
can you provide your tb-gayeway.yml? Is remoteConfiguration true or false ?
from thingsboard-gateway.
i have tried with both. when true and configured following example , the error is:
and here is the tb-gateway.yml
from thingsboard-gateway.
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:
- in opc-onfig.json change "keyPassword": "secret"
- in opc-onfig.json add "host": <YOUR_HOST>, at the same level as "port" property.
If there are any other issues with the certificate, you can re-generate it as described here
Meanwhile I will update the release archives
from thingsboard-gateway.
Have you solved the problem? @quirosaur
from thingsboard-gateway.
Hi, i tried the solutions, keystore is not apparently problem anymore but opc-ua connection problem persists. here are the logs and config:
opc-config.json.txt
without_opc_tcp_header_tb-gateway.log
with_opc_tcp_header_tb-gateway.log
in "host", should i use ip as "opc.tcp//xxx.xxx.xxx.xxx" or just bare ip?
anyways, i tried both, neither worked.
from thingsboard-gateway.
No, you don't need the "opc.tcp" part, the tb-gateway will add it by itself.
So what happens is that the gateway connects to "opc.tcp://:/", gets the list of endpoints and iterates over them to find the one that matches the security policy.
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 don't have a working Prosys OPC-UA server, so I was unable to check if the assumption is correct or not
from thingsboard-gateway.
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]
NetworkAdapter=eth0
NetworkPort=4840
this was done in remoteconfig = false, because apparently opcua extension is broken in web GUI.
tb-gateway.log
@mp-loki thank you for help! 👍
from thingsboard-gateway.
Related Issues (20)
- [BUG]tp-gateway send data to thingsboard through mqtt by using customized converter HOT 1
- Issues in recoverability & reliability of communication between Gateway & Thingsboard CE server HOT 3
- [BUG] socket_connector.py is missing get_id definition HOT 1
- [BUG] Architecture issue with latest tb-gateway image (3.4.6) HOT 5
- [BUG] Error log -- Timeout while waiting for a publish to ThingsBoard! HOT 5
- [BUG] OPC-UA AsyncIO does not find sub variables HOT 2
- [BUG] Latest version (3.4.6) not correctly recognized (version 0.0 instead of 3.4.6) HOT 2
- [HELP] Unable to Maintain connectivity between IoT Gateway & Thingsboard CE server/Thingsboard Edge HOT 1
- [HELP] modbus TCP reads only first "timeseries"
- Modbus TCP |ERROR| - [tb_logger.py] - tb_logger - exception - 98 - Exception Response(131, 3, IllegalAddress)[HELP] HOT 2
- [BUG] 100% CPU usuage of thingsboard-gateway HOT 5
- When The gateway runs for a long time, RuntimeError: Message publish failed: The client is not currently connected.
- Potential [BUG] MQTT connector not honoring client attribute requests , only shared attribute requests
- [HELP] RuntimeError: Message publish failed: The client is not currently connected.
- [HELP] Can't get the latest telemtry data HOT 1
- Cannot load GRPC connector!Gateway Shell HOT 1
- Can't correctly setup the rest.json configuration file [HELP] HOT 7
- How to connect my gateway to thingsboard Community Edition(Thingsboard CE) HOT 2
- ThingsBoard IoT Gateway not sending all the parameters configured in SNMP connector to ThingsBoard PE server - Help Wanted
- [HELP]: make Dynamic dashboard for 'Markers Placement' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingsboard-gateway.