Linux web client does not show team information

Moderators: Site Moderators, FAHC Science Team

Post Reply
sylverstream
Posts: 4
Joined: Mon May 20, 2019 7:06 am

Linux web client does not show team information

Post by sylverstream »

I'm running the FAH software on a headless Ubuntu 16 server. When I access the web interface from another machine, it loads mostly fine, however the top right and top left corner keeps saying "Loading". When I check in the F12 dev tools, I see this error:

The script from “http://folding.stanford.edu/project-jso ... sion=7.4.4” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More]
SyntaxError: expected expression, got '<'

The problem is, the web interface runs on port 7396, and above URL does not include the port number.
Is this a bug in the software?
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Linux web client does not show team information

Post by bruce »

There must be a problem with that setup. Maybe there is some sort of proxy or a weird browser. When I load that address it has the correct ``Content-Type`` header with value ``application/javascript``. The port used by the page is on does not matter. Whatever software you are using that thinks the port number of the source page matters is wrong.
Post Reply