UPM Health Check (Fail)

Hi,
I was trying to open a new project, but every time I try, it gets stuck on starting the server. Then it appears this message saying that “Could not establish a connection with the Unity package manager local server”. Finally when I run the diagnose, it creates this report saying that the UPM Health Check failed.
This 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: Thu, 11 Jun 2020 19:08:24 GMT
Connection: close

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

5 pings made in 5.899 seconds
Average latency: 141.24 ms
Minimum latency: 139.69 ms
Maximum latency: 144.26 ms
Standard deviation: 1.84

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

5 pings made in 5.465 seconds
Average latency: 43.93 ms
Minimum latency: 41.73 ms
Maximum latency: 46.56 ms
Standard deviation: 1.93

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

Measured speed to the UPM registry: 17.95 Megabits per second

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

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

I hope you can help me fix this issue.

1 Like

Hey there,

Could you please go through the pinned thread outlined here for more assistance? **READ ME FIRST** Troubleshooting connection/loading project issues with Package Manager

Hey,

I have already made all the changes that were written in the pinned thread, but I’m still getting the same error.

What can I do?

Hey,

I have already made all the changes that were written in the pinned thread, but I’m still getting the same error.

What can I do?

Could you please attach your editor + upm log files to a post so we can take a deeper look?

Here it is.

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

LICENSE SYSTEM [2020624 21:8:46] Next license update check is after 2020-06-25T19:13:30

LICENSE SYSTEM [2020624 21:8:46] 00326-10000-00000-AA872 != 00326-10000-00000-AA022

Built from ‘2019.4/release’ branch; Version is ‘2019.4.1f1 (e6c045e14e4e) revision 15122501’; Using compiler version ‘191627012’
OS: ‘Windows 10 (10.0.0) 64bit’ Language: ‘en’ Physical Memory: 3537 MB
BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
[Package Manager] Server::Start – Port 51216 was selected

COMMAND LINE ARGUMENTS:
C:\Program Files\Unity\Hub\Editor\2019.4.1f1\Editor\Unity.exe
-projectpath
C:\Users\Gui\APP’s e Jogos\Apps Unity\The Last Life
-useHub
-hubIPC
-cloudEnvironment
production
-hubSessionId
c04f2ca0-b64e-11ea-bbf3-4be0c47bfeab
-accessToken
dCcXsYxK8j1zUtY2pL9EOj56G4S4N_yPimiOBnetAmc006f
Successfully changed project path to: C:\Users\Gui\APP’s e Jogos\Apps Unity\The Last Life
C:/Users/Gui/APP’s e Jogos/Apps Unity/The Last Life
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 51219 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 51220 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 51221 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.4.1f1/Editor/Data/Resources/PackageManager/Server/UnityPackageManager.exe] is reachable via HTTP on the IP address 127.0.0.1 in Windows Defender or any other proxy/firewall software configuration.
Exiting without the bug reporter. Application will terminate with return code 1
‘’

Upm Log:

‘’
[2020-06-24T20:09:29.018Z][INFO] Starting Server
[2020-06-24T20:09:29.103Z][INFO] Server started on port [51221]
[2020-06-24T20:09:30.106Z][ERROR] [Unity Package Manager (Upm)]
Parent process [12580] was terminated

‘’

Thanks for all the Help

@GUICM2004 : any feedback?

Unfortunately, NO

So from what we can see here according to the log files and diagnostics report, UPM starts, but Unity is unable to connect to it over local HTTP, you’re running on Windows, so it may be an issue with the Windows Firewall rules or some other firewall running locally.

Additionally it’s worth checking out the stickied post just to double check anything you may have missed: https://discussions.unity.com/t/786027

Hey there,
It is may be that you are using any web server (like node.js, xampp or etc that is using your server) on back*.*
So, please before using unity please stopped them.
If they will not stop so restart your system to proceed.

What is a web server and how do I acess them?

Just installed 2020.1.16f1 and get this from the log file:

❌ UPM health check (FAIL)
Start the UPM process and call its health endpoint

Server exited unexpectedly. Exit code: 216

Rebooting didn’t help. Pressing Retry a bunch of times didn’t help. I am trying to open a brand new empty project.

Running the UnityPackageManager.exe in a command window I get this:

Node.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher.
Setting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this
check, but Node.js might not execute correctly. Any issues encountered on
unsupported platforms will not be fixed.

I am running Windows 7 but it is listed in the system requirements. I don’t use Node.js so am I okay if I skip the platform check?

Hey,

Sorry to see you are running into this issue and thanks a lot for providing all the information about it.

Package Manager Server is a Node js application. If you set the environment variable NODE_SKIP_PLATFORM_CHECK to 1, can you open your project and work on it? There are instruction on how to set up environment variables in this forum post , I think you already took a look into it

We are looking into this issue, thanks again for reporting.

Cheers,

Supi

I did get in after setting the environment variable and rebooting. I tried updating a project from 2019.3.0 to 2020.1.16f1 and a lot of things broke. Many flags were unset. Going through to find every problem the conversion might have caused is too much. So I am sticking with 2019.3. I have another game that is stuck in Unity 5 because later versions broke the lighting significantly. It is sad that the update process is so broken. I have 3 games out using Unity and each one requires a different version of Unity. Now I have a forth.

hmm in my particular case, I run on CMD Windows 10 “netstat -aon” and I look for the Unity Port attached to 127.0.0.1 and then look for the PID, copy and run another CMD and write “taskkill /PID XXXXX /F” and this solves the issue (for me at least)

Hi,
I am neither able to launch 2021.3 Unity nor the 2020.3.33. I get the upm launch error.
I have no such issues with unity 2020.3.31.
I have disabled firewall and set up the inbound rules and reinstalled but the issue persits.

The diagnostic report is as follows

Unity Package Manager Diagnostics (v0.2.0)

Ran 6 checks

3 succeeded
1 failed
2 returned a warning

: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: Mon, 18 Apr 2022 12:17:04 GMT
Connection: close

:warning: Ping UPM registry (WARNING)
Measure the latency of the UPM package registry API

3 pings made in 5.666 seconds
Average latency: 328.91 ms
Minimum latency: 309.54 ms
Maximum latency: 349.54 ms
Standard deviation: 20.03

:warning: Ping UPM download (WARNING)
Measure the latency of the UPM package download endpoint

3 pings made in 6.603 seconds
Average latency: 40.23 ms
Minimum latency: 37.65 ms
Maximum latency: 43.89 ms
Standard deviation: 3.26

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

Measured speed to the UPM registry: 9.39 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)

Proxy support has been configured through the following environment variables:
UNITY_NOPROXY = localhost,127.0.0.1

:x: UPM health check (FAIL)
Start the UPM process and call its health endpoint

Server exited unexpectedly. Exit code: 3221225785


I am also not able to launch the unitypackagemanager form the command prompt to perform the health check " UnityPackageManager -p 10010" . Attaching the error screen shot

Now that Package Manager is running, try browsing to http://localhost:10010/health (replacing 10010 with your own port number if needed) to check that Package Manager is responding.

2 Likes

Enjoying the same error.

Trying to launch Unity, I get the above diagnostic registering Project Manager’s health check failure. Trying to pen it results in, “The procedure entry point Event SetInformation could not be located in the dynamic link library Advapi32.dll.”

So Windows 7 users can’t launch Unity 2021 LTS. None of the solutions listed fix the issue. 2019 and 2020 run fine with no errors.

[EDIT!]

Fixed, with the stupidest primate brain solution possible: I deleted the Package Manager folder from the Resources folder. Copied the Package Manager folder from 2021.1.22, to the 2022.3.0f1 Resources folder…

…walla. Runs fine. Throws warnings but they are fixable.

Thanks, worked for me!

Ultimately I caved and just installed Win10 on a new SSD. Which, of course, broke Unity’s licensing. :stuck_out_tongue: So that’s fun.

Plastic was crashing on 7, couldn’t connect, all kinds of issues.

If your project doesn’t need plastic-scm or other package manager online support, that’s a temporary solution. Glad it helped.

Hi, we’ve been investigating this over the past few days (since this post popped up) and we cannot reproduce the issue.

@Kiteva4 and @astanid Is the Windows 7 machine where it doesn’t work fully updated? Can you navigate to C:\Windows\system32, find “advapi32.dll”, open its properties and show its version info? “EventSetInformation” exists on our Windows 7 installs: