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

http content is being blocked by the browser #8

Open
goodmami opened this issue Feb 3, 2022 · 4 comments
Open

http content is being blocked by the browser #8

goodmami opened this issue Feb 3, 2022 · 4 comments
Labels

Comments

@goodmami
Copy link
Member

goodmami commented Feb 3, 2022

The demo site is served via https, but the web API requests to parsing servers use http. Modern browsers may block these "mixed content" requests, leading to opaque error messages. The solution is to (a) change the backend server to use https, and (b) switch the URLs here in resources.js.

demo-error

This was reported in delph-in/docs#41.

@goodmami goodmami added the bug label Feb 3, 2022
@goodmami
Copy link
Member Author

goodmami commented Feb 3, 2022

@oepen, this affects the LOGON server, too. Is it possible to serve it over https? (see the linked issue above for more context)

@arademaker
Copy link
Member

What code is serving the API request? Where is it? I suppose it is a pydelphin calling Ace?

@goodmami
Copy link
Member Author

goodmami commented Feb 9, 2022

The code on UW's servers is running bottlenose, although it should be upgraded to use PyDelphin's delphin.web.server module since bottlenose is deprecated. Either way it's PyDelphin wrapping ACE.

The UiO LOGON server is running the LKB's www mode.

@goodmami
Copy link
Member Author

goodmami commented Feb 9, 2022

By the way, the UW servers have switched to https so the problem there is fixed. It's just UiO now.

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

No branches or pull requests

2 participants