You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempt to connect to a non-existing realm using the Thruway client library, I see the following log trace:
2019-05-14T10:36:20.9300870 info [Thruway\Transport\PawlTransportProvider 36156] Starting Transport
2019-05-14T10:36:21.2260120 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has connected
2019-05-14T10:36:21.2487250 debug [Thruway\Transport\PawlTransportProvider 36156] Received: [3,{"message":"no realm "prod" exists on this router"},"wamp.error.no_such_realm"]
2019-05-14T10:36:21.2501640 debug [Thruway\Peer\Client 36156] Client onMessage: [Thruway\Message\AbortMessage]
2019-05-14T10:36:21.2503830 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has closed
2019-05-14T10:36:22.7513470 info [Thruway\Transport\PawlTransportProvider 36156] Starting Transport
2019-05-14T10:36:22.9722290 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has connected
2019-05-14T10:36:22.9761750 debug [Thruway\Transport\PawlTransportProvider 36156] Received: [3,{"message":"no realm "prod" exists on this router"},"wamp.error.no_such_realm"]
2019-05-14T10:36:22.9763120 debug [Thruway\Peer\Client 36156] Client onMessage: [Thruway\Message\AbortMessage]
2019-05-14T10:36:22.9764230 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has closed
....
And this goes on and on (retying). Is this the desired/expected behaviour? With a 'no_such_realm' error from the router, wouldn't it be more appropriate to throw an exception rather than retrying?
The text was updated successfully, but these errors were encountered:
When I attempt to connect to a non-existing realm using the Thruway client library, I see the following log trace:
2019-05-14T10:36:20.9300870 info [Thruway\Transport\PawlTransportProvider 36156] Starting Transport
2019-05-14T10:36:21.2260120 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has connected
2019-05-14T10:36:21.2487250 debug [Thruway\Transport\PawlTransportProvider 36156] Received: [3,{"message":"no realm "prod" exists on this router"},"wamp.error.no_such_realm"]
2019-05-14T10:36:21.2501640 debug [Thruway\Peer\Client 36156] Client onMessage: [Thruway\Message\AbortMessage]
2019-05-14T10:36:21.2503830 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has closed
2019-05-14T10:36:22.7513470 info [Thruway\Transport\PawlTransportProvider 36156] Starting Transport
2019-05-14T10:36:22.9722290 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has connected
2019-05-14T10:36:22.9761750 debug [Thruway\Transport\PawlTransportProvider 36156] Received: [3,{"message":"no realm "prod" exists on this router"},"wamp.error.no_such_realm"]
2019-05-14T10:36:22.9763120 debug [Thruway\Peer\Client 36156] Client onMessage: [Thruway\Message\AbortMessage]
2019-05-14T10:36:22.9764230 info [Thruway\Transport\PawlTransportProvider 36156] Pawl has closed
....
And this goes on and on (retying). Is this the desired/expected behaviour? With a 'no_such_realm' error from the router, wouldn't it be more appropriate to throw an exception rather than retrying?
The text was updated successfully, but these errors were encountered: