"Could not establish a connection with the Unity Package Manager local server process"

I get the following error when trying to open my Unity projects in Windows 10.


I have also looked at this thread: **READ ME FIRST** Troubleshooting connection/loading project issues with Package Manager
Here are the things I have tried:

Setting a firewall rule to allow Unity Editor
6011837--647873--upload_2020-6-22_18-11-47.png

Running this command on an elevated command prompt
setx UNITY_NOPROXY localhost,127.0.0.1

I then pressed the “Diagnose” button. Here are the results:

As you can see it has taken me to this page. Here is the diagnostic report:

Unity Package Manager Diagnostics (v0.1.5)

Ran 7 checks

6 succeeded
1 failed

:white_check_mark: UPM registry reachable (PASS)
Make an HTTP request to the UPM package registry

HTTP/1.1 200 OK
X-Powered-By: Express
Provider: Genesis
Date: Tue, 23 Jun 2020 01:13:21 GMT
Connection: close
:white_check_mark: Ping UPM registry (PASS)
Measure the latency of the UPM package registry API
12 pings made in 5.421 seconds
Average latency: 72.23 ms
Minimum latency: 67.02 ms
Maximum latency: 86.03 ms
Standard deviation: 5.05
:white_check_mark: Ping UPM download (PASS)
Measure the latency of the UPM package download endpoint
6 pings made in 5.452 seconds
Average latency: 128.45 ms
Minimum latency: 125.98 ms
Maximum latency: 131.82 ms
Standard deviation: 2.11
:white_check_mark: UPM registry download speed (PASS)
Test the Internet connection using the UPM package registry
Measured speed to the UPM registry: 81.57 Megabits per second
:white_check_mark: Speedtest.net (PASS)
Test the Internet connection using Speedtest.net
Measured speed to the Speedtest.net server: 44.09 Megabits per second
:white_check_mark: HTTP proxy environment variables (PASS)
Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY)
No proxy support has been configured through environment variables.
:x: UPM health check (FAIL)
Start the UPM process and call its health endpoint
Server started but did not respond to health requests:
Error: ETIMEDOUT


Here is the accompanying log:

[2020-06-23T01:13:22.665Z][INFO] Opened report file ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_Mon_06_22_2020_181319_53.txt’
[2020-06-23T01:13:22.665Z][INFO] Starting diagnostics
[2020-06-23T01:13:22.688Z][INFO][UpmRegistryReachable] Sending HEAD request to https://packages.unity.com
[2020-06-23T01:13:23.159Z][INFO][PingUpmRegistry] Starting ping test on ‘http://packages.unity.com/com.unity.package-manager.metadata
[2020-06-23T01:13:28.785Z][INFO][PingUpmDownload] Starting ping test on ‘http://download.packages.unity.com/com.unity.package-manager.metadata/-/com.unity.package-manager.metadata-0.0.1.tgz
[2020-06-23T01:13:34.244Z][INFO][UpmRegistryDownloadSpeed] Starting speed test with UPM registry
[2020-06-23T01:13:39.904Z][INFO][UpmRegistryDownloadSpeed] Download: 81.57 Megabits per second
[2020-06-23T01:13:39.925Z][INFO][Speedtest.Net] Starting speed test with Speedtest.net
[2020-06-23T01:13:52.745Z][INFO][Speedtest.Net] Download: 44.09 Megabits per second
[2020-06-23T01:13:52.745Z][INFO][Speedtest.Net] Upload: 11.85 Megabits per second
[2020-06-23T01:13:52.809Z][INFO][UpmHealthCheck] Starting health check
[2020-06-23T01:13:57.942Z][INFO] Finished diagnostics
[2020-06-23T01:13:57.985Z][INFO] Created report at ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_Mon_06_22_2020_181319_53.txt’

My Unity Hub version is 2.3.2

I’m not very experienced with Unity and have never posted a thread before, so if I posted in the wrong place please redirect me.

This problem has been happening for the past 3-4 days. Yesterday I was doing some research and I ran a command which solved it for that day. When I exited and tried again today, its giving the same error, and I can’t run the command again. Thank you so much!

6011837--647873--upload_2020-6-22_18-11-47.png

Hi. Got the same problem today, with same diagnosis results.
After trying fixes from this post and this post , the solution that worked for me was to sign in from the Unity Hub.
If you are already logged, try to log out from the unity hub and restart it before logging in (as suggested here ).

@Ghat-Smith Logging out and back in sadly did nothing. I already tried the things I could find on the pinned post. I do not have any other antivirus or firewall other than windows defender installed. Do I really need to reinstall…

My problem is solved, here’s how I did it.

  1. Disconnect internet
  2. Open my project
  3. Close my project
  4. Connect to internet
  5. open project

It’s a very temporary solution.

Trying again today, it has broken again; same error. My method doesn’t work anymore

Any Unity staff that could help would be greatly appreciated…

Tambem estou com o mesmo problema,aguardando a equipe da unity se pronunciar.

@bernardolmn Espero que eles façam em breve, também por favor fale em inglês se você puder…

I tried reinstalling yesterday, hub and editor, nothing happened, didn’t work.

@astroboyr I have a Translator installed on my Chrome so I have no difficulty communicating on the Forum, but I will send in English if necessary !!

Can you post your editor.log + upm.log in this thread so we can seek to assist you further?

https://docs.unity3d.com/Manual/LogFiles.html

Its being really weird. It hasn’t been working for the past couple days, but after a good 30 mins of waiting, I pressed the “retry” button and it works. Its kinda random…