Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] No QR code showing up on screen "Link your phone to Signal Desktop" #2309

Closed
shazz opened this issue Apr 30, 2018 · 33 comments
Closed

Comments

@shazz
Copy link

shazz commented Apr 30, 2018

Bug description

When installing the Desktop app, the Link your phone to Signal Desktop screen appears but the QR code never shows up (only moving circles)

Steps to reproduce

  1. Install fresh Desktop App 1.8.0 for Windows

Actual result:
The Link your phone to Signal Desktop screen appears but the QR code never shows up (only moving circles)

Expected result:
QR Code should appear for peering

Screenshots

capture

Platform info

Signal version:
1.8.0

Operating System:
Win 10

Linked device version:
N/A at this point (will be IOS)

Link to debug log

https://debuglogs.org/bf1d35c0347a01181eae51330b259e7c59fb6cf32187b43915677a6220a6a7cf

@gasi-signal
Copy link
Contributor

@shazz Thanks for your bug report and debug logs. Unfortunately, I didn’t find any errors in the logs and our QR code is generated locally. Have you tried restarting the app? Is there anything else notable about your machine or setup?

@thommierother
Copy link

I have the same issue right now on Signal Desktop 1.16.2, the OS is OpenSUSE Leap 15. No QR code is displayed, pairing with android device is not possible

@scottnonnenberg-signal
Copy link
Contributor

You'll see that progress dialog if we can't connect to the Signal Server to get the information necessary to show the QR code. A debug log (View -> Debug Log) might help us determine why it can't connect.

@thommierother
Copy link

ok, I'll have a look. But it would be better to inform the user that the connection can not be established instead of just showing the progress bar forever ...

@thommierother
Copy link

For Debuglog:
https://debuglogs.org/52a7de8268bc2a98b573c4ece8df840159c629638e04112fce0f001f1281f3ca

Re-tested in two different network environments, same result, no QR code is displayed

@scottnonnenberg-signal
Copy link
Contributor

@thommierother I've got no ideas for you. We try to open a 'provisioning' socket to start things off, and then it is immediately closed. Could be your OS and not your network. We don't test on OpenSUSE.

@thommierother
Copy link

@scottnonnenberg-signal Anyway, thanks for checking the log, I will discuss further debugging with the SUSE guys

@thommierother
Copy link

Info: further investigation showed that it was a proxy issue, not really an issue for signal - aside from the fact that some better information about connection issues would be fine (see previous comment).

@saurabh
Copy link

saurabh commented Jan 13, 2019

Hiya. I too am having the same issues. Using Windows 10. Here are the debug logs:

https://debuglogs.org/b134dde0f00b77db0943f3206db2990ff4b82bb585471aabd14b7066f342fb6d

Would appreciate if you could have a look into this. So far I've tried restarting the app a couple of times.

@scottnonnenberg-signal
Copy link
Contributor

@saurabh It's a proxy issue. Signal Desktop is unable to contact the general internet to do what it needs to do. More information about proxies here: #1632

@saurabh
Copy link

saurabh commented Jan 15, 2019

Are you sure that's all it could be? Because I haven't setup a proxy.

@scottnonnenberg-signal
Copy link
Contributor

@saurabh Pretty sure, given the errors. Either way, let's talk about it. Tell me about all the steps it takes, on your network, to get to the real internet.

@saurabh
Copy link

saurabh commented Jan 15, 2019

Hey @scottnonnenberg-signal , thanks for taking the time to do this.

Step 1: I'm connected over WiFi. Fresh Signal installation; makes a request to my router (192.168.0.1).
Step 2: Router makes a request to the Fiber Optic box provided by my ISP (192.168.1.1; I do not have configuration access to this box, can only turn it on and off).
Step 3: Real internet.

That's all there is. I haven't changed my router settings at all, save for the WiFi config and reserved DHCP IP for my computer to forward a couple of ports.

@scottnonnenberg-signal
Copy link
Contributor

@saurabh Despite the simplicity of your network setup, your log is filled with this. We can't keep a connection to the provisioning websocket. Maybe it's something to do with your ISP or ISP-provided hardware? You might consider trying to do some diagnostics of some kind.

INFO  2019-01-13T11:11:39.396Z provisioning socket closed. Code: 1006
ERROR 2019-01-13T11:11:39.397Z provisioning failed Error: websocket closed

@saurabh
Copy link

