higlass / higlass-docker

Builds a docker container wrapping higlass-server and higlass-client in nginx
MIT License
32 stars 14 forks source link

Blank data page #138

Closed dborgesr closed 7 years ago

dborgesr commented 7 years ago

Hello, I just tried pulling the Docker image and running it on a server, unfortunately when i go to use it from that server all I see is a blank page with no data ex:

screen shot 2017-03-24 at 9 36 57 am

Any idea what could be causing this?

--Thank you

PanosFirmpas commented 7 years ago

We are getting exactly the same and we have no idea where to go from there...

I took a screenshot with the console open, just in case it helps!

screenshot from 2017-09-11 15-05-45

pkerpedjiev commented 7 years ago

Did you run the docker container with the SITE_URL parameter set? There is a note in the documentation about that here:

https://github.com/hms-dbmi/higlass/wiki#running-locally

It looks like you're trying to access it from bioinformatia.upo.es. The Django application running the docker container will block requests from an unknown domain. If you've set that parameter, could you post the command that you used to run the container?

PanosFirmpas commented 7 years ago

Thanks that did the trick !

One more thing, if you could help: Can we use more than one IP in there? or maybe plug it somewhere else?

We have a public and a local IP and we would ideally like it available in both without running two instances

pkerpedjiev commented 7 years ago

Unfortunately, right now that isn't possible. If you want, you can add an issue to https://github.com/hms-dbmi/higlass-server/.

In case you're interested, the piece of code that's responsible for setting the allowed hosts is here:

https://github.com/hms-dbmi/higlass-server/blob/a8ef72b6feff4404e93ae4b34590a73c7afb8ac3/higlass_server/settings.py#L79

I'm a little curious though, why would you have a public and private IP if they both point to the same instance? Can't you always just use the public IP to access it?

PanosFirmpas commented 7 years ago

Thanks again for the help !

In the end, it looks like I spoke too soon,
I thought our public IP is not locally available (I remember struggling with something in the past ), but I was wrong, the IP is available and Higlass works fine now ! :)

pkerpedjiev commented 7 years ago

Great! Glad to hear that.