#exception api, unable installing

42 messages · Page 1 of 1 (latest)

silver jetty
#

i tried downloading a mod and it just says unable installing/uninstalling and scarab was unable to access the file in the mods folder.

and when i try to run the modded game it says something along the lines of "an exception was made and couldn't download api" or something.

#

it's not a connection issue. i tried with vpn and non vpn and even tried with mods that were light in terms of mb

neat trench
#

Try moving scarab to desktop and running it as administrator (right click and click on run as administrator)

silver jetty
neat trench
#

Copy error and paste it here

silver jetty
#

An exception occured while Install API

Scarab Version: 2.3.0.0

System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (objects.githubusercontent.com:443)
---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at

#

System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Scarab.Util.HttpClientExt.DownloadBytesWithProgressAsync(HttpClient self, Uri uri, IProgress1 progress, CancellationToken cts) in D:\a\Scarab\Scarab\Scarab\Util\HttpClientExt.cs:line 22 at Scarab.Services.Installer.DownloadFile(String uri, Action1 setProgress) in D:\a\Scarab\Scarab\Scarab\Services\Installer.cs:line 569
at Scarab.Services.Installer._InstallApi(ValueTuple3 manifest) in D:\a\Scarab\Scarab\Scarab\Services\Installer.cs:line 281 at Scarab.Services.Installer.InstallApi() in D:\a\Scarab\Scarab\Scarab\Services\Installer.cs:line 258 at Scarab.ViewModels.ModListViewModel.<ToggleApiCommand>g__DoActionWithWithErrorHandling|86_0(Func1 Action) in D:\a\Scarab\Scarab\Scarab\ViewModels\ModListViewModel.cs:line 479

#

i think this was for the api

#

and this was for the mod

Unable to installing or uninstalling Satchel.
Scarab was unable to access the file in the mods folder.

Scarab Version: 2.3.0.0

System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory1 buffer, CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at

#

System.Net.Http.HttpConnection.ReadAsync(Memory1 destination) at System.Net.Http.HttpConnection.ContentLengthReadStream.ReadAsync(Memory1 buffer, CancellationToken cancellationToken)
at Scarab.Util.HttpClientExt.DownloadBytesWithProgressAsync(HttpClient self, Uri uri, IProgress1 progress, CancellationToken cts) in D:\a\Scarab\Scarab\Scarab\Util\HttpClientExt.cs:line 89 at Scarab.Util.HttpClientExt.DownloadBytesWithProgressAsync(HttpClient self, Uri uri, IProgress1 progress, CancellationToken cts) in D:\a\Scarab\Scarab\Scarab\Util\HttpClientExt.cs:line 89
at Scarab.Services.Installer.DownloadFile(String uri, Action1 setProgress) in D:\a\Scarab\Scarab\Scarab\Services\Installer.cs:line 569 at Scarab.Services.Installer._InstallApi(ValueTuple3 manifest) in D:\a\Scarab\Scarab\Scarab\Services\Installer.cs:line 281
at Scarab.Services.Installer.InstallApi() in D:\a\Scarab\Scarab\Scarab\Services\Installer.cs:line 258
at Scarab.Services.Installer.Install(ModItem mod, Action1 setProgress, Boolean enable) in D:\a\Scarab\Scarab\Scarab\Services\Installer.cs:line 348 at Scarab.Models.ModItem.OnInstall(IInstaller inst, Action1 setProgress) in D:\a\Scarab\Scarab\Scarab\Models\ModItem.cs:line 214
at Scarab.ViewModels.ModListViewModel.InternalModDownload(ModItem item, Func`3 downloader) in D:\a\Scarab\Scarab\Scarab\ViewModels\ModListViewModel.cs:line 824

neat trench
#

scarab isnt able to connect to internet

#

maybe try plugging in your laptop to ethernet

silver jetty
#

i don't have an Ethernet cable available atm. i don't understand why scarab cant connect though. everything else works completely fine

neat trench
#

Maybe it's some firewall issue

silver jetty
#

i made sure my windows security was turned off so it wouldn't block or stop anything on its own

neat trench
#

Try this maybe

silver jetty
#

and usually connection problems for me rise up from being in a place where many sites are blocked and such so i even used a vpn

neat trench
#

Do you live in China?

#

If so idt I can fix it

#

There was talk of mirroring modlinks on another site to make it easier to download stuff there

#

Idk how far that's come

silver jetty
#

unfortunately and or fortunately no. i live in syria

neat trench
#

I didn't know stuff was blocked in syria

silver jetty
#

yeah a lot of stuff gets blocked. more than you'd expect. for example with the new discord mobile update i can no longer send images without a vpn

silver jetty
neat trench
#

Cuz you can always download mods manually

silver jetty
#

but I still can't run the modded game

pliant girderBOT
#

Extras

How do I manually install Mods and why would I need to?

🔹 Manually installing mods has several purposes, it can be used if you have a mod that isn't yet on the installer, if you're encountering a problem that leaves you no other options, or if you're installing mods for a version of the game that the installer doesn't support.
🔹 1. (1.5) For mods on Scarab, the Github links can be found here, then the mod can be downloaded from the releases section of the Github: https://github.com/hk-modding/modlinks/blob/main/ModLinks.xml.
(1.4.3.2) Find the "dll" file of the mod you would like to install, for mods that are on the installer you can download them from this google drive: https://drive.google.com/drive/u/0/folders/1lnjtSYMfRe1LyA_qSq2CoXKI6NRm_I-e.

Otherwise, searching for the github, downloading them from the mod channels (requires the dev-channels role, available in #opt-in-roles), or from the (currently WIP) list of mods pinned in #hk-resources.
2. Mod Installer 1 comes with a feature allowing you to "Manually Install Mods", using this will add the mod you installed to your mod installer list. Allowing you to easily enable, disable, or uninstall it. Mod Installer 2/Scarab does not have this feature. To use it simply select the "Manually Install Mods" button near the bottom of the installer, this will open a file select menu, then use this menu to find the dll file for the mod you want to install, select it and click "Open". This method should not be used if installing mods for versions other than the one the installer supports.
3. If the installer fails to properly download the "Modding API", or you are modding a different version of the game, you will need to manually install the correct version of the Modding API.

Jump

[Go to message!](#927781919427559475 message)

silver jetty
#

cause of the whole "exception" api

neat trench
#

If you download the API manually it doesn't matter

#

Scarab is just a file placer

#

It doesn't run mods

silver jetty
#

then here's hoping. tho I'll have to wait till tomorrow to try. I'll get back to you as soon possible and ty a lot btw

neat trench
#

Manually installing is not hard just a bit tedious cuz you have to be careful to ensure dependency are also installed

silver jetty
#

yeah makes sense

patent ridge
#

I'm having this same issue. Just installed scarab for the first time on a new computer and nothing is working

#

firewall isn't blocking anything, but when I go to install a mod I get an error message

neat trench
#

And describe your issue seperately