-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to list deployments #6
Comments
@machristie I think I found the problem. The schema is listing endpoints incorrectly: https://launch.usegalaxy.org/cloudlaunch/api/v1/schema/ |
That's odd because it works for me. I wonder if this is due to the authentication issue. Did you configure your API token? I tried with an invalid API token but I get an Invalid token error, not your error. That error message you are getting makes me think that there is no pagination: |
You might try the following in the code to get more details on what is going over the wire:
|
This is an extract from https://launch.usegalaxy.org/cloudlaunch/api/v1/schema/:
Shouldn't it be:
This is the full extract:
|
I ran this through a debugger, and the request is going to: |
Oh I see. I was just testing locally. |
This is an issue for launch.usegalaxy.org because its nginx config proxies This is a known issue with DRF coreapi schema, see issue 5788. The supported way to resolve this is to supply the base URL to the I discussed this with @nuwang and we decided it makes sense to define this in settings.py based on an environment variable. I think I'll create a separate issue in cloudlaunch since that is where it needs to be fixed. |
Description
Trying to list deployments using the cli client results in an exception.
What I Did
The text was updated successfully, but these errors were encountered: