We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f504a14 commit 62c304eCopy full SHA for 62c304e
test/functional/test_framework/test_node.py
@@ -187,7 +187,9 @@ def wait_for_rpc_connection(self):
187
if e.errno != errno.ECONNREFUSED: # Port not yet open?
188
raise # unknown IO error
189
except JSONRPCException as e: # Initialization phase
190
- if e.error['code'] != -28: # RPC in warmup?
+ # -28 RPC in warmup
191
+ # -342 Service unavailable, RPC server started but is shutting down due to error
192
+ if e.error['code'] != -28 and e.error['code'] != -342:
193
raise # unknown JSON RPC exception
194
except ValueError as e: # cookie file not found and no rpcuser or rpcassword. bitcoind still starting
195
if "No RPC credentials" not in str(e):
0 commit comments