GitHub Desktop Completely freezing on Mac after ~ 10 seconds of use
See original GitHub issueDescribe the bug
When I open GitHub Desktop and start clicking around it completely freezes after about 10 seconds. If I close the program then reopen it I get another ~ 10 seconds of use. It freezes so completely that I can’t even open ‘About GitHub Desktop’ without closing it and reopening it first.
Version & OS
I am using version 2.5.6. I am on macOS Catalina version 10.15.6.
Steps to reproduce the behavior
- Open GitHub Desktop
- Do anything for ~ 10 seconds
- You will be unable to click on any menu items or buttons
Expected behavior
Continue working
Actual behavior
Freezing
Screenshots
Add screenshots to help explain your problem, if applicable.
Logs
2020-09-30T00:09:53.889Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T00:42:19.183Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T01:14:23.585Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T01:46:42.055Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T02:18:42.026Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T02:51:17.757Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T03:23:14.205Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T09:28:15.895Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T09:28:17.355Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.376s)
2020-09-30T13:57:50.201Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T14:18:59.897Z - info: [ui] [BranchPruner] Last prune took place in 10 hours - skipping
2020-09-30T14:29:13.076Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T15:00:47.030Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T15:17:43.848Z - warn: [ui] getFetchPollInterval: failed for bettervu/dTurk
TypeError: Failed to fetch
2020-09-30T16:17:56.307Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T16:17:57.356Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.017s)
2020-09-30T16:49:46.591Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T16:49:47.801Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.179s)
2020-09-30T16:57:35.657Z - info: [ui] [AppStore] loading 8 repositories from store
2020-09-30T16:57:35.657Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T16:57:36.111Z - info: [ui] [BranchPruner] Last prune took place in 7 hours - skipping
2020-09-30T16:57:36.281Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T16:57:36.281Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-09-30T16:59:27.104Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T16:59:27.140Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T16:59:28.470Z - info: [ui] Executing pull: git -c credential.helper= -c protocol.version=2 -c rebase.backend=merge pull --progress origin (took 1.315s)
2020-09-30T16:59:57.881Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: BP - juliussimonelli (has token)
2020-09-30T17:07:22.901Z - info: [ui] [AppStore] loading 8 repositories from store
2020-09-30T17:07:22.901Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T17:07:23.676Z - info: [ui] [BranchPruner] Pruning 0 branches that have been merged into the default branch, develop (d09698e88db6f16820e71c03cdfc40b336b53eec), from 'dTurk
2020-09-30T17:07:23.818Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T17:07:23.818Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-09-30T17:08:01.250Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T17:08:01.277Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T17:08:05.059Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin step_size_test:step_size_test --progress (took 3.779s)
2020-09-30T17:08:05.060Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T17:15:35.658Z - info: [ui] [Timing] Action 'create commit' for 'bettervu/dTurk' took 0.320s
2020-09-30T17:27:45.312Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T17:27:45.325Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T17:27:45.326Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T17:27:45.327Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T17:27:45.346Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T17:27:45.952Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: ds-analysis - juliussimonelli (has token)
2020-09-30T17:27:46.336Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T17:27:47.036Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.068s)
2020-09-30T17:40:22.519Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 8 repositories took 737.4s of which 753.7s paused, total 1491.1s
2020-09-30T17:55:50.327Z - info: [ui] [AppStore] loading 8 repositories from store
2020-09-30T17:55:50.328Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T17:55:51.215Z - info: [ui] [BranchPruner] Pruning 0 branches that have been merged into the default branch, develop (d09698e88db6f16820e71c03cdfc40b336b53eec), from 'dTurk
2020-09-30T17:55:51.310Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T17:55:51.310Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-09-30T17:56:10.478Z - info: [ui] [Timing] Action 'create commit' for 'bettervu/dTurk' took 0.240s
2020-09-30T17:56:11.319Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T17:56:11.347Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T17:56:14.622Z - info: [ui] Executing push: git -c credential.helper= -c protocol.version=2 push origin step_size_test:step_size_test --progress (took 3.285s)
2020-09-30T17:56:14.623Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T18:27:59.396Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T18:28:01.451Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.895s)
2020-09-30T18:29:17.419Z - info: [ui] [AppStore] loading 8 repositories from store
2020-09-30T18:29:17.420Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T18:29:18.371Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T18:29:18.372Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-09-30T18:29:24.690Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: dTurk - juliussimonelli (has token)
2020-09-30T18:29:34.521Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/bettervu/vision-predict-worker.git - juliussimonelli (has token)
2020-09-30T18:29:38.373Z - info: [ui] Executing clone: git -c credential.helper= -c protocol.version=2 clone --recursive --progress -- https://github.com/bettervu/vision-predict-worker.git /Users/jsimonelli/Documents/GitHub/vision-predict-worker (took 3.776s)
2020-09-30T18:29:38.383Z - info: [ui] [AppStore] adding repository at /Users/jsimonelli/Documents/GitHub/vision-predict-worker to store
2020-09-30T18:29:38.910Z - info: [ui] [BranchPruner] Pruning 0 branches that have been merged into the default branch, develop (2cc9b345a8230c9f39cf8a60cbdbe5ba724f6d39), from 'dTurk
2020-09-30T18:29:38.910Z - info: [ui] [BranchPruner] No branches to prune.
2020-09-30T18:40:12.579Z - info: [ui] [AppStore] loading 9 repositories from store
2020-09-30T18:40:12.580Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T18:40:13.257Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2020-09-30T18:40:13.584Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T18:40:13.584Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-09-30T18:40:21.714Z - info: [ui] Executing fetch: git -c credential.helper= -c protocol.version=2 fetch --progress --prune origin (took 1.853s)
2020-09-30T18:41:05.657Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2020-09-30T18:48:06.592Z - info: [ui] [AppStore] loading 9 repositories from store
2020-09-30T18:48:06.593Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T18:48:07.502Z - info: [ui] [BranchPruner] Pruning 0 branches that have been merged into the default branch, develop (2cc9b345a8230c9f39cf8a60cbdbe5ba724f6d39), from 'dTurk
2020-09-30T18:48:07.603Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T18:48:07.604Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-09-30T18:58:39.525Z - info: [ui] proxy url not resolved, protocol not supported
2020-09-30T19:25:19.348Z - info: [ui] [AppStore] loading 9 repositories from store
2020-09-30T19:25:19.349Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T19:25:20.381Z - info: [ui] [BranchPruner] Pruning 0 branches that have been merged into the default branch, develop (2cc9b345a8230c9f39cf8a60cbdbe5ba724f6d39), from 'dTurk
2020-09-30T19:25:20.398Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T19:25:20.398Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
2020-09-30T19:25:22.894Z - info: [ui] [BranchPruner] No branches to prune.
2020-09-30T19:30:11.529Z - info: [ui] [AppStore] loading 9 repositories from store
2020-09-30T19:30:11.530Z - info: [ui] [AppStore] found account: juliussimonelli (Julius)
2020-09-30T19:30:12.367Z - info: [ui] [BranchPruner] No branches to prune.
2020-09-30T19:30:12.377Z - info: [ui] launching: 2.5.6 (Mac OS 10.15.6)
2020-09-30T19:30:12.378Z - info: [ui] execPath: '/Applications/GitHub Desktop.app/Contents/Frameworks/GitHub Desktop Helper (Renderer).app/Contents/MacOS/GitHub Desktop Helper (Renderer)'
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
App freezes spawning a `Process` from Mac desktop ...
Desktop app hanging on M1 Mac when using Process.run in a loop #95960 ... i < 10; i++) { Timer(Duration(seconds: i), () {...
Read more >hangs often · Issue #4290 · desktop/desktop
Basically: any option, no matter how basic, will freeze the UI and take multiple seconds to complete. It actually seems to get worse...
Read more >Docker M1 suddenly freeze after startup, desktop app ...
I'm using version 4.8.1 of Docker for Mac, because it works. Currently, I'm afraid to update it because newer versions have bugs on...
Read more >CPU, RAM, and performance issues affecting Desktop
GitHub Desktop Completely freezing on Mac after ~ 10 seconds of use #10694. Closed. Very High CPU usage when drag & dropping the...
Read more >Freezing on macOS M1 · Issue #957
On an M1 macOS, use the FilePicker in most any way, specifically you can use multiple files and only allow CSV and it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is on me, I’m gonna open a PR to make this message more clear or just straight up remove it. What it’s saying is that the repository is using a non-https remote (i.e ssh or raw git protocol), not that the proxy protocol isn’t supported.
@jss367 Do you think you could try getting to, and disabling, background updates in preferences in those first 10 seconds until the app freezes?
I’d be curious to see if that has any effect. Also, do you think you could try using the https protocol for your repositories? SSH is not well supported in Desktop and we’ve seen other cases where ssh needs a passphrase to unlock a key which then causes the git call to block indefinitely.
@jss367 I’m afraid I have no theory on what could have caused this either. I’m glad that it’s working for you again. However unsatisfactory it might be we’re just gonna have to chalk it up to a weird one-off environmental issue then. If it pops up again please let us know!