[AWS IOT CORE] Got unexpected status 426 with statusLine:HTTP/1.1 426 Upgrade Required
Issue #259
closed
Hello,
Context:
I’m trying to use Jmeter for some tests on my AWS iot core MQTT server.
I’m connecting on it using “wss” (MQTT over WSS)
Error:
“Upgrade” header seems to be correctly set (based on debug log levels)
Do you have an idea how to fix this, please?
Thanks !
Comments (5)
-
repo owner -
repo owner Maybe you need to specify MQTT as (ws) subprotocol.
According to http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718127 it should.
-
reporter Hello!
Thanks for your reactivity!Your guess was right (to specify “mqtt” in the headers)
After adding that, everything worked perfectly !
Thanks for your help :)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
Does the server not send a Upgrade header to indicate the required protocol? This would help to understand what’s going on.