Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

2

Found in

5.4.0f3

Issue ID

825422

Regression

No

"System.Net.WebException: Error getting response stream" is thrown on HTTPS request

Mono

-

Reproduction steps:
1. Open the attached project (HTTPS_Request_Webclient.zip)
2. Run the project in the editor
3. Notice that an exception is thrown:
"System.Net.WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a" (check logcat.txt)

Actual result: The following exception should be output: "System.Net.WebException: The remote server returned an error: (401) Authorization Required.", because the code does not contain the valid password.

--------------------------------------
This issue will be addressed after new mono runtime will be released.

Comments (1)

  1. fschneider

    Dec 06, 2016 08:37

    Why is security given such a low priority? I mean this keeps me from doing HTTPS requests on Android devices to a certain server.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.