louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
58.11k stars 5.24k forks source link

Dashboard not Loading when Hosted on Azure App Services #1403

Closed obrian96 closed 2 years ago

obrian96 commented 2 years ago

⚠️ Please verify that this bug has NOT been raised before.

🛡️ Security Policy

📝 Describe your problem

I have hosted uptime Kuma on azure app services but sadly the dashboard is throwing an error below

"Cannot connect to the socket server. [Error: websocket error] Reconnecting..." and the console in the browser " Failed to connect to the backend. Socket.io connect_error: websocket error"

but the StatusPage is Working Fine

🐻 Uptime-Kuma Version

latest

💻 Operating System and Arch

windows 10

🌐 Browser

Version 99.0.4844.82

🐋 Docker Version

No response

🟩 NodeJS Version

16

louislam commented 2 years ago

Usually due to the reverse proxy of WebSocket.

Explanation: https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy

sanderdam commented 2 years ago

Websockets are an optional feature of Azure App Services. You should enable it in the configuration section of the Azure App Service.

github-actions[bot] commented 2 years ago

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 2 days with no activity.