-
Controller VersionLatest Describe Your Issue or QuestionI have a raspberry pi 4 with mbently docker controller that has been working for months fine until I changed the router. It now won't connect to the omada app and says failed. I see random offline online messages from the app. It was working before on my previous router. Locally when trying to connect to via a browser, the login page always loads but logging in often gives a network error but eventually allows me to log in. The only thing worth mentioning on my previous router was that it was on a different subnet as my edgerouter had 2 ports on a different physical internal switch. However I changed the ip configuration in the pi to the correct settings for the new router. The pi has internet in browsers etc. I am stumped as to what could cause this. Do I need to forward ports on the router for the controller to work with the app? Expected BehaviorThe app to connect to the controller Steps to ReproduceTurn on the pi. How You're Launching the Container
Container Logs
Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No, the app doesn't require any port forwarding. My understanding is that It works by establishing an connection from the controller out to the TP-Link servers and it keeps that connection open with their service. You should be able to check out to the logs of the controller to see if it is successfully connecting to the cloud service. If you need to force it to re-initiate the connection you can restart the container. Just a warning to make sure you're taking care to do so - make sure to specify a timeout longer than the default docker stop/restart timeout if you're just natively running the container with docker run commands instead of a compose file so that the controller has time to properly shutdown. See this section of the README for more info. Here are my logs, filtered on the word
You could try a connection via wget from inside the container to the endpoint your logs mention (not sure if all use the same |
Beta Was this translation helpful? Give feedback.
-
Ok, it does seem to have something to do with shutting down and starting up
as I move the controller to my desk to work on it and I get it working more
stable.
Then when I move it back to the network rack it starts to go wonky again.
I'm not even going to pretend to act like I know fully what I am doing. I
do not have a lot of experience in Linux. Earlier once you wrote back to me
I restarted the container and it seemed to get it nice and stable. So what
exactly do I need to do to get it to shut down and start up properl? I
appreciate your time in replying to me. I also really appreciate your work
on this in creating it. :)
|
Beta Was this translation helpful? Give feedback.
Proper shutdown is documented in the link I provided earlier. Hopefully your raspberry pi is running the
arm64
variant if you want to somehow copy volumes between the two machines because switching the data betweenarmv7l
and eitherarm64 or
amd64` will cause issues due to different MongoDB versions. I suppose if you're exporting data directly from the controller and importing it or using the migration tool, that should work fine but I've never tested either.