mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
[Bug]: getaddrinfo ENOTFOUND base #616
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rowanfuchs on GitHub (Dec 11, 2024).
Where is the problem occurring?
I encountered the problem while interacting with the server (Backend)
What browsers are you seeing the problem on?
Brave
Current behaviour
Desired behaviour
No response
Steps to reproduce
I am using docker compose within portainer to setup planka, i've tried several
BASE_URL's but I can't seem to get it to work properlyurls tried:
http://192.168.2.100:3020
http://192.168.2.100:1337
http://localhost:3020
http://0.0.0.0:3020
I'm not using a proxy, I try to access
http://192.168.2.100:3020but I get the browser errorERR_CONNECTION_REFUSEDwith the log mentioned prior within docker.Other information
my hosts is configured as following
dns
nucdoesn't resolve to this device as i never set that up other than the static ip192.168.2.100@meltyshev commented on GitHub (Dec 11, 2024):
Hi!
Usually the
getaddrinfoerror isn't related toBASE_URL, asBASE_URLisn’t used for making connections. In your case, it could be related toDATABASE_URL, since there aren’t any other settings in your compose file that relate to startup connections.Additionally, I noticed that your
DATABASE_URLis incorrectly specified, the protocol should always bepostgresqland the host should beplanka_postgresin your case. The corrected version:DATABASE_URL=postgresql://postgres@planka_postgres/planka, this seems to be the issue.@rowanfuchs commented on GitHub (Dec 11, 2024):
Thank you very much for taking the time to correct my mistake, this was indeed the issue and changing the postgres url resolved the issue.