Comments (9)
I ran into this as well. It looks like this is related to traefik 2.11.1, and has possibly been fixed in 2.11.2. For now I've reverted to traefik 2.11.0 and it seems to solve the issue (the official docker image for 2.11.2 is not available yet)
traefik/traefik#10598
from dockge.
I also use traefik and I ran into a similar problem. When I access the dockge page via the reverse proxy, the page constantly reloads and shows the same error. When I don't go through the revers proxy everything works fine. The funny thing is that I had all of this running without issues before. But after I reinstalled my system it somehow broke. I copy pasted everything from the old install, so there is no reason why it suddenly shouldn't work anymore.
from dockge.
Same here,
Here's log from console
2024-04-11T11:27:03Z [SERVER] INFO: Socket connected (direct)
2024-04-11T11:27:03Z [AUTH] INFO: Login by token. IP=172.18.0.5
2024-04-11T11:27:03Z [AUTH] INFO: Username from JWT: kdpuvvadi
2024-04-11T11:27:03Z [AUTH] INFO: Successfully logged in user kdpuvvadi. IP=172.18.0.5
2024-04-11T11:27:03Z [AGENT-MANAGER] INFO: Connecting to all instance socket server(s)...
2024-04-11T11:27:03Z [AGENT-MANAGER] INFO: Connecting to the socket server: 10.20.20.138:5001
2024-04-11T11:27:03Z [AGENT-MANAGER] INFO: Connected to the socket server: 10.20.20.138:5001
2024-04-11T11:27:03Z [AGENT-MANAGER] INFO: Logged in to the socket server: 10.20.20.138:5001
2024-04-11T11:27:05Z [SERVER] INFO: Socket disconnected!
2024-04-11T11:27:05Z [AGENT-MANAGER] INFO: Disconnected from the socket server: 10.20.20.138:5001
2024-04-11T11:27:06Z [SERVER] INFO: Socket disconnected!
2024-04-11T11:27:06Z [AGENT-MANAGER] INFO: Disconnected from the socket server: 10.20.20.138:5001
2024-04-11T11:27:07Z [AUTH] INFO: Origin is not set, IP: ::ffff:172.18.0.5
Here's message from dom
Connected to the socket server
Logging in by token
{
"ok": true,
"agentList": {
"": {
"url": "",
"username": "",
"endpoint": ""
},
"10.20.20.138:5001": {
"url": "http://10.20.20.138:5001/",
"username": "kdpuvvadi",
"endpoint": "10.20.20.138:5001"
}
}
}
from dockge.
Deleted everything in the data directory including data/db-config.json
and sqlite db file.
It worked for 2 minutes and then same error.
my compose looks like this
---
services:
dockge:
container_name: dockge
image: louislam/dockge:1
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/kd/compose/dockge/data:/app/data
- /home/kd/compose:/home/kd/compose
environment:
- DOCKGE_STACKS_DIR=/home/kd/compose
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.dockge.entrypoints=https"
- "traefik.http.routers.dockge.rule=Host(`dockge.local.puvvadi.net`)"
- "traefik.http.routers.dockge.middlewares=default-headers@file, https-redirectscheme@file"
- "traefik.http.routers.dockge.tls=true"
- "traefik.http.routers.dockge.service=dockge"
- "traefik.http.services.dockge.loadbalancer.server.scheme=http"
- "traefik.http.services.dockge.loadbalancer.server.port=5001"
networks:
proxy:
external: true
from dockge.
thank you. downgrading to version 2.11.0 fixed my issue.
from dockge.
Thanks for the tip, upgrading traefik solved the problem as well !
from dockge.
Unfortunately all above posts relating to Traefik are off topic to the OP. I am not using Traefik, and no solution has yet been proposed.
from dockge.
Same here. I am not using a reverse proxy and Dockge keeps displaying that error message to a point it has become unusable. I cannot edit a single line in a docker-compose.yml and save it, because of the recurring connection error.
from dockge.
Same here. I am not using a reverse proxy and Dockge keeps displaying that error message to a point it has become unusable. I cannot edit a single line in a docker-compose.yml and save it, because of the recurring connection error.
ok I have rebooted everything. Works perfectly right now, so sorry for bothering you... 🤷🏼♂️
from dockge.
Related Issues (20)
- impossible to maximize each part of dockge HOT 1
- Unable to sort stacks by server/agent
- Allowed console commands can be easily bypassed HOT 5
- String escape problem HOT 1
- docker login does not work via GUI HOT 2
- Allow adding remote docker nodes for centralised management HOT 1
- arm64/V8
- cannot run HOT 1
- Connection to remote aggent with reverse proxy in front does not work HOT 4
- Feature: Auto start on request HOT 1
- docker compose 'version' is obsolete
- Improper docker run -> compose conversion for volumes
- This stack is not managed by Dockge HOT 1
- Automatic page refresh wipes all changes
- Compose Volume Failure on subpath HOT 4
- container bash, can't paste HOT 1
- Empty "networks" section added to existing files
- Error [ERR_MODULE_NOT_FOUND] on aarch64
- line numbers is not correct when a line is too long
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockge.