Replies: 2 comments 11 replies
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ Based on the error message you're receiving and the container logs, it seems that there is an issue with the protocol being used to connect to your Omada controller. The error Here are a few steps you can take to troubleshoot this issue:
Remember to replace any sensitive information such as usernames and passwords with placeholders when sharing your configuration for troubleshooting. If you need further assistance, please provide additional details about your setup, including whether your Omada controller is configured to use HTTPS and if you have a valid SSL certificate installed. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
Widget url needs to have |
Beta Was this translation helpful? Give feedback.
-
Description
Hi there, I added my omada controller info but it's giving the following error.
API Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
homepage version
v0.8.13 (986a181, May 6, 2024)
Installation method
Docker
Configuration
Container Logs
[2024-05-07T22:57:54.052Z] error: Error calling http://192.168.0.11/fb6be238b74fc2aa4c40a7b44f7d5ea2/api/v2/login...
[2024-05-07T22:57:54.054Z] error: undefined
[2024-05-07T22:57:54.053Z] error: [
500,
Error [ERR_FR_REDIRECTION_FAILURE]: Redirected request failed: Protocol "https:" not supported. Expected "http:"
at RedirectableRequest._onNativeResponse (/app/node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js:95:17)
at Object.onceWrapper (node:events:632:26)
... 2 lines matching cause stack trace ...
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at Socket.socketOnData (node:_http_client:541:22)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Readable.push (node:internal/streams/readable:278:10) {
cause: TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
at new NodeError (node:internal/errors:405:5)
at new ClientRequest (node:_http_client:188:11)
at Object.request (node:https:366:10)
at RedirectableRequest._performRequest (/app/node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js:326:24)
at RedirectableRequest._processResponse (/app/node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js:483:8)
at RedirectableRequest._onNativeResponse (/app/node_modules/.pnpm/follow-redirects@1.15.6/node_modules/follow-redirects/index.js:91:12)
at Object.onceWrapper (node:events:632:26)
at ClientRequest.emit (node:events:517:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:700:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) {
code: 'ERR_INVALID_PROTOCOL'
},
code: 'ERR_FR_REDIRECTION_FAILURE'
}
]
Browser Logs
No response
Troubleshooting
tried adding http/https
Beta Was this translation helpful? Give feedback.
All reactions