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

Sign-in Error "The SSL connection could not be established, see inner exception" #7920

Open
3 tasks done
0anton opened this issue May 6, 2024 · 8 comments
Open
3 tasks done
Labels
⚙️ identity service Related to the Identity Service process

Comments

@0anton
Copy link

0anton commented May 6, 2024

Preflight Checklist

Storage Explorer Version

1.33.1 (98)

Regression From

1.32.1

Architecture

i86

Storage Explorer Build Number

20240410.2

Platform

Windows

OS Version

Windows 11

Bug Description

Suddenly, SE fails to log me in in to Azure account throwing the error:

{
  "message": "\"The SSL connection could not be established, see inner exception.\""
}

Steps to Reproduce

  1. Launch SE
  2. Click "Sign in with Azure"
  3. In "Select Azure Environment" to "Azure"
  4. Click "Next" to start the browser authentication flow.
  5. Error "Unable to sign in: The SSL connection could not be established, see inner exception." appears.

Actual Experience

image

Expected Experience

After the browser authentication flow has completed, the SE lists the available Azure subscribtions.

Additional Context

Nothing unusual. It just stopped working.
I still can access the same Blob Storage from CLI (az storage blob ..) using the same user and the same machine.

It is related to #7593, but the latter does not provide the solution or provides an obscure recommendation by the author.

@0anton 0anton changed the title The SSL connection could not be established, see inner exception Sign-in Error "The SSL connection could not be established, see inner exception" May 6, 2024
@MRayermannMSFT
Copy link
Member

MRayermannMSFT commented May 6, 2024

It is related to #7593, but the latter does not provide the solution or provides an obscure recommendation by the author.

Did you try the solution suggested in the final comment on the issue you linked?

@MRayermannMSFT MRayermannMSFT added the ⚙️ identity service Related to the Identity Service process label May 6, 2024
@0anton
Copy link
Author

0anton commented May 6, 2024

Did you try the solution suggested in the final comment on the issue you linked?

Hi Matthew @MRayermannMSFT the supposed fix given by the original author without comment or endorsement by MS employee. It is obscure, even you tagged it with the "surprised eye". So, I didn't try and won't try until I understand it and get direct recommendation to apply it by somebody from MSFT.

What I tried now is to uninstall SE completely, delete the SE folder and install it again. Same error.

@MRayermannMSFT
Copy link
Member

@0anton given that what the user user did worked, I would recommend that you try it as well.

@prafulbusa
Copy link

prafulbusa commented May 14, 2024

### RESOVLED
I have exact same issue and as a MS internal I am not able to use many tools that requires to have SSL Secure tunnel connection to remote host. CaseBuddy, OofSponder, SA, Kusto, and some more have exact same issue.
Not even able to RDP to Azure machine, not sure if this is related to that.

I was able to resolve it by replacing the old values to newer
image

Replace the "Functions"
Type Reg_MULTI_SZ

RSAE-PSS/SHA256
RSAE-PSS/SHA384
RSAE-PSS/SHA512
RSA/SHA256
RSA/SHA384
RSA/SHA1
ECDSA/SHA256
ECDSA/SHA384
ECDSA/SHA1
DSA/SHA1
RSA/SHA512
ECDSA/SHA512

@0anton
Copy link
Author

0anton commented May 28, 2024

@prafulbusa method (extending the list of allowed protocols didn't work for me.

Still getting:

{
  "message": "\"The SSL connection could not be established, see inner exception.\""
}

I've just restarted the app. Did you reboot the PC to apply new SSL configs?

@0anton
Copy link
Author

0anton commented May 28, 2024

@MRayermannMSFT is it possible you extend the error message to include the content of inner exception to the error message, so I have hints why the SSL connection originating from Azure Storage Explorer got dropped?

@MRayermannMSFT
Copy link
Member

@0anton can you try following these steps to get a hold of your authentication logs?

https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/blobs/alerts/storage-explorer-troubleshooting?tabs=Windows#authentication-logs

Those logs may have the inner exception, if they don't then please share the logs here so I can share with the team responsible for surfacing the inner exception. Also, please follow the recommended step of clearing out the existing logs before gathering the fresh set. Thanks.

@victor-miranda-komatsu
Copy link

victor-miranda-komatsu commented May 29, 2024

I faced the same issue today.

BTW, I'm behind the company VPN. It worked after disconnecting the VPN.

My logfiles are attached anyway.

ServiceHub.zip

Version: 1.33.1 (98)
AzCopy Version: 10.23.0
Platform: macOS
Architecture: arm64
Build Number: 20240410.2
Commit: a9a0d1a0d0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ identity service Related to the Identity Service process
Projects
None yet
Development

No branches or pull requests

4 participants