Error connecting: SocketException: OS Error: Connection refused
Closed this issue · 1 comments
Desription
When trying to sign a transaction, I am getting this error :
/flutter ( 3753): gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: OS Error: Connection refused, errno = 111, address = api.devtestnet.pylons.tech, port = 60770, details: null, rawResponse: null, trailers: {})
I/flutter ( 3753):
I/flutter ( 3753): AlanTransactionSigningFailure{cause: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: OS Error: Connection refused, errno = 111, address = api.devtestnet.pylons.tech, port = 60770, details: null, rawResponse: null, trailers: {})}
I/flutter ( 3753): AlanTransactionSigningFailure{cause: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: OS Error: Connection refused, errno = 111, address = api.devtestnet.pylons.tech, port = 60770, details: null, rawResponse: null, trailers: {})}
I am inclined to think that the problem is in the file :
and that it probably needs to serialize the port information as well, as it seems that AllanSigner is using it somehow and it defaults to 9090 if not found. But this is my assumption.
To Reproduce
Steps to reproduce the behavior:
- Use a grpc port different from 9090, the error will likely reproduce.
Expected behavior
- Exception reported above.
Hey @andraderaf , thanks for pointing this out! this should be fixed with #104