notea icon indicating copy to clipboard operation
notea copied to clipboard

ECONNREFUSED error, minIO

Open GrimIcarus opened this issue 2 years ago • 1 comments

I get { name: 'Error', message: 'connect ECONNREFUSED 172.19.0.2:1611', status: 500, stack: 'Error: connect ECONNREFUSED 172.19.0.2:1611\n' + at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1146:16)' } Invalid href passed to next/router: //github.com/qingwei-li/notea, repeated forward-slashes (//) or backslashes \ are not valid in the href in my logs and [failed to load tree] in the UI

i used portainer so I didn't have a Docker Compose but here's my configuration (notea) port: 1613:3000 .env

STORE_ACCESS_KEY=[redactedak] STORE_SECRET_KEY=[redactedsk] STORE_END_POINT=http://minio:1611 STORE_BUCKET=notea STORE_FORCE_PATH_STYLE=true PASSWORD=[redactedpswd] COOKIE_SECURE=false

(minio) port 1612:1612, 1611:9000 command: server /data --console-address ":1612"

a bucket named notea exists, so does a user with the access and secret key credentials

GrimIcarus avatar Oct 06 '21 05:10 GrimIcarus

i faced that exact problem and solved it by using external IP for addressing minio in STORE_END_POINT.

Pezhvak avatar Oct 19 '21 22:10 Pezhvak