saurabh commented Jan 16, 2019

@scottnonnenberg-signal What kind of diagnostics do you reckon I should run?

@scottnonnenberg-signal
Copy link
Contributor

One thing you might do is try to set up Desktop on a different network.

@saurabh
Copy link

saurabh commented Jan 17, 2019

Ah! I did actually try that early on thinking that it might be a problem with my home network. Used my phone's hotspot. Still no QR code, same error message. Redid the whole thing just now.

https://debuglogs.org/edc72d88104c77edc8131a7aacf4241eb10724bdc28f149a610a52d2ffb7acca

@saurabh
Copy link

saurabh commented Jan 17, 2019

Perhaps its been blocked by the government. I reside in the UAE. The app works perfectly on my phone so I didn't have reason to believe that it wouldn't on my desktop but that might be the cause of it. I can't think of anything else other than this. WIll test with a VPN and report back. (my current vpn has gotten blocked too, will take a little while)

@scottnonnenberg-signal
Copy link
Contributor

@saurabh Ah, I think we've figured out the problem. The mobile apps have tools to make their requests look less obvious. Desktop does not. Maybe time to try a VPN?

@nripin
Copy link

nripin commented Apr 15, 2019

signal error

@nripin
Copy link

nripin commented Apr 15, 2019

no QR code for me either

@scottnonnenberg-signal
Copy link
Contributor

The QR code only appears if we have a successful connection to the Signal Server. Your logs would help us determine what the problem is (View -> Debug Log).

@thrud00
Copy link

thrud00 commented Jan 19, 2021

The QR code only appears if we have a successful connection to the Signal Server. Your logs would help us determine what the problem is (View -> Debug Log).

What ports/services or destinations could I look for on my firewall to see if it's getting blocked?

@int-travel
Copy link

https://debuglogs.org/7f795cd39c70731838e8d8208d547c1c8a156143411bdb46b7d2e7d91416c613

Same symptoms as above... checked the debug logs and it seems to be different than a proxy issue? 'Timed out attempting to check IndexedDB status' is the first error in the list. Running on a VPN connected to the USA. Currently in China.

@otted
Copy link

otted commented Apr 13, 2021

likewise.. different VPN in use and currently in China. mobile app has no problem. the desktop apps have been "disconnected" with QR code not loading since a couple of weeks ago we heard of an official ban of the app in the country.
Any other way to do the link? It would be cool to be able to keep using the software. Solid!

@scottnonnenberg-signal
Copy link
Contributor

@int-travel Looking at your log...

This error suggests that we have no internet connection at all:

ERROR 2021-03-27T09:51:11.461Z GET https://textsecure-service.whispersystems.org/v1/config 0 Error

And here you can see that we attempt to open the websocket to link, but there's never a resolution to this:

INFO  2021-03-27T09:53:50.004Z opening provisioning socket https://textsecure-service.whispersystems.org

A hint is here - when Desktop goes to check for updates, it never gets a result:

ERROR 2021-03-27T09:55:00.114Z checkDownloadAndInstall: error RequestError: connect ETIMEDOUT 74.86.12.173:443

@int-travel
Copy link

int-travel commented Apr 14, 2021 via email

@int-travel
Copy link

int-travel commented Apr 14, 2021 via email

@otted
Copy link

otted commented Jul 18, 2021

hi
in China still the QR code does not display. latest log are here https://debuglogs.org/5808bd31332a9c8bb031c7a7ead93a36a31128c65ffdf9491d7a145862821876

any clue?
thanks for the help
@scottnonnenberg-signal

@int-travel
Copy link

int-travel commented Jul 18, 2021 via email

@otted
Copy link

otted commented Jul 18, 2021

I will check again, but it should be like this since other application which does not use browser access nicely to VPN.
Maybe I ll try with another VPN too. If there is any clues in the log let me know

thanks

@maxness
Copy link

maxness commented Jan 2, 2023

This seemed to occur in my case due to a blocked connection upon initial installation. Once the firewall was opened, I solved the lack of QR code by clearing the app's local data in the preferences pane and restarting it.

@ottahe
Copy link

ottahe commented Aug 20, 2023

In my case, the IP 52.206.164.16 is simply blocked, the reason is (among others) "international als gefährlich eingestuft". Can you make it as an option in the configuration, so that I could use a ssh-tunnel to circumvent this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests