Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PluginManager can't install updates: Installation of DSpellCheck.exe failed. #98

Closed
rustyx opened this issue Mar 5, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@rustyx
Copy link

commented Mar 5, 2018

Description of the Issue

Many plugins fail to install using the latest 64-bit PluginManager.

Are there any logs written? I couldn't find any.

How to debug this?

pluginmanager_error

@chcg

This comment has been minimized.

Copy link
Collaborator

commented Mar 5, 2018

@rustyx Which windows version? PM version 1.4.10? Which update did you try to install of dspellcheck 1.4.2?

Just tried the update of PM to 1.4.9 ->1.4.10 and DSpellCheck 1.4.0 -> 1.4.2 without problems. Both are hosted on Github. Could you access https://github.com/Predelnik/DSpellCheck/releases/download/v1.4.2/DSpellCheck_x64.zip without problems?

Maybe this is related to https://githubengineering.com/crypto-removal-notice/ -> removal of TLS 1.1 and older.

@rustyx

This comment has been minimized.

Copy link
Author

commented Mar 5, 2018

Yes 1.4.10, and yes can access the URL just fine. Windows 10 1709.

Something strange is happening in WinInet with the URL https://github.com/Predelnik/DSpellCheck/releases/download/v1.4.2/DSpellCheck_x64.zip

It does follow the redirect but the download never starts, instead INTERNET_STATUS_HANDLE_CLOSING is fired, then INTERNET_STATUS_REQUEST_COMPLETE, and subsequently HttpQueryInfo fails with ERROR_INVALID_HANDLE.

@rustyx

This comment has been minimized.

Copy link
Author

commented Mar 6, 2018

Here's a complete sequence of notification events:

INTERNET_STATUS_HANDLE_CREATED
INTERNET_STATUS_DETECTING_PROXY
INTERNET_STATUS_RESOLVING_NAME
INTERNET_STATUS_NAME_RESOLVED
INTERNET_STATUS_CONNECTING_TO_SERVER
INTERNET_STATUS_CONNECTED_TO_SERVER
INTERNET_STATUS_CLOSING_CONNECTION, LastError=ERROR_INVALID_FUNCTION
INTERNET_STATUS_CONNECTION_CLOSED
INTERNET_STATUS_CONNECTING_TO_SERVER
INTERNET_STATUS_CONNECTED_TO_SERVER
INTERNET_STATUS_CLOSING_CONNECTION, LastError=ERROR_INVALID_PARAMETER
INTERNET_STATUS_CONNECTION_CLOSED
INTERNET_STATUS_HANDLE_CLOSING
INTERNET_STATUS_REQUEST_COMPLETE, LastError=ERROR_INTERNET_SECURITY_CHANNEL_ERROR

@rustyx

This comment has been minimized.

Copy link
Author

commented Mar 6, 2018

@chcg looks like you were right, this was related to the TLS settings. Somehow TLS 1.2 got unchecked in my Internet Properties. After enabling it everything is back to normal (though the sequence of WinInet events in that case is no good).

Internet Properties TLS 1.2

@rustyx rustyx closed this Mar 6, 2018

@chcg

This comment has been minimized.

Copy link
Collaborator

commented Mar 6, 2018

@rustyx Thanks for the update how to resolve this issue.

@chcg chcg referenced this issue Mar 11, 2018

Closed

Installation Error #101

@letownia

This comment has been minimized.

Copy link

commented Mar 13, 2018

I'll add that this also effects the latest 32-bit version of Notepad++. Enabling newer versions of TLS fixed the issue for me.

@rustyx rustyx changed the title 64-bit PluginManager can't install updates: Installation of DSpellCheck.exe failed. PluginManager can't install updates: Installation of DSpellCheck.exe failed. Mar 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.