python-whatsapp-bot icon indicating copy to clipboard operation
python-whatsapp-bot copied to clipboard

Not working on Ngrok free account?

Open EdEn-D opened this issue 1 year ago • 6 comments

Can anyone confirm that they got this to work with an Ngrok free account?

My suspicion is that due to the browser warning that comes up with the free account, meta is not able to verify and this step fails... Trying other methods, will update.

EdEn-D avatar Jul 18 '24 20:07 EdEn-D

Hi! Recently I had this same issue, I ended up leaving Ngrok. I recommend you to use Serveo instead.

https://serveo.net/

If serveo for some reason isn't available please try localhost.run

http://localhost.run/

Greetings :)

DanielGarciaCol avatar Jul 18 '24 20:07 DanielGarciaCol

Hi! Recently I had this same issue, I ended up leaving Ngrok. I recommend you to use Serveo instead.

https://serveo.net/

If serveo for some reason isn't available please try localhost.run

http://localhost.run/

Greetings :)

Nice service!

CeadeS avatar Jul 18 '24 21:07 CeadeS

Hi! Recently I had this same issue, I ended up leaving Ngrok. I recommend you to use Serveo instead.

https://serveo.net/

If serveo for some reason isn't available please try localhost.run

http://localhost.run/

@DanielGarciaCol I set up the serveo and localhose but for some reason my Flask server doesn't seem to catch any requests... I'm not sure what I'm doing wrong

EdEn-D avatar Jul 18 '24 22:07 EdEn-D

Hey @EdEn-D ! Try checking the ports. When you start the tunnel, you get a URL that changes every time you open a new tunnel. This means you need to update your webhook URL in Meta's developer portal. Also, don’t forget to update your environment variables accordingly.

DanielGarciaCol avatar Jul 19 '24 01:07 DanielGarciaCol

Hey @EdEn-D ! Try checking the ports. When you start the tunnel, you get a URL that changes every time you open a new tunnel. This means you need to update your webhook URL in Meta's developer portal. Also, don’t forget to update your environment variables accordingly.

@DanielGarciaCol If you mean update the .env I did. And I got the changing URL.. but still, I get no connections from that URL provided by either serveo or localhost.run on my flask server when accessing it myself through the browser or when trying to verify. Tried several ports. There is something I seem to be missing to make the connection between the serveo/localhost.run domain and my flask server

Edit: just did it :'D I'm so happy I'm gonna cry after 3rd day of debugging I just need to 'sudo ufw allow ssh' Edit2: Make sure to use WSL!

EdEn-D avatar Jul 19 '24 11:07 EdEn-D

@DanielGarciaCol serveo seems to be down today, following the same process with localhost.run also left me not being able to verify :( . Any idea why this could be? I authenticated my user with localhost.run with SSH, no luck

EdEn-D avatar Jul 20 '24 19:07 EdEn-D