Page 1 of 1

Linux web client does not show team information

Posted: Wed May 22, 2019 9:26 am
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?

Re: Linux web client does not show team information

Posted: Thu May 23, 2019 12:05 am
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.