Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 response #85

Closed
BrunoLiegiBastonLiegi opened this issue Oct 31, 2024 · 5 comments · Fixed by #86
Closed

404 response #85

BrunoLiegiBastonLiegi opened this issue Oct 31, 2024 · 5 comments · Fixed by #86
Assignees

Comments

@BrunoLiegiBastonLiegi
Copy link
Contributor

BrunoLiegiBastonLiegi commented Oct 31, 2024

This

import qibo
import qibo_client
import os

circuit = qibo.models.QFT(5)
token = os.environ.get("QIBO_CLIENT_TOKEN")
client = qibo_client.Client(token)
device = "k2"
job = client.run_circuit(circuit, nshots=1000, device=device)
result = job.result()
print(result)

is returning me a 404 response and, indeed, the job neither appears in the dashboard.

@scarrazza
Copy link
Member

I confirm the issue not only for this circuit for almost all setups. @marcorossi5 could you please check?

@marcorossi5
Copy link
Contributor

Only 404? No other logs?

@scarrazza
Copy link
Member

@marcorossi5 could you please try yourself? This is blocking the transpiler development from other people.

@marcorossi5
Copy link
Contributor

The client apis call the old /client/ endpoints. The webapp expects /api/ ones.

Just replace it everywhere in the meantime, if you can. I'll be off until tonight

@marcorossi5
Copy link
Contributor

I fixed the issue in PR #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants