Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15.0
-
None
-
Ubuntu Linux 16.04
gcc 5
Qt 5.15.0
Description
QOpcUaClient::requestEndpoints() can return endpoints that have a "/" at the end of their URL (for example "opc.tcp://127.0.0.1:15701/"), when that happens calling QOpcUaClient::connectToEndpoint() on a returned endpoint fails with the following errors:
[2020-08-31 18:15:19.470 (UTC-0400)] error/client Opening the TCP socket failed
[2020-08-31 18:15:19.470 (UTC-0400)] error/client Couldn't connect the client to a TCP secure channelqt.opcua.plugins.open62541: Open62541: Failed to connect
Changing the endpoint URL to the same address without a "/" at the end (in this case to "opc.tcp://127.0.0.1:15701") gives a successful connection.
Backend I was using when I found this bug is Open62541.