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 » 9. Feb 2023, 13:53

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: 9920
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

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

Beitrag von Martin » 9. Feb 2023, 14:46

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?
Eigenbau mit WSE 2012 R2, HP N40L mit WSE 2012 R2 als Backupserver, HP Microserver Gen8 unter WSE 2016
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 » 10. Feb 2023, 13:35

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 » 10. Feb 2023, 13:46

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: 9920
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

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

Beitrag von Martin » 10. Feb 2023, 14:37

Glad you got it working again!

Martin
Eigenbau mit WSE 2012 R2, HP N40L mit WSE 2012 R2 als Backupserver, HP Microserver Gen8 unter WSE 2016
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 » 4. Jul 2023, 18:08

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: 9920
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

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

Beitrag von Martin » 5. Jul 2023, 10:09

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
Eigenbau mit WSE 2012 R2, HP N40L mit WSE 2012 R2 als Backupserver, HP Microserver Gen8 unter WSE 2016
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 » 16. Jul 2023, 17:14

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: 9920
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

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

Beitrag von Martin » 19. Jul 2023, 21:21

What is your server for a machine?
Eigenbau mit WSE 2012 R2, HP N40L mit WSE 2012 R2 als Backupserver, HP Microserver Gen8 unter WSE 2016
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 » 30. Jul 2023, 17:06

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: 9920
Registriert: 11. Sep 2007, 10:51
Wohnort: Im wilden Süden

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

Beitrag von Martin » 31. Jul 2023, 09:19

Then please connect while it's running , open console, go to tab mobile devices and check that wake-up is enabled.
Eigenbau mit WSE 2012 R2, HP N40L mit WSE 2012 R2 als Backupserver, HP Microserver Gen8 unter WSE 2016
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 » 1. Aug 2023, 14:04

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