Could not establish trust relationship for the SSL/TLS secure channelFixed
Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS
secure channel.
At line:26 char:1
+ Invoke-WebRequest https://umod.io/dotnet-install.ps1 -OutFile dotnet- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

uMod install did not complete, please try again

Just an update, i was not able to run any command on the existing install either. Everything just stopped working. Example...

No username given. Using anonymous account with dedicated server subscription.

Connecting to Steam3... Done!

Logging anonymously into Steam3... Done!

Using Steam3 suggested CellID: 85

Got AppInfo for 896660

Using app branch: 'public'.

Got depot key for 1004 result: OK

Got depot key for 896662 result: OK

Processing depot 1004 - Steamworks SDK Redist (WIN32)

Already have manifest 2734093816597092246 for depot 1004.

Manifest 2734093816597092246 (14/09/2021 21:22:41)

Processing depot 896662 - Valheim dedicated server Windows

Downloading depot manifest...Got CDN auth token for steamcontent.com result: Fail (expires 01/01/1970 00:00:00)

Disconnected from Steam​

Thanks for the report, the umod.cloud issue has been fixed. The Steam issue is not related to the agent, as that connect is made with Steam, not our sites.

Hmm, Strange because i can use Steam CMD perfectly fine without issue. But uMod still failing. Any Ideas.

Update:
This is happening, never used too. I always run Powershell as Admin.

Tool 'umod' failed to update due to the following:
Failed to uninstall tool package 'umod': Access to the path 'C:\Users\Administrator\.dotnet\tools\.store\umod\1.2.364-develop' is denied.​

This isn't from our agent at all, but I did just see an update for DepotDownloader (that we use for Steam), which looks like the case. I'll update with that change shortly.

Got CDN auth token for steamcontent.com result: Fail (expires 01/01/1970 00:00:00)​

For the path, I'd check to make sure the user you have running the tool has access to that location.



Merged post

Should be good to go now!

Has the path changed, as ive never had this problem until now? I still cant update uMod, still getting the steamcontent.com fail, but assuming thats because uMod cant update.

tJSH6EgqXMxfA64.jpg markmozza

Has the path changed, as ive never had this problem until now? I still cant update uMod, still getting the steamcontent.com fail, but assuming thats because uMod cant update.

Path for what? Nothing has changed with the tools, only the fixes mentioned above. Did you update the agent?

Sorry i cant update the agent as im getting

Failed to uninstall tool package 'umod': Access to the path 'C:\Users\Administrator\.dotnet\tools\.store\umod\1.2.364-develop' is denied.​

But again this has never been an issue before.



Merged post

  _   _ __  __  ___  ____
 | | | |  \/  |/ _ \|  _ \
 | | | | |\/| | | | | | | |
 | |_| | |  | | |_| | |_| |
  \___/|_|  |_|\___/|____/

Downloading dotnet-install...
Installing .NET 5.0...
dotnet-install: .NET Core SDK version 5.0.401 is already installed.
dotnet-install: Adding to current process PATH: "C:\Users\Administrator\AppData\Local\Microsoft\dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
Installing uMod global tool...
Tool 'umod' failed to update due to the following:
Failed to uninstall tool package 'umod': Access to the path 'C:\Users\Administrator\.dotnet\tools\.store\umod\1.2.364-develop' is denied.

uMod install did not complete, please try again

I'd suggest deleting that path and trying  to install again.

Couldnt delete the folder, restarted and same, i had 3 umods running, ended the process, deleted the folder and now getting the following.

Tool 'umod' failed to update due to the following:
Failed to create shell shim for tool 'umod': Command 'umod' conflicts with an existing command from another tool.
Tool 'umod' failed to install.​

Which command did you use to update?

&powershell -NoProfile -ExecutionPolicy unrestricted -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;&([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://umod.io/umod-install.ps1')))"


Merged post

Just tried
dotnet tool install -g uMod --version "*-*"​

Got

Failed to create shell shim for tool 'umod': Command 'umod' conflicts with an existing command from another tool.
Tool 'umod' failed to install.

Look for any uMod files under the following location and delete those, then try again.

C:\Users\Administrator\.dotnet\tools\

Omg as if! Thank you this worked :D

Merged post

Can confirm my server is now updating fine!

Locked automatically