- Trying to connect TREX remotely through the PYTHON APIs. But ended up with the below error. The TREX version used is V2.2.0. Need help in resolving the issue and is the below error due to any incompatibility.
client - side logs:
============
>>> c = STLClient(username = "trex",server = "172.26.156.57", sync_port = 4507 ,verbose_level = LoggerApi.VERBOSE_HIGH)
>>> c.connect()
Connecting to RPC server on 172.26.156.57:4507
[SUCCESS]
--- <Logs removed>-------
[verbose] Server Response:
{
"error": {
"code": -32601,
"message": "Method not found"
},
"id": "null",
"jsonrpc": "2.0"
}
- The port is not the right one. just remove it (default is 4501)
STLClient(username = "trex",server = "172.26.156.57", sync_port = 4507
- Connecting to RPC server on csi-kiwi-02:4501
- Connecting to publisher server on csi-kiwi-02:4500
Comments
0 comments
Please sign in to leave a comment.