azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
2.97k stars 105 forks source link

[BUG]: Discourse ServApp - Proxy Response Discourse Error #191

Closed rjrmills closed 4 months ago

rjrmills commented 4 months ago

What happened?

Fresh standalone Cosmos install on Debian 12 LXC. Discourse ServApp not connecting due to: { "id": "65c8088013607bf106592566", "label": "Proxy Response Discourse error", "application": "Cosmos", "eventId": "cosmos.proxy.response.Discourse.error", "date": "2024-02-10T23:36:22.208Z", "level": "warning", "data": { "bytes": 0, "clientID": "::1", "method": "GET", "route": "Discourse", "status": 502, "time": 0.000058239, "url": "/assets/workbox-84721eb2561c34fa8575f276d429c215/workbox-expiration.prod.js" }, "object": "route@Discourse" }

What should have happened?

Can not connect to front end due to internal proxy error

How to reproduce the bug?

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Relevant log output

{
  "id": "65c8088013607bf106592566",
  "label": "Proxy Response Discourse error",
  "application": "Cosmos",
  "eventId": "cosmos.proxy.response.Discourse.error",
  "date": "2024-02-10T23:36:22.208Z",
  "level": "warning",
  "data": {
    "bytes": 0,
    "clientID": "::1",
    "method": "GET",
    "route": "Discourse",
    "status": 502,
    "time": 0.000058239,
    "url": "/assets/workbox-84721eb2561c34fa8575f276d429c215/workbox-expiration.prod.js"
  },
  "object": "route@Discourse"
}

Other details

No response

System details

azukaar commented 4 months ago

The Discourse server takes a long time to start, wait for it to complete initialization