Can login external url after reboot

Had a internet issue in my home. It was repaired today and now I cant log in via external url/app on my phone. It shows the home assistant picture then give me a log url address with the ERR_FAILED at the bottom. My app give me the three option and wont log in either.
I received a new modem but my router has not changed. I rebooted that and my pi3 that is running my OS. Im not really sure what to do since it was working fine day ago. any help would be great but if you ask me to check something please specify how to do it. still learning my way around. Thank you in advance

Think out loud. There is either an issue with my router or the OS. I have two ways im looking at this.

  1. its the router because that was what changed. The modem was replaced and maybe something got changed on the router bc of that.
  2. but with that being said I think it might be something in the OS. reason I say that is because when I type in the external url it shows me the home assistant picture making me think it has passed through the firewall but something is stopping it on the OS side.
    I am using duckdns, MariaDB, nginx proxy manager. I have restarted and checked those. but maybe im missing something.

You need to start with the basics. Can you ping the Pi and if so can you ssh into to it to check the logs etc. Maybe the Pi IP got changed by your router if you have not given the Pi a static IP address.

I wonder if Duckdns still has your previous Wan IP address and may manually need to be corrected on their portal - you should be able to manually correct it. Compare your live Wan IP address with the address listed on the Duckdns portal.

I can log in from inside my network and everything seems to be ok. should have mentioned that before.
Checked the router IP for the PI and it is still assigned to the same port.

I will check the duckdns but I thought it was all the same with no changes.

ok its fixed.

Log into duckdns and its had a strange ip address under current ip address. Changed it to my home pi address and its all good.

1 Like

Do you want to mark my post as the solution in case others have the same issue ?

Well it’s acting up again. The duckdns help but now I can’t log in externally anymore.

I have been using node red alot and I’ve noticed that I have deploy the flows a good bit to work out some bugs. But my system is not responding quickly. A few times I’ve had to restart my OS and I’ve noticed the external url doesn’t work. So I reboot and it comes back but not this time.

Any ideas?

You need to run through the checklist that I first posted in this thread. No one can guess your issue unless you run through the basics.

first do you need to use let encrypt anymore? I dont currently have it and it was working fine.

But this showed up in my nginx proxy log
‘’’
config “/etc/letsencrypt.ini” --preferred-challenges “dns,http” --disable-hook-validation
Challenge failed for domain my----.duckdns.org
Failed to renew certificate npm-4 with error: Some challenges have failed.
All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/npm-4/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Socket. (internal/child_process.js:439:11)
at Socket.emit (events.js:315:20)
at Pipe. (net.js:673:12
‘’’

I have completed updates but I am still unable to use either the home assistant APP or the external url. looking for ideas on where to start?

I believe I MAY have loaded Lets Encrypt last year but then quickly deleted it. Could that still have some hidden file? or is this normal for Nginx proxy manger ?

LOG in Nginx Proxy Manager

[7/7/2022] [8:33:39 PM] [SSL      ] › ✖  error     Error: Command failed: certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation  
Failed to renew certificate npm-4 with error: Some challenges have failed.
All renewals failed. The following certificates could not be renewed:
  /etc/letsencrypt/live/npm-4/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
    at ChildProcess.exithandler (node:child_process:398:12)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

I’m having the same issue as you. I reinstalled NPM because the GUI randomly erased my settings. I’m thinking there is a conflict with certificates somewhere.

Is it safe to delete the letsencrypt folder? Will it recreate?