delph-in / delphin-viz

JavaScript visualizations of various DELPH-IN structures.

Home Page:http://delph-in.github.io/delphin-viz/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http content is being blocked by the browser

goodmami opened this issue · comments

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.

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

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

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.

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