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

VIP with Method not allowed 405 #112

Open
eusebiu opened this issue Dec 9, 2024 · 2 comments
Open

VIP with Method not allowed 405 #112

eusebiu opened this issue Dec 9, 2024 · 2 comments

Comments

@eusebiu
Copy link

eusebiu commented Dec 9, 2024

I am trying to use the process documented here Novartis/cellxgene-gateway#96 to pack all three components together but when I try to use VIP, I get Method not allowed 405 HTTP error.

@z5ouyang
Copy link
Collaborator

I am not sure if you can user gateway with VIP since VIP cannot use naive cellxgene. This means you have to install cellxgene through VIP.
I am not sure the 405 error, sounds like the HTTP cannot access the python flask server started by 'cellxgene launch' command

@eusebiu
Copy link
Author

eusebiu commented Jan 23, 2025

I think I found the issue.
The VIPurl in interface.html is loaded after some piece of code that refers to D3. In my case the d3.js was blocked by firewall, and could not be loaded making VIPurl to be ''. Any POST requests to the window url were not allowed.
So, I think you should wrap all dependencies in try - catch blocks and report if they cannot be loaded but let the VIPurl to load normally or move the VIPurl assignment upper in the init method.

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

No branches or pull requests

2 participants