Couldn't establish a connection with the unity package manager local server process

I’ve getting this since I updated to 2019.3 and using unity hub 2.3. Also i’ve been updating unity from 2019.3.3 to 2019.3.4 to 2019.2.13 in hope to get this error patched. I’m on Windows 10. Here’s thedignostic report attached and here’s the accompanying log:
[2020-05-17T20:00:14.547Z][INFO] Opened report file ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_17_05_2020_150007_01.txt’
[2020-05-17T20:00:14.547Z][INFO] Starting diagnostics
[2020-05-17T20:00:14.609Z][INFO][UpmRegistryReachable] Sending HEAD request to https://packages.unity.com
[2020-05-17T20:00:15.472Z][INFO][PingUpmRegistry] Starting ping test on ‘http://packages.unity.com/com.unity.package-manager.metadata
[2020-05-17T20:00:21.089Z][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-05-17T20:00:26.325Z][INFO][UpmRegistryDownloadSpeed] Starting speed test with UPM registry
[2020-05-17T20:00:37.169Z][INFO][UpmRegistryDownloadSpeed] Download: 19.07 Megabits per second
[2020-05-17T20:00:37.169Z][INFO][Speedtest.Net] Starting speed test with Speedtest.net
[2020-05-17T20:00:50.733Z][INFO][Speedtest.Net] Download: 15.59 Megabits per second
[2020-05-17T20:00:50.733Z][INFO][Speedtest.Net] Upload: 2.07 Megabits per second
[2020-05-17T20:00:50.811Z][INFO][UpmHealthCheck] Starting health check
[2020-05-17T20:00:56.328Z][INFO] Finished diagnostics
[2020-05-17T20:00:56.371Z][INFO] Created report at ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_17_05_2020_150007_01.txt’

5862556–623392–diagnostic_report_17_05_2020_150007_01.txt (1.53 KB)

Hi there!

Please check out the pinned thread here for more information on how to resolve this.

Thanks, I’ve already tried that but it didn’t work for me

What did you try exactly? Could you provide us a bit more information as to what you’re running? It might be worth providing us with an Editor.log file too - you can find where this is here: Unity - Manual: Log files

Here´s the Editor.log:

[LicensingClient] ERROR Failed to connect to local IPC
[Licensing::Module] Failed to connect to channel: LicenseClient-User
[Licensing::Module] Successfully launched the LicensingClient
[Licensing::Module] Successfully connected to LicensingClient on channel: LicenseClient-User
[Licensing::Module] Successfully launched and connected to LicensingClient
Entitlement-based licensing initiated
[LicensingClient] Licenses Updated successfully in LicensingClient

LICENSE SYSTEM [202061 12:59:43] Next license update check is after 2020-06-02T17:49:29

Built from ‘2019.3/release’ branch; Version is ‘2019.3.13f1 (d4ddf0d95db9) revision 13950448’; Using compiler version ‘191627012’
OS: ‘Windows 10 (10.0.0) 64bit’ Language: ‘es’ Physical Memory: 3528 MB
[Licensing::Module] Serial number assigned to: “F4-MV52-CQT9-VN2P-JTUB-XXXX”\nBatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
[Package Manager] Server::Start – Port 59684 was selected

COMMAND LINE ARGUMENTS:
C:\Users\User\Desktop\2019.3.13f1\Editor\Unity.exe
-projectPath
C:\Users\User\Desktop\games\games\Trabajo 12
Successfully changed project path to: C:\Users\User\Desktop\games\games\Trabajo 12
C:/Users/User/Desktop/games/games/Trabajo 12
Using Asset Import Pipeline V2.
[Package Manager] Server::EnsureServerProcessIsRunning – ReadyRequest exceeded maximum alloted time, ran for [10] seconds
[Package Manager] Server::Kill – Server was shutdown
[Package Manager] PackageManager Server::Start – Process restart attempt #2

[Package Manager] Server::Start – Port 59687 was selected
[Package Manager] Cannot connect to Unity Package Manager local server
[Package Manager] Server::EnsureServerProcessIsRunning – ReadyRequest exceeded maximum alloted time, ran for [10] seconds
[Package Manager] Server::Kill – Server was shutdown
[Package Manager] PackageManager Server::Start – Process restart attempt #3

[Package Manager] Server::Start – Port 59688 was selected
[Package Manager] Cannot connect to Unity Package Manager local server
[Package Manager] Server::EnsureServerProcessIsRunning – ReadyRequest exceeded maximum alloted time, ran for [10] seconds
[Package Manager] Server::Kill – Server was shutdown
[Package Manager] PackageManager Server::Start – Process restart attempt #4

[Package Manager] Server::Start – Port 52454 was selected
[Package Manager] Cannot connect to Unity Package Manager local server
[Package Manager] Could not establish a connection with the Unity Package Manager local server process. This is most likely due to a proxy or firewall configuration. Make sure the process [C:/Users/User/Desktop/2019.3.13f1/Editor/Data/Resources/PackageManager/Server/UnityPackageManager.exe] is reachable via HTTP on the IP address 127.0.0.1.
Exiting without the bug reporter. Application will terminate with return code 1

We’ve taken a look at the log and it seems something on your computer is blocking the connection between the Unity Package Manager and Unity itself. Please can you make sure you’re not running any strict firewalls and that both applications have sufficient network rights?

How do I do that?

It would be outlined in the thread I advised the other day: **READ ME FIRST** Troubleshooting connection/loading project issues with Package Manager

The issue seems to be something out of Unitys control. You’d need to make sure that your own configuration is not interfering with our software as the errors are suggesting that this is the case.

Thanks, I’ll try

I still got the same error

upm-diag.log:
[2020-06-17T18:58:20.356Z][INFO] Opened report file ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_17_06_2020_135813_13.txt’
[2020-06-17T18:58:20.371Z][INFO] Starting diagnostics
[2020-06-17T18:58:20.371Z][INFO][UpmRegistryReachable] Sending HEAD request to https://packages.unity.com
[2020-06-17T18:58:22.450Z][INFO][PingUpmRegistry] Starting ping test on ‘http://packages.unity.com/com.unity.package-manager.metadata
[2020-06-17T18:58:22.512Z][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-17T18:58:22.590Z][INFO][UpmRegistryDownloadSpeed] Starting speed test with UPM registry
[2020-06-17T18:58:24.653Z][INFO][Speedtest.Net] Starting speed test with Speedtest.net
[2020-06-17T18:58:24.699Z][INFO][UpmHealthCheck] Starting health check
[2020-06-17T18:58:29.699Z][INFO] Finished diagnostics
[2020-06-17T18:58:29.731Z][INFO] Created report at ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_17_06_2020_135813_13.txt’

5992919–644651–diagnostic_report_17_06_2020_135813_13.txt (1.37 KB)

Hey there!

It looks as so you’ve incorrectly set the proxy variables on your computer.

For example, HTTP_PROXY and HTTPS_PROXY, both have a trailing dot (>> HTTPS_PROXY = 127.0.0.1.

HTTP_PROXY = 127.0.0.1.).

As a consequence of this, you will run into general connectivity issues, you can see that the tests we run to verify connectivity to our registries are failing, the speedtest for yoiur connection is also failing. You’ll need to fix this in order for the software to correctly run.

The reality is, if you don’t have a proxy configured for your computer, you shouldn’t need to be configuring the proxy through the environment variables.

Thank you very much, it worked! :smile: