Configuring a D-Wave System as a Solver Error
I am using Ubuntu 16.04 inside VirtualBox, setting up Ocean SDK and configuring a solver but I get the following error when I try "dwave ping":
Using endpoint: https://cloud/dwavesys.com/sapi
Error: Unexpected error while fetching solver: ConnectionError(MaxRetryError("HTTPSConnectionPool(host='cloud', port=443): Max retries exceeded with url: /dwavesys.com/sapi/solvers/remote/DW_2000Q_5/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f239c4f8990>: Failed to establish a new connection: [Errno -5] No address associated with hostname',))",),) (code: 5)
I am using the following instructions:
https://docs.ocean.dwavesys.com/en/stable/overview/sapi.html
When I initially created the config file with "dwave config create" I used the Solver API endpoint and API Token from the Leap dashboard, but for the Solver I typed {"qpu": true, "vfyc": true}, which is on the instructions. This gave a separate error so I changed the solver to DW_2000Q_5, but now I cannot establish a new connection.
Comments
I think the issue is with your API endpoint. Try https://cloud.dwavesys.com/sapi ("." between "cloud" and "dwavesys" instead of "/")
Yes, that worked! Thank you very much!
Please sign in to leave a comment.