Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.0b1

Issue ID

1031144

Regression

No

Websocket over TLS with mqtt fails connection and raise unexpected exception during handshake

WebRequest

-

How to reproduce:

1. Open attached Unity project "AwsWebsocket"
2. Enter the play mode
3. Press "Connect to the endpoint"

Expected result: Websocket over TLS with mqtt connects successfully.
Actual result: Error while connecting with server pops up: "Unable to connect to the remote server" or "Invalid certificate received from server".

Reproduced with: 2018.2.0b3, 2018.1.0f2, 2017.4.2f2, 2017.2.2p4, 2017.1.3p4.

Note: User provided a Github link referencing the line where a .Net websocket breaks down in the MQTT lib:
https://github.com/chkr1011/MQTTnet/blob/master/Frameworks/MQTTnet.NetStandard/Implementations/MqttWebSocketChannel.cs#L76

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.