2-FA update: cannot connect to the server

Problems or questions with the Lights-Out Mobile app on iOS, Android and WP are answered here
Antworten
escrime
Foren-Einsteiger
Beiträge: 11
Registriert: 25. Dez 2019, 21:59

2-FA update: cannot connect to the server

Beitrag von escrime »

The release notes for the Android app has been requesting that I edit the server entries by reconnecting using the button on the "Edit server" page. When I tap "Connect to Server and Save" I get "Error 404: Server not Found". I can find nothing in the help about this nor whether I now need to add 2FA to the server and how to do this. Hopefully someone can help!
Benutzeravatar
Martin
Moderator
Beiträge: 9967
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

Re: 2-FA update: cannot connect to the server

Beitrag von Martin »

2-FA is only required if you run a Synology or QNAP NAS.
If you see "404: Server not found" please verify that the server url is valid and can be reached.

Are you connecting to a local server in your LAN or from outside to your public ip address?
Essentials 2016 unter Windows Server 2022 auf HP Microserver Gen 8.
Entwickler von Lights-Out
escrime
Foren-Einsteiger
Beiträge: 11
Registriert: 25. Dez 2019, 21:59

Re: 2-FA update: cannot connect to the server

Beitrag von escrime »

Thanks Martin. The server is on the local LAN.
escrime
Foren-Einsteiger
Beiträge: 11
Registriert: 25. Dez 2019, 21:59

Re: 2-FA update: cannot connect to the server

Beitrag von escrime »

Now fixed. The IP address had changed (thought I had fixed it..) but now I know 2FA not required, it is working :)

Thank you!
Benutzeravatar
Martin
Moderator
Beiträge: 9967
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

Re: 2-FA update: cannot connect to the server

Beitrag von Martin »

Glad you got it working again!

Martin
Essentials 2016 unter Windows Server 2022 auf HP Microserver Gen 8.
Entwickler von Lights-Out
escrime
Foren-Einsteiger
Beiträge: 11
Registriert: 25. Dez 2019, 21:59

Re: 2-FA update: cannot connect to the server

Beitrag von escrime »

Hi Martin,

For some reason the app now will not start the server remotely. The IP has not changed and if I start the server manually the app finds it. I am specifying port 7782 after the IP address. Any idea why please?
Benutzeravatar
Martin
Moderator
Beiträge: 9967
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

Re: 2-FA update: cannot connect to the server

Beitrag von Martin »

You say "remotely": This usually doesn't work with a SoHo router. These routers can't broadcast to your local network. And that is required for Wake-On-Lan.

Background: The router has a mapping between IP address and physical MAC address. So the router knows where to send an IP packet. This mapping is deleted after 10-20 minutes when the server is switched off. Now the router does not know where to send the packet and shouts into the network: Who is IP address xxx? And nobody will answer.
Therefore, a WOL packet must be sent to everyone (i.e. as a broadcast). And SoHo routers do not allow that.

The mean thing is, that it mostly works during testing, because you are within the 10-20 minutes range. After that it doesn't work anymore.

The only reliable solution is another computer, which takes over the sending of the broadcast. This can be e.g. a Raspberry Pi, for which there is the software here: https://www.green-it-software.com/wake- ... pberry-pi/

Regards
Martin
Essentials 2016 unter Windows Server 2022 auf HP Microserver Gen 8.
Entwickler von Lights-Out
escrime
Foren-Einsteiger
Beiträge: 11
Registriert: 25. Dez 2019, 21:59

Re: 2-FA update: cannot connect to the server

Beitrag von escrime »

Hi Martin,

Thanks for your reply and sorry for my delay in replying.

When I say 'remotely' my phone is on the same LAN and the server hibernates so I am probably using the term incorrectly. It always used to work, though the server took some minutes to wake up and respond. I was just wondering what might be the cause, because the IP address of the server is fixed so I am not sure why I cannot wake the server from the app.

Kind regards,

Andrew
Benutzeravatar
Martin
Moderator
Beiträge: 9967
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

Re: 2-FA update: cannot connect to the server

Beitrag von Martin »

What is your server for a machine?
Essentials 2016 unter Windows Server 2022 auf HP Microserver Gen 8.
Entwickler von Lights-Out
escrime
Foren-Einsteiger
Beiträge: 11
Registriert: 25. Dez 2019, 21:59

Re: 2-FA update: cannot connect to the server

Beitrag von escrime »

HP MicroServer running WHS 2011.
The IP address is correct. When I start it manually the app then finds it once it has woken from hibernation . It was working, so I am not sure why it is not now.
Benutzeravatar
Martin
Moderator
Beiträge: 9967
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

Re: 2-FA update: cannot connect to the server

Beitrag von Martin »

Then please connect while it's running , open console, go to tab mobile devices and check that wake-up is enabled.
Essentials 2016 unter Windows Server 2022 auf HP Microserver Gen 8.
Entwickler von Lights-Out
escrime
Foren-Einsteiger
Beiträge: 11
Registriert: 25. Dez 2019, 21:59

Re: 2-FA update: cannot connect to the server

Beitrag von escrime »

That has fixed it! I wonder why it changed. I found two entries for the phone, so I deleted the older one. The more recent did not have wake-up enabled.

Many thanks Martin.
Antworten