Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Network error after trying to login via phone number #283

Open
Paulschellnast opened this issue Mar 13, 2022 · 5 comments
Open

Network error after trying to login via phone number #283

Paulschellnast opened this issue Mar 13, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@Paulschellnast
Copy link

Paulschellnast commented Mar 13, 2022

Server and Web works fine but I get a network error when I try to login by phone number. The QR code also doesn't load for me. I've pulled the staging branch and rebuilt everything.

@Paulschellnast Paulschellnast added the bug Something isn't working label Mar 13, 2022
@mgilangjanuar
Copy link
Owner

Hmm did you just apply all env variable?

@Paulschellnast
Copy link
Author

Paulschellnast commented Mar 14, 2022

Hmm did you just apply all env variable?

I found two errors after executing "docker-compose up"
[https://imgur.com/Y2cl4si.jpg](Error 1)
[https://imgur.com/jjk7HM7.jpg](Error 2)

I filled out all needed env variables

@Nixuge
Copy link

Nixuge commented Mar 14, 2022

IIRC that happens when you're not using HTTPS/localhost

@mgilangjanuar
Copy link
Owner

Hmm did you just apply all env variable?

I found two errors after executing "docker-compose up" [https://imgur.com/Y2cl4si.jpg](Error 1) [https://imgur.com/jjk7HM7.jpg](Error 2)

I filled out all needed env variables

The errors said you didn't set up the .env file, did you add the file in the docker folder and rename it to .env?

@w0nd3r365
Copy link

w0nd3r365 commented Jul 26, 2022

Server and Web works fine but I get a network error when I try to login by phone number. The QR code also doesn't load for me. I've pulled the staging branch and rebuilt everything.

IIRC that happens when you're not using HTTPS/localhost

Happened the same to me, I just changed the url from 127.0.0.1:4096 to localhost:4096 and it worked. Also the QR code wasn't loading for me, and I found out it was because of browser option forcing dark mode in all web pages that was buggy, thus making it impossible to see the qr code although it's already loaded by Teledrive. I temporarily disabled dark mode and then I could see the qr codes. Heroku https works fine.

I found two errors after executing "docker-compose up"
[https://imgur.com/Y2cl4si.jpg](Error 1)
[https://imgur.com/jjk7HM7.jpg](Error 2)

I filled out all needed env variables

Seems you have to use https://<url>/http://localhost:$PORT when accessing Teledrive.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants