gethomepage / homepage

A highly customizable homepage (or startpage / application dashboard) with Docker and service API integrations.
https://gethomepage.dev
GNU General Public License v3.0
19.95k stars 1.19k forks source link

[Bug] Uptime Kuma has access to dashboard when following link but gives API error #2686

Closed AhzurdanGit closed 10 months ago

AhzurdanGit commented 10 months ago

Description

Config image

Homepage shows: image

when following the link in browser - so I assume it can connect and config is correct. image

Steps to reproduce

Adjust Widget, type in ip:port and slug - immediately shows error

homepage version

v0.8.4 (32f28d3, 27. Dez. 2023)

Installation method

Docker

Configuration

- Uptime Kuma:
        icon: uptime-kuma
        href: "http://uptimekuma.domain.local:3001/dashboard"
        description: internal
        widget:
          type: uptimekuma
          url: "uptimekuma.domain.local:3001"
          slug: "homestatus"

.. same when using just IP instead of DNS name

Container Logs

No response

Browser Logs

No response

Troubleshooting

n/a

Other

No response

Before submitting, I have made sure to

shamoon commented 10 months ago

Don’t assume anything, please use the troubleshooting guide. I just tested this days ago and it’s working fine so I would be surprised if it’s suddenly broken

AhzurdanGit commented 10 months ago

[2024-01-19T14:44:05.147Z] error: Error calling uptimekuma.domain.local://3001/api/status-page/homestatus... [2024-01-19T14:44:05.147Z] error: AssertionError [ERR_ASSERTION]: protocol mismatch at Object.request (/app/node_modules/.pnpm/follow-redirects@1.15.2/node_modules/follow-redirects/index.js:521:14) at /app/.next/server/chunks/4851.js:107:31 at new Promise () at handleRequest (/app/.next/server/chunks/4851.js:99:10) at httpRequest (/app/.next/server/chunks/4851.js:152:10) at httpProxy (/app/.next/server/chunks/4851.js:166:15) at genericProxyHandler (/app/.next/server/pages/api/services/proxy.js:746:118) at async Object.apiResolver (/app/node_modules/.pnpm/next@12.3.4_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/api-utils/node.js:366:9) at async NextNodeServer.runApi (/app/node_modules/.pnpm/next@12.3.4_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/next-server.js:481:9) at async Object.fn (/app/node_modules/.pnpm/next@12.3.4_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/next-server.js:741:37) [2024-01-19T14:44:05.149Z] error: Error calling uptimekuma.domain.local://3001/api/status-page/heartbeat/homestatus...

Any clue what this is then?

AhzurdanGit commented 10 months ago

nevermind... needs http:// in front of the url....

github-actions[bot] commented 9 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.