Replies: 13 comments 4 replies
-
Please complete the issue template with all steps including the troubleshooting steps etc From the template:
|
Beta Was this translation helpful? Give feedback.
-
troubleshooting steps (best I was able to attempt)
|
Beta Was this translation helpful? Give feedback.
-
Thanks. Importantly: did you run those queries from inside the homepage container? |
Beta Was this translation helpful? Give feedback.
-
I dont have an Omada device to test with, the logic should be:
POST with credentials to that would return a token and finally this is sent to I realize this is not trivial to construct the cURL requests but I am not aware of any issues with the widget and the vast majority of the time issues like this are somewhere in your setup i.e. networking, authentication etc. and not a bug here. The only real way to know is to re-create the logic of the widget and see if / where things go wrong. If you can provide API output (again, from inside the homepage container) for the above and they all look normal then I can try to see if theres a real bug here. |
Beta Was this translation helpful? Give feedback.
-
so, ignore any ignorance of mine, but I'm still not perfect with docker yet. Generally, doing anything from within the container, I use the console on Portainer, which I can't do with Homepage (as it doesn't allow me use of the console) I have run the curl commands from the server running the container: checking the URL via browser returns: {"errorCode":-1600,"msg":"Unsupported request path."} So either way I'm not receiving any token. Granted, I may be missing something in between at the moment. You let me know what else I can do and I'm ready. Also, thank you in advance |
Beta Was this translation helpful? Give feedback.
-
so running the commands from inside the container (curl {url}/{ciID}/api/v2/login) presents the same response: when run as http:// - returns an empty prompt |
Beta Was this translation helpful? Give feedback.
-
Came across this thread as having a similar issue setting up QNap but do have a working Omada setup. Just took a look and mine is pretty basic
I used https:// + did not include any sort of port number/no web ui port. |
Beta Was this translation helpful? Give feedback.
-
@spezzuti make sure you put |
Beta Was this translation helpful? Give feedback.
-
I just had this error and troubleshooted for 3 hours to find out it is something with my password that was causing the issue as that singular password will cause Omada to return the API error. I have now changed the password so the password was |
Beta Was this translation helpful? Give feedback.
-
i have the exactly same issue like the original poster with exactly the same error message. |
Beta Was this translation helpful? Give feedback.
-
Having similar issues with the widget using OC200 |
Beta Was this translation helpful? Give feedback.
-
I've read countless posts about the Omada Controller with Traefik reverse proxy and Homepage. I didn't really find help in those posts, but I did manage to cobble together a configuration that's working for me via Docker Compose and Dockge... Maybe I'm the help. :) One note: for the initial login, visit https://docker-host-ip:8043. Accept the certificate error. Change your controller settings to NOT redirect HTTP to HTTPS. Then it'll allow Traefik and Homepage both to connect and work via http on 8088. And thus, you can access it via Traefik with working https -AND- have a nifty Homepage widget.
|
Beta Was this translation helpful? Give feedback.
-
I had the same issue as a poster above where I had a password with a lot of special characters. Something similar to IO*U6tr&^%r867&%$^%. What fixed it for me was putting single quotes around my password. After reading the post I think sometimes somehow homepage/omada fail to authenticate somehow but putting password in single quotes fixed it for me.
TLDR; Put password in single quotes. Fixed it for me. |
Beta Was this translation helpful? Give feedback.
-
Description
Currently attempting to add Omada widget. API address works as expected in browser, verified login credentials, etc. However, when setting up widget, getting API error:
API Error: Unexpected token 'I', "Internal S"... is not valid JSON
Unsure what is causing this
Steps to reproduce
homepage version
v0.6.20 6046f79
Installation method
Docker
Configuration
No response
Container Logs
No response
Browser Logs
No response
Troubleshooting
n/a
Other
No response
Before submitting, I have made sure to
Beta Was this translation helpful? Give feedback.
All reactions