Downloads Failing

This issue has been created since 2021-11-02.

Ever since the upgrade to api4, the plugin list and plugins themselves have failed to download about half the times attempting to do so. I've run out of ideas on how to try to fix this on my end, so if it is on my end, any help would be appreciated.

This happens at random about half the times I open the plugin list:

2021-11-02 11:03:05.134 -04:00 [ERR] [PLUGINR] PluginMaster failed: https://raw.githubusercontent.com/goatcorp/DalamudPlugins/api4/pluginmaster.json
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.Net.InternalException: Exception of type 'System.Net.InternalException' was thrown. -2146892963
   at System.Net.SecurityStatusAdapterPal.GetSecurityStatusPalFromInterop(SECURITY_STATUS win32SecurityStatus, Boolean attachException)
   at System.Net.Security.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials& credentialsHandle, SafeDeleteSslContext& context, String targetName, ReadOnlySpan`1 inputBuffer, Byte[]& outputBuffer, SslAuthenticationOptions sslAuthenticationOptions)
   at System.Net.Security.SecureChannel.GenerateToken(ReadOnlySpan`1 inputBuffer, Byte[]& output)
   at System.Net.Security.SecureChannel.NextMessage(ReadOnlySpan`1 incomingBuffer)
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, 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.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(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.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
   at Dalamud.Plugin.Internal.PluginRepository.ReloadPluginMasterAsync() in C:\goatsoft\companysecrets\dalamud\Plugin\Internal\PluginRepository.cs:line 80

And this consistently happens the first time I try to install any plugin:

2021-11-02 11:10:53.379 -04:00 [ERR] [PLUGINW] Plugin installer threw an unexpected error
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
 ---> System.Net.InternalException: Exception of type 'System.Net.InternalException' was thrown. -2146892963
   at System.Net.SecurityStatusAdapterPal.GetSecurityStatusPalFromInterop(SECURITY_STATUS win32SecurityStatus, Boolean attachException)
   at System.Net.Security.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials& credentialsHandle, SafeDeleteSslContext& context, String targetName, ReadOnlySpan`1 inputBuffer, Byte[]& outputBuffer, SslAuthenticationOptions sslAuthenticationOptions)
   at System.Net.Security.SecureChannel.GenerateToken(ReadOnlySpan`1 inputBuffer, Byte[]& output)
   at System.Net.Security.SecureChannel.NextMessage(ReadOnlySpan`1 incomingBuffer)
   at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, 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.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(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.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
   at Dalamud.Plugin.Internal.PluginManager.InstallPluginAsync(RemotePluginManifest repoManifest, Boolean useTesting, PluginLoadReason reason) in C:\goatsoft\companysecrets\dalamud\Plugin\Internal\PluginManager.cs:line 413
daemitus wrote this answer on 2021-11-02

Its an SSL issue (0x8009035D), probably something incredibly dumb on your system.

https://support.microsoft.com/en-us/topic/ms15-055-vulnerability-in-schannel-could-allow-information-disclosure-may-12-2015-e5b7e0c8-e658-c1c7-fd0f-8d8d46dc5e81 was linked as one potential fix. Set the reg key (you may need to create folders), restart, see if it happens. If it still does, remove the key.

daemitus wrote this answer on 2021-11-02

If you're in some sort of environment where you're forced to use a proxy, that could be a problem too. Might try experimenting with a VPN

EEinders wrote this answer on 2021-11-02

Unfortunately those suggestions didn't help, but after a fresh install of Windows to remove myself from the insider program, I'm no longer experiencing the issue. Thanks for the suggestions and sorry for the trouble.

More Details About Repo
Owner Name goatcorp
Repo Name Dalamud
Full Name goatcorp/Dalamud
Language C#
Created Date 2019-09-21
Updated Date 2022-09-13
Star Count 549
Watcher Count 16
Fork Count 151
Issue Count 76

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
5.15.45 升级到 5.15.50版本BUG反馈 9 2022-07-10 2022-08-16
文件夹名字中有#号会提示该路径不存在,文件夹名字显示不完整 2 2022-07-26 2022-09-19
error saving <object>: driver: bad connection 0 2022-06-03 2022-09-01
generate_tflite failed 1 2021-06-03 2022-07-08
Replace GoBuster with FFUF 0 2021-04-13 2022-09-26
Please recommend proxy server 0 2022-02-05 2022-08-15
Message: unknown error: cannot find Chrome binary 4 2022-01-20 2022-08-17
Cosmos: Provide ability to separate storage of snapshots 1 2018-12-08 2022-09-26
Broken links in AUTHENTICATION.md 0 2021-10-26 2022-09-21
[BUG] Doesn't switch to headphones 2 2022-03-15 2022-09-13
Support for DAC 0 2021-12-27 2022-01-13
Names of new namespaces are not listed on /v1/namespaces/{tld}/names 2 2022-08-24 2022-09-22
Microsoft.CodeAnalysis.VisualBasic version conflict 1 2021-08-31 2022-09-17
Does `flatReductions` in `damageModifierSet` function correctly? 3 2022-07-21 2022-08-21
Color thresholds don't work 1 2020-12-23 2022-08-30
Cannot rename category missing ok button 4 2022-05-09 2022-09-20
Checked catching of detail::forced_unwind is broken 1 2021-08-05 2022-09-28
Cli generate entity select multiple tables 2 2021-10-31 2022-09-24
Stack Navigator from createSharedElementStackNavigator gives type error 1 2021-10-15 2022-08-29
npmmirror 变更接口兼容问题反馈 11 2022-02-07 2022-09-02
Removing init scripts does not work 2 2017-01-25 2022-09-24
NS1: Enable DS support 0 2022-03-07 2022-07-24
Reciving 404 error\ 1 2021-09-21 2022-01-17
Tasks: an exception is thrown while reading task statistics 1 2021-12-03 2022-09-15
Powershell Microsoft.Graph- How to set MaxRetry 4 2022-02-22 2022-09-06
Allow custom loader in ViewManager 2 2022-01-21 2022-09-14
Error: CustomResourceDefinition.apiextensions.k8s.io "devices.devices.kubeedge.io" is invalid: spec.versions: Invalid value: [] 2 2021-10-18 2022-09-28
How to make img relative path work? 3 2019-04-01 2022-09-11
Support subject:wikidata and subject:wikipedia for historic=memorial and tourism=artwork and information=board 1 2022-07-14 2022-09-15
Vulnerability roundup 114: pjsip-2.12: 2 advisories [7.5] 2 2022-05-11 2022-09-19
packageTool.cs 中静态变量 resVersion appVersion在每次编译完脚本后重置 unity版本2018.4.22lts 0 2021-01-16 2022-08-21
Installation fails when WITH_TLS=no 2 2021-08-19 2022-08-10
Out of order messages following a multiple message forwarding from Android 5 2021-11-20 2022-09-14
Misleading note on how to log to Log Stream 4 2020-12-09 2022-09-07
Unable to download some files. 0 2021-01-10 2022-09-16
[chassis][pmon]chassis_db_init process shown as FATAL state in the PMON 1 2022-01-10 2022-09-16
[Core] Move Mocking Transport to Azure.Core 1 2022-04-29 2022-08-11
SyntaxError: Unexpected string in JSON at position 43 0 2018-10-01 2022-09-29
Accessing locked cache 0 2021-01-03 2022-08-09
Neuropod (v3.0.0-rc1) cannot be packaged through python 7 2021-01-13 2022-09-26
Expose S3AsynBuilder 0 2022-01-07 2022-09-28
Required dependencies, lazy imports 0 2021-08-05 2022-09-26
Python 3.10.1 pip install "Weblate[all]" error 6 2022-01-10 2022-09-14
[Question] How to being able to delete words ? 4 2021-01-28 2022-09-21
You need to use a Theme.AppCompat theme (or descendant) with this activity. 0 2021-02-12 2022-09-21
mpremote with mount fails on ESP32 5 2021-07-04 2022-09-01
Login with public key does not work when passwordauthentication is off 2 2021-02-04 2022-08-29
Add Source as Role for Organisation and Person 1 2021-12-14 2022-09-24
[Help] Run inference without box decoder and the preprocessor 0 2022-03-07 2022-09-28
Dynamic namespace in APM Integration 1 2022-06-01 2022-09-13