hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.12k stars 475 forks source link

Plase check your network condition,03 #538

Closed pizsd closed 1 year ago

pizsd commented 1 year ago

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

Environment info

logs:

----- Lepton v1.10.0 darwin-----

2022-11-30T03:20:02.941Z - info: [conf] Looking for .leptonrc at /Users/zerduo/.leptonrc 2022-11-30T03:20:02.941Z - info: [conf] The resolved configuration is ... 2022-11-30T03:20:02.941Z - info: "theme": "light" 2022-11-30T03:20:02.941Z - info: "autoUpdate": false 2022-11-30T03:20:02.942Z - info: "userPanel": {"hideProfilePhoto":false} 2022-11-30T03:20:02.942Z - info: "logger": {"level":"debug"} 2022-11-30T03:20:02.942Z - info: "proxy": {"enable":false,"address":"socks://localhost:1080"} 2022-11-30T03:20:02.943Z - info: "snippet": {"sorting":"updated_at","sortingReverse":true,"expanded":true,"newSnippetPrivate":false} 2022-11-30T03:20:02.943Z - info: "editor": {"tabSize":4,"validateFilename":true} 2022-11-30T03:20:02.943Z - info: "enterprise": {"enable":false,"host":"","token":"","avatarUrl":""} 2022-11-30T03:20:02.943Z - info: "notifications": {"success":true,"failure":true} 2022-11-30T03:20:02.943Z - info: "shortcuts": {"keyShortcutForSearch":"Shift+Space","keyNewGist":"CommandOrControl+N","keyEditGist":"CommandOrControl+E","keyDeleteGist":"CommandOrControl+Delete","keySubmitGist":"CommandOrControl+S","keyImmersiveMode":"CommandOrControl+I","keyAboutPage":"CommandOrControl+,","keyDashboard":"CommandOrControl+D","keyEditorExit":"CommandOrControl+Escape","keySyncGists":"CommandOrControl+R"} 2022-11-30T03:20:02.943Z - info: "type": "literal" 2022-11-30T03:20:03.110Z - info: Checking for update 2022-11-30T03:20:03.381Z - debug: -----> registering login-page-ready listener 2022-11-30T03:20:06.987Z - debug: -----> Inside getCachedUserInfo 2022-11-30T03:20:06.990Z - debug: -----> [false] cachedProfile is undefined 2022-11-30T03:20:06.992Z - debug: -----> [false] cachedToken is undefined 2022-11-30T03:20:07.019Z - debug: -----> Inside LoginPage componentWillMount with loggedInUserInfonull 2022-11-30T03:20:07.022Z - debug: -----> Registering listener for auto-login signal 2022-11-30T03:20:07.023Z - debug: -----> sending login-page-ready signal 2022-11-30T03:20:07.023Z - info: [signal] sending auto-login signal 2022-11-30T03:20:07.134Z - info: Checking for update (already in progress) 2022-11-30T03:20:07.160Z - debug: -----> Received "auto-login" signal with loggedInUserInfo null 2022-11-30T03:20:08.583Z - debug: -----> Inside launchAuthWindow with token undefined 2022-11-30T03:20:08.605Z - debug: loading authUrl https://github.com/login/oauth/authorize?client_id=9e42611bb02db4547abf&scope=gist 2022-11-30T03:20:08.625Z - info: [Dispatch] updateAuthWindowStatus ON 2022-11-30T03:20:08.781Z - info: Update for version 1.10.0 is not available (latest version: 1.10.0, downgrade is disallowed). 2022-11-30T03:20:08.781Z - debug: [autoUpdater] update-not-available 2022-11-30T03:20:08.782Z - debug: checkForUpdatesAndNotify called, downloadPromise is null 2022-11-30T03:20:23.521Z - info: [Dispatch] updateAuthWindowStatus OFF 2022-11-30T03:20:23.533Z - info: [Dispatch] updateUserSession IN_PROGRESS 2022-11-30T03:20:23.544Z - debug: [REST] Exchanging authCode with access token 2022-11-30T03:20:43.605Z - error: Failed: {"code":"ETIMEDOUT","connect":true}

pizsd commented 1 year ago

This problem is caused by turning on the global proxy. If you have the same problem, please check the proxy settings