-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Math DB connection issue #1751
Comments
Hey @raulsperoni. Thanks for posting here. I'm a little suspicious that the All that having been said, port 80 would probably not work for the postgres port, since this is the port the HTTP server is exposed on (see Thanks again! |
Hey @metasoarous thanks for your reply! I haven't tried to use 80 for Postgres which is why this error was so odd. In the past, I was able to run polis without issues. I will try again and look into #1749 because being able to use an external Postgres instance (which I can share with other parts of what I'm trying to do) is something I wanted to explore. Thanks! |
Hey @raulsperoni. Sorry for the late reply. I did read your message, but wasn't immediately sure what to say in response. Looking back, I still think it's weird that it's trying to connect on 80, so I'd just suggest tinkering with your configuration files a bit and making sure they're properly loaded. I know different systems come with different constraints around port mapping on the host, so just be on the lookout for other things that are consuming various ports, and ensuring that ports on blocked by the host operating system. However, the fact that the log message in this case is coming from inside a container (rather than from docker itself) probably means that the port being referred to is as it stands inside the network docker-compose puts together to wire up the containers, in which case system level constraints or conflicts shouldn't be an issue, unless it's a config that is being used for both internal and host configuration. Otherwise, I'd say just make sure the database itself is actually running. Those are the things I'd check. Sorry for not having a clearer answer, but continue to post back with status updates if you're still having issues here, and if you figure out what's going on please leave some breadcrumbs here for the next person. Thanks! |
Hey @metasoarous, just now I had time to dive in again. I can confirm that this is the error the math container gives when DATABASE_URL is not correctly set. I don't know why because for me clojure is pretty unreadable 😢 . I could finally solve it and now I have new problems! which is always good. So feel free to close this ticket. Or maybe repurpose it to improve the error message. Thanks for your help! |
Expected behavior:
I'm trying to run the DEV deployment as instructed in the docs but I'm getting this on the math container. Any ideas on why this could be happening are appreciated!
The text was updated successfully, but these errors were encountered: