Package Manager Diagnostic Help

I need help! Every time I download a new Unity version it says that it could not establish a connection with the Unity Package Manager.

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: Fri, 22 May 2020 08:51:47 GMT
Connection: close

:white_check_mark: Ping UPM registry (PASS)
Measure the latency of the UPM package registry API

7 pings made in 5.233 seconds
Average latency: 126.91 ms
Minimum latency: 125.17 ms
Maximum latency: 131.16 ms
Standard deviation: 2.27

:white_check_mark: Ping UPM download (PASS)
Measure the latency of the UPM package download endpoint

7 pings made in 5.587 seconds
Average latency: 10.86 ms
Minimum latency: 10.31 ms
Maximum latency: 11.54 ms
Standard deviation: 0.41

:white_check_mark: UPM registry download speed (PASS)
Test the Internet connection using the UPM package registry

Measured speed to the UPM registry: 89.66 Megabits per second

:white_check_mark: Speedtest.net (PASS)
Test the Internet connection using Speedtest.net

Measured speed to the Speedtest.net server: 85.57 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

UPM Diag:
[2020-05-22T08:51:41.498Z][INFO] Opened report file ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_22_05_2020_105138,58.txt’
[2020-05-22T08:51:41.502Z][INFO] Starting diagnostics
[2020-05-22T08:51:41.512Z][INFO][UpmRegistryReachable] Sending HEAD request to https://packages.unity.com
[2020-05-22T08:51:42.163Z][INFO][PingUpmRegistry] Starting ping test on ‘http://packages.unity.com/com.unity.package-manager.metadata
[2020-05-22T08:51:47.614Z][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-22T08:51:53.205Z][INFO][UpmRegistryDownloadSpeed] Starting speed test with UPM registry
[2020-05-22T08:51:58.164Z][INFO][UpmRegistryDownloadSpeed] Download: 89.66 Megabits per second
[2020-05-22T08:51:58.171Z][INFO][Speedtest.Net] Starting speed test with Speedtest.net
[2020-05-22T08:52:10.755Z][INFO][Speedtest.Net] Download: 85.57 Megabits per second
[2020-05-22T08:52:10.755Z][INFO][Speedtest.Net] Upload: 21.08 Megabits per second
[2020-05-22T08:52:10.791Z][INFO][UpmHealthCheck] Starting health check
[2020-05-22T08:52:15.905Z][INFO] Finished diagnostics
[2020-05-22T08:52:15.941Z][INFO] Created report at ‘C:\ProgramData\Unity\UnityPackageManagerDiagnostics\diagnostic_report_22_05_2020_105138,58.txt’

Hi there!

Apologies for the delay in our reply.

I’d suggest checking out our pinned topic on this to help diagnose this: **READ ME FIRST** Troubleshooting connection/loading project issues with Package Manager

Also, someone from our Package Manager team did suggest trying to reinstall the software - can I ask if you have tried this?

Yeah I already tried to uninstall and reinstall everything I even deleted all the unity/unity hub folders but still nothing.

Later I’ll try your thread suggestion bc rn my pc is updating

Sure - try the thread I linked and if you still have issues, we’ll need your editor + upm logs.They can be found here! Unity - Manual: Log files

So i’ve tried the thread and nothing has worked for me an i have tried to go to 127.0.0.1 (i use chrome) and it said “ERR_CONNECTION_REFUSED”… maybe that could help.
And here are the two logs:

Editor:

[LicensingClient] ERROR Failed to connect to local IPC
[Licensing::Module] Failed to connect to channel: LicenseClient-cines
[Licensing::Module] Successfully launched the LicensingClient
[LicensingClient] Timed-out attempting to connect to the Licensing Client on pipe: LicenseClient-cines.
[LicensingClient] ERROR Failed to connect to local IPC
[Licensing::Module] Failed to connect to channel: LicenseClient-cines
IPC channel to LicensingClient doesn’t exist; falling back to Legacy licensing
[LicensingClient] ERROR Failed to disconnect local IPC connection

LICENSE SYSTEM [2020612 18:32:1] Next license update check is after 2020-06-13T11:46:24

LICENSE SYSTEM [2020612 18:32:1] 00326-10000-00000-AA431 != 00326-10000-00000-AA286

Built from ‘2019.3/release’ branch; Version is ‘2019.3.14f1 (2b330bf6d2d8) revision 2831115’; Using compiler version ‘191627012’
OS: ‘Windows 10 (10.0.0) 64bit’ Language: ‘de’ Physical Memory: 7763 MB
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
[Package Manager] Server::Start – Port 57643 was selected

COMMAND LINE ARGUMENTS:
C:\Program Files\Unity\Hub\Editor\2019.3.14f1\Editor\Unity.exe
-projectpath
C:/Users/cines/Documents/Unity Projects/GLADIATORS FIGHT - VR game
-useHub
-hubIPC
-cloudEnvironment
production
-hubSessionId
29fb8e90-acc8-11ea-a80b-85535112f575
-accessToken
OAQk5oeqdyR1mREhfqX7Q54OIA_7_FWv7wa-uykIKOw008f
Successfully changed project path to: C:/Users/cines/Documents/Unity Projects/GLADIATORS FIGHT - VR game
C:/Users/cines/Documents/Unity Projects/GLADIATORS FIGHT - VR game
Using Asset Import Pipeline V2.
[Package Manager] Server::EnsureServerProcessIsRunning – ReadyRequest exceeded maximum alloted time, ran for [11] seconds
[Package Manager] Server::Kill – Server was shutdown
[Package Manager] PackageManager Server::Start – Process restart attempt #2

[Package Manager] Server::Start – Port 57646 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 64435 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 49724 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:/Program Files/Unity/Hub/Editor/2019.3.14f1/Editor/Data/Resources/PackageManager/Server/UnityPackageManager.exe] is reachable via HTTP on the IP address 127.0.0.1.
[Package Manager] Diagnostics::Start – Successfully launched external process
[Package Manager] Diagnostics::Wait – Process finished after 39.12 seconds
Exiting without the bug reporter. Application will terminate with return code 1

upm:

[2020-06-12T16:32:45.373Z][INFO] Starting Server
[2020-06-12T16:32:45.433Z][INFO] Server started on port [49724]
[2020-06-12T16:33:26.672Z][ERROR] [Unity Package Manager (Upm)]
Parent process [10628] was terminated

Hey there, apologies for the delay.

This does look like a firewall issue. UPM seems to be successfully starting and starts listening to incoming connections, but Unity is unable to connect to it. That’s typically some firewall acting up and blocking the connection

You said that you reinstalled Unity and the Hub so that seems to rule out a corrupted installation - the Hub creates Windows Defender exception rules for UPM during installation. Are you using a different firewall from Windows defender, or are you running this in some strict corporate network config…?

Yeah no worries.

I use the firewall from Windows Defender.

Hmm… well in that case, you will want to make a bug report on this issue then so we can take a deeper look.

The process can be found here: Unity QA: Building quality with passion