I came across the error below in qiskit. Could anyone explain what goes wrong and how to fix it?
qiskit.providers.ibmq.api.exceptions.WebsocketError: 'Max retries exceeded: Failed to establish a websocket connection.
I came across the error below in qiskit. Could anyone explain what goes wrong and how to fix it?
qiskit.providers.ibmq.api.exceptions.WebsocketError: 'Max retries exceeded: Failed to establish a websocket connection.
It seems to be an issue from the IBM side as service provider. The explanation is that websocket connection closes every now and then due to inactivity when runtime job is in pending state for long time.
You may try solving it by increasing the number of retries in this file:
path-to-your-qiskit/lib/python3.9/site-packages/qiskit/providers/ibmq/api/session.py