hackjutsu/Lepton

Login fails with ECONNRESET error

Open

#354 opened on Apr 19, 2019

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (9,902 stars) (502 forks)batch import
help wantedmore information needed

Description

The more we know about your system and use case, the more easily and likely we can help.

Environment info

  • OS: Win10
  • App Version (Command/Ctrl + ,):

Description of the problem / feature request / question:

I'm unable to log in on my work laptop both use or not use proxy; it just sits at the login progress bar.

If possible, provide a sample gist or screenshot:

image

If possible, provide the log files

2019-04-19T08:45:26.193Z - info:

----- Lepton v1.7.3 win32-----

2019-04-19T08:45:26.195Z - info: [conf] Looking for .leptonrc at C:\Users\anjiuzhen/.leptonrc 2019-04-19T08:45:26.195Z - info: [conf] The resolved configuration is ... 2019-04-19T08:45:26.196Z - info: "userPanel": {"hideProfilePhoto":false} 2019-04-19T08:45:26.196Z - info: "logger": {"level":"debug"} 2019-04-19T08:45:26.196Z - info: "proxy": {"enable":true,"address":"socks://127.0.0.1:1080"} 2019-04-19T08:45:26.196Z - info: "snippet": {"sorting":"updated_at","sortingReverse":true,"expanded":true,"newSnippetPrivate":false} 2019-04-19T08:45:26.196Z - info: "editor": {"tabSize":4} 2019-04-19T08:45:26.197Z - info: "enterprise": {"enable":false,"host":"github_enterprise_host","token":"token_with_gist_enabled","avatarUrl":"optional_avatar_url"} 2019-04-19T08:45:26.197Z - info: "type": "literal" 2019-04-19T08:45:26.279Z - info: Checking for update 2019-04-19T08:45:26.490Z - debug: -----> registering login-page-ready listener 2019-04-19T08:45:28.726Z - info: [.leptonrc] Use proxy socks://127.0.0.1:1080 2019-04-19T08:45:30.682Z - debug: -----> Inside getCachedUserInfo 2019-04-19T08:45:30.684Z - debug: -----> [false] cachedProfile is undefined 2019-04-19T08:45:30.686Z - debug: -----> [false] cachedToken is undefined 2019-04-19T08:45:30.701Z - debug: -----> Inside LoginPage componentWillMount with loggedInUserInfonull 2019-04-19T08:45:30.702Z - debug: -----> Registering listener for auto-login signal 2019-04-19T08:45:30.702Z - debug: -----> sending login-page-ready signal 2019-04-19T08:45:30.703Z - info: [signal] sending auto-login signal 2019-04-19T08:45:30.788Z - debug: -----> Received "auto-login" signal with loggedInUserInfo null 2019-04-19T08:45:31.777Z - info: Update for version 1.7.3 is not available (latest version: 1.7.3, downgrade is disallowed). 2019-04-19T08:45:31.778Z - debug: checkForUpdatesAndNotify called, downloadPromise is null 2019-04-19T08:45:43.291Z - debug: -----> Inside launchAuthWindow with token undefined 2019-04-19T08:45:43.316Z - debug: loading authUrl https://github.com/login/oauth/authorize?client_id=9e42611bb02db4547abf&scope=gist 2019-04-19T08:45:43.351Z - info: [Dispatch] updateAuthWindowStatus ON 2019-04-19T08:45:55.058Z - info: [Dispatch] updateAuthWindowStatus OFF 2019-04-19T08:45:55.067Z - info: [Dispatch] updateUserSession IN_PROGRESS 2019-04-19T08:45:55.074Z - debug: [REST] Exchanging authCode with access token 2019-04-19T08:46:40.120Z - error: Failed: {"code":"ECONNRESET"} 2019-04-19T08:49:44.445Z - info: The app window is closed

Contributor guide