[Help Wanted] Not Found displayed when connecting to host:3125 for self hosting/docker
Describe the issue
When I start up Standard Note following the instructions described here https://standardnotes.com/help/self-hosting/docker I see a verification message with http://
To Reproduce Steps to reproduce the behavior:
- Install per the instructions at https://standardnotes.com/help/self-hosting/docker - using the changes as described below
- Go to the appropriate folder and "docker compose up -d
- Connect to http://
:3001 receive "Welcome to the Standard Notes server infrastructure. Learn more at https://docs.standardnotes.com" - Connect to http://
:3125 receive "Not Found" in browser
Expected behavior everything works
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Debian 11
- Browser All
- Version All
Additional context Docker version 28.0.1
Errors from tail -f ==> logs/api-gateway.err <== localhost ([::1]:3103) open localhost ([::1]:3104) open localhost ([::1]:3105) open localhost ([::1]:3101) open [ioredis] Unhandled error event: Error: connect ECONNREFUSED 172.21.0.4:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
==> logs/auth.err <== localhost ([::1]:3101) open [ioredis] Unhandled error event: Error: connect ECONNREFUSED 172.21.0.4:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
==> logs/auth-worker.err <== localhost ([::1]:3103) open [ioredis] Unhandled error event: Error: connect ECONNREFUSED 172.21.0.4:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
==> logs/files.err <== 192.168.0.15 (192.168.0.15:3306) open cache (172.21.0.4:6379) open [ioredis] Unhandled error event: Error: connect ECONNREFUSED 172.21.0.4:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
==> logs/files-worker.err <== localhost ([::1]:3101) open [ioredis] Unhandled error event: Error: connect ECONNREFUSED 172.21.0.4:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
==> logs/revisions.err <== localhost ([::1]:3101) open
==> logs/revisions-worker.err <== localhost ([::1]:3101) open
==> logs/syncing-server.err <== 192.168.0.15 (192.168.0.15:3306) open cache (172.21.0.4:6379) open [ioredis] Unhandled error event: Error: connect ECONNREFUSED 172.21.0.4:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
==> logs/syncing-server-worker.err <== localhost ([::1]:3101) open [ioredis] Unhandled error event: Error: connect ECONNREFUSED 172.21.0.4:6379 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
<.env>
DB
DB_HOST=<lan IP>
DB_PORT=3306
DB_USERNAME=
#########
CACHE
#########
REDIS_PORT=6379 REDIS_HOST=cache CACHE_TYPE=redis
########
KEYS
########
AUTH_JWT_SECRET=
<docker-compose.yml> services: server: image: standardnotes/server env_file: .env container_name: server_self_hosted restart: unless-stopped ports: - 3001:3000 - 3125:3104 volumes: - ./logs:/var/lib/server/logs - ./uploads:/opt/server/packages/files/dist/uploads networks: - standardnotes_self_hosted
localstack: image: localstack/localstack:3.0 container_name: localstack_self_hosted expose: - 4566 restart: unless-stopped environment: - SERVICES=sns,sqs - HOSTNAME_EXTERNAL=localstack - LS_LOG=warn volumes: - ./localstack_bootstrap.sh:/etc/localstack/init/ready.d/localstack_bootstrap.sh networks: - standardnotes_self_hosted
cache: image: redis:6.0-alpine container_name: cache_self_hosted volumes: - ./data/redis/:/data expose: - 6379 restart: unless-stopped networks: - standardnotes_self_hosted
networks: standardnotes_self_hosted: name: standardnotes_self_hosted
Any luck? I'm running into the same issue.
Any luck? I'm running into the same issue.
Nothing. No response here. I even deleted everything, re-cloned and redid all the settings again. Same issue
same here
I got the same issue. The problem is the documentation, which it's a bit confusing. In the self-hosting page, it shows an <IP_ADDRESS>:3125 at the end, which points to the files server. You shouldn't access the file server directly, as it will return you the Not Found error.
When configuring the custom server in the app, use the API gateway (3000 port).
After accessing to the right service, I got an infinite authentication loop. The reason is an undocumented and required environment variable called COOKIE_DOMAIN. Here you have the response with the solution.
I got the same issue. The problem is the documentation, which it's a bit confusing. In the self-hosting page, it shows an <IP_ADDRESS>:3125 at the end, which points to the files server. You shouldn't access the file server directly, as it will return you the
Not Founderror.When configuring the custom server in the app, use the API gateway (3000 port).
After accessing to the right service, I got an infinite authentication loop. The reason is an undocumented and required environment variable called COOKIE_DOMAIN. Here you have the response with the solution.
This worked for me, thank you