Deployed application full logs not displaying properly - missing real-time logs for application actions
To Reproduce
- Deploy any application using Dokploy (GitHub, Docker, or any source type)
- Wait for deployment to complete successfully
- Navigate to the application's "Logs" tab in the Dokploy dashboard
- Observe that the logs section shows logs till only the application deployed successfully
- Try to access the application - logs still don't appear
Current vs. Expected behavior
Current Behavior:
- Deployed applications run successfully but logs are not visible in the Dokploy UI
- Logs tab shows till only the application deploy successfull
- No real-time log streaming occurs when accessing the application
- Users cannot monitor application behavior or debug issues through the UI
Expected Behavior:
- Logs should display in real-time showing all application actions and output
- Logs should stream live updates as the application processes requests
- Users should be able to monitor application health and debug issues
Provide environment information
0.25.1
Which area(s) are affected? (Select all that apply)
Application, Docker
Are you deploying the applications where Dokploy is installed or on a remote server?
Both
Additional context
No response
Will you send a PR to fix it?
Maybe, need help
Hey!
I had the exact same issue ! No logs showing up and deployments failing silently. Super frustrating when you know it worked before on another instance.
In my case, the problem was my Nginx configuration. I was using Nginx as a reverse proxy in front of Dokploy with just a basic proxy_pass, and that completely breaks the WebSocket connection that Dokploy uses to stream logs in real-time.
Here's what fixed it for me:
server {
listen 80;
server_name your-dokploy-domain.com;
location / {
proxy_pass http://localhost:3000;
# These are CRITICAL for WebSocket (logs streaming)
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Standard headers
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# Important for keeping the connection alive
proxy_read_timeout 86400;
proxy_buffering off;
proxy_cache_bypass $http_upgrade;
}
}
After applying this config and reloading Nginx , everything started working immediately - logs appeared and deployments succeeded.
To check if this is your issue, open your browser DevTools (F12) → Network tab → filter by "WS" (WebSocket). If you see a WebSocket connection with 0 bytes transferred, that's the problem.
Are you using Nginx or another reverse proxy in front of Dokploy? If so, this might be your solution too!
Let me know if this helps or if you need the full config! 🙂
you were using a external proxy for this issue? @Harikrishnan1367709
you were using a external proxy for this issue? @Harikrishnan1367709
No @Siumauricio ,I am not using any external proxy
Feel free to add a minimal reproduce @Harikrishnan1367709
Closed due to inactivity