plc4x: [Bug]: opcua unsupported transport tcp
What happened?
Unable to connect to opcua server, the connection aborts with the following message:
Exception in thread "main" org.apache.plc4x.java.api.exceptions.PlcConnectionException: Unsupported transport tcp at org.apache.plc4x.java.spi.connection.GeneratedDriverBase.getConnection(GeneratedDriverBase.java:340) at org.apache.plc4x.java.spi.connection.GeneratedDriverBase.getConnection(GeneratedDriverBase.java:293) at org.apache.plc4x.java.DefaultPlcDriverManager.getConnection(DefaultPlcDriverManager.java:79)
Tried to add plc4j-transport-tcp dependency with no avail. Tried also to use v0.11.0 and got the same error. I also tried to change the connection string from opcua:tcp to opc.tcp but got a driver registration issue. Please this is an urgent matter, your help is appreciated.
P.S.: Tested against the freely available opc server “opc.tcp://uademo.prosysopc.com:53530/OPCUA/SimulationServer”, hence my connection string is : “opcua:tcp://uademo.prosysopc.com:53530/OPCUA/SimulationServer”
Alexis
Version
v.0.12.0
Programming Languages
- plc4j
- plc4go
- plc4c
- plc4net
Protocols
- AB-Ethernet
- ADS /AMS
- BACnet/IP
- CANopen
- DeltaV
- DF1
- EtherNet/IP
- Firmata
- KNXnet/IP
- Modbus
- OPC-UA
- S7
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (8 by maintainers)
Its probably a missing dependency, can you add
plc4j-transport-tcpto your classpath?