question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug

When I want to login to GitHub, application opens Firefox and Firefox writes (in Czech): obrazek English translation: Address not recognized: An error occurred while connecting to github.com. You may need to install additional software to open this address.

Version & OS

Open ‘About GitHub Desktop’ menu to see the Desktop version. Also include what operating system you are using.

Version: 2.5.4-linux1 OS: Linux Mint 20 - Cinnamon

Steps to reproduce the behavior

  1. Go to File -> Options... -> Accounts -> GitHub.com -> Sign in
  2. Now it opens Firefox and you see the error

Expected behavior

It shows login form to GitHub

Actual behavior

Application opened Firefox with error.

Logs

Attach your logs by opening the Help menu and selecting Show Logs..., if applicable.

2021-01-03T13:21:37.346Z - info: [ui] [SignInStore] initializing OAuth flow 2021-01-03T13:21:37.363Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3a723b10ac5575cc5bb9&scope=repo user workflow&state=e53dcfa5-821e-427c-b6ad-55d138f5efac

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
shiftkeycommented, Jan 31, 2021

I installed app as DEB package.

@pervoj we rely on MimeType configuration value in the .desktop file to signal to the browser to launch our app:

https://github.com/shiftkey/desktop/blob/a63a8655b42165230dac3b01ca5ea5eceb7f8e38/script/package-debian.ts#L67-L75

And that should be present after installation:

$ ls /usr/share/applications/github-desktop.desktop | grep MimeType
MimeType=x-scheme-handler/x-github-client;x-scheme-handler/x-github-desktop-auth;x-scheme-handler/x-github-desktop-dev-auth;

I’ve assumed this works fine (I’m on Firefox on Ubuntu) and it hasn’t changed in several releases (2.4.1-linux2 was when I last changed this packaging, but we were using the same approach as before). So I’m kinda stumped on what else to try with your setup to understand the root cause.

I’m unable to login to my Github account at all. Any fix for this?

@yonderbread please open a new bug report and fill out the template so we can handle that separate to this discussion.

0reactions
shiftkeycommented, Feb 11, 2021

Closing this out as I don’t think there’s anything left to investigate around this 🤷🏻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Login errors - IBM
Login errors. Anything from an unassigned user role to a loss of connectivity with the user repository can cause a login error. Read...
Read more >
Windows error message: "We can't sign in to your account"
If you try to sign in to Windows 11 and receive the error message, "We can't sign in to your account" or you...
Read more >
Fix a Login Problem | Facebook Help Center
Troubleshoot login with a phone number on Facebook.
Read more >
Overwatch 2: What is login error and how to possibly fix it?
Login errors and long queue times arise when too many people try to ... or greeted with the "Login Error: Failed to connect...
Read more >
How to Fix Facebook Login Error on iPhone SE 3 2022 - iKream
Troubleshooting Facebook Login error on iPhone SE 3 (2022) · Solution #1: Quit then restart Facebook app. · Solution #2: Refresh your iPhone's ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found