Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Scirius - Internal Server Error #45

Open
michaelseto opened this issue Mar 2, 2017 · 14 comments
Open

Scirius - Internal Server Error #45

michaelseto opened this issue Mar 2, 2017 · 14 comments

Comments

@michaelseto
Copy link

I am running the Scirius container and added ports 8000:8000 to the compose file. The container is running, and I have configured nginx to forward requests on port 8001 to 8000. I go to the web browser and do http://my_url:8001 - it returns 'Internal Server Error'

@michaelseto
Copy link
Author

The reason why I added the ports section to docker-compose for Scirius is because I noticed after the container started, it doesn't say it's listening on any ports.

@michaelseto
Copy link
Author

Anything to try?

@regit
Copy link
Member

regit commented Mar 8, 2017

I don't understand what you are trying to achieve. Scirius/gunicorn is local only and should be contacted via nginx. Also due to authentication, you may really want to https.

@austin-taylor
Copy link
Contributor

Also receiving this error with a fresh ubuntu installation following the instructions in the readme.

@austin-taylor
Copy link
Contributor

I'm using Ubuntu 16.04.2 LTS and I notice the docker container is using python3 could that be causing the issue?

@pevma
Copy link
Member

pevma commented Mar 28, 2017

Might be.
Can you confirm with python 2.(7)x ?

@austin-taylor
Copy link
Contributor

How can I start the container using Python2?

@austin-taylor
Copy link
Contributor

austin-taylor commented Mar 28, 2017

Also, each service appears to have it's own host inside the docker container? Is this expected behavior? For example: evebox_1 | 2017-03-28 20:37:30 (server.go:189) <Error> -- Failed to ping Elastic Search: : Get http://elasticsearch:9200/: dial tcp <docker ip>:9200: getsockopt: connection refused Should we replace elasticsearch with localhost?

@regit
Copy link
Member

regit commented Mar 28, 2017

Hi @austin-taylor , evebox is starting too fast compared to Elasticsearch so it detect Elasticsearch as dead when starting. But it will try to reconnect and when ES will be up it will succeed to get data from it.

@regit
Copy link
Member

regit commented Mar 28, 2017

@austin-taylor On the error 500 you may face this problem: #42

@austin-taylor
Copy link
Contributor

Spot on @regit Thank you for the quick reply!

Might be worth adding that to the README or put it in the config with a comment. Happy to submit a PR 👍

@pevma
Copy link
Member

pevma commented Apr 3, 2017

@austin-taylor you are welcome to submit a PR :).
Thanks for the help

@michaelseto
Copy link
Author

@regit It isn't clear what I am trying to achieve? I am trying to achieve accessing Scirius from a web browser - which I am having problems doing. Is the Scirius GUI not supposed to be accessed in this solution?

@austin-taylor
Copy link
Contributor

Will submit a PR to resolve. Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants