delph-in / delphin-viz

JavaScript visualizations of various DELPH-IN structures.
http://delph-in.github.io/delphin-viz/demo/
MIT License
15 stars 4 forks source link

http content is being blocked by the browser #8

Open goodmami opened 2 years ago

goodmami commented 2 years ago

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 commented 2 years ago

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

arademaker commented 2 years ago

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

goodmami commented 2 years ago

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 commented 2 years ago

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