Websocket Upgrade Required when Connect with GSM Modem Module

#1

Hello.

Please give me some advise.
When I try to connect with web socket with GSM Modem I get error message “connection was closed uncleanly (WebSocket connection upgrade failed (426 - UpgradeRequired))”
But when I use LAN Connection my program run correctly and can connect.
I use autobahn twisted v15.4 in my client program and use websocket ws java script in server program.

There is additional setting when I use GSM Modem to connect websocket?

Thank you.

0 Likes

#2

Hi!

Without more information it is impossible to say anything about the error, since the error could be anywhere from the modem software stack to your provider’s network.

Regards,

Alex

···

Am Freitag, 20. November 2015 03:45:05 UTC+1 schrieb Imam Abdul:

Hello.

Please give me some advise.
When I try to connect with web socket with GSM Modem I get error message “connection was closed uncleanly (WebSocket connection upgrade failed (426 - UpgradeRequired))”
But when I use LAN Connection my program run correctly and can connect.
I use autobahn twisted v15.4 in my client program and use websocket ws java script in server program.

There is additional setting when I use GSM Modem to connect websocket?

Thank you.

0 Likes

#3

Hi Mr Godde,

That is debug message from my application.

Pada Jumat, 20 November 2015 21.11.56 UTC+7, Alexander Gödde menulis:

···

Hi!

Without more information it is impossible to say anything about the error, since the error could be anywhere from the modem software stack to your provider’s network.

Regards,

Alex

Am Freitag, 20. November 2015 03:45:05 UTC+1 schrieb Imam Abdul:

Hello.

Please give me some advise.
When I try to connect with web socket with GSM Modem I get error message “connection was closed uncleanly (WebSocket connection upgrade failed (426 - UpgradeRequired))”
But when I use LAN Connection my program run correctly and can connect.
I use autobahn twisted v15.4 in my client program and use websocket ws java script in server program.

There is additional setting when I use GSM Modem to connect websocket?

Thank you.

0 Likes

#4

Does your 3G provider have a transparent web proxy that’s causing problems because it doesn’t understand WebSockets? I’ve seen that issue before with a few things…

Try running it over SSL and see if the problem goes away.

···

On Mon, Nov 23, 2015 at 12:41 PM, Imam Abdul iiia...@gmail.com wrote:

Hi Mr Godde,

That is debug message from my application.

Pada Jumat, 20 November 2015 21.11.56 UTC+7, Alexander Gödde menulis:

Hi!

Without more information it is impossible to say anything about the error, since the error could be anywhere from the modem software stack to your provider’s network.

Regards,

Alex

Am Freitag, 20. November 2015 03:45:05 UTC+1 schrieb Imam Abdul:

Hello.

Please give me some advise.
When I try to connect with web socket with GSM Modem I get error message “connection was closed uncleanly (WebSocket connection upgrade failed (426 - UpgradeRequired))”
But when I use LAN Connection my program run correctly and can connect.
I use autobahn twisted v15.4 in my client program and use websocket ws java script in server program.

There is additional setting when I use GSM Modem to connect websocket?

Thank you.

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/cff1934a-1cc8-427b-84a9-dddce929a785%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#5


thank you, I try to use ws and it can connect but sometimes I get error message like in this picture.
How can this error message come?
Thank you

···

2015-11-23 9:23 GMT+07:00 Geordie Millar g...@stackunderflow.com:

Does your 3G provider have a transparent web proxy that’s causing problems because it doesn’t understand WebSockets? I’ve seen that issue before with a few things…

Try running it over SSL and see if the problem goes away.

You received this message because you are subscribed to a topic in the Google Groups “Autobahn” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/autobahnws/iGYgPPbceGY/unsubscribe.

To unsubscribe from this group and all its topics, send an email to autobahnws+...@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/CAF3AwGQBb75aDWGJJYkser4gmU_WJnnCqOvrjLsGdu0Q%3DZ2baw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

On Mon, Nov 23, 2015 at 12:41 PM, Imam Abdul iiia...@gmail.com wrote:

Hi Mr Godde,

That is debug message from my application.

Hi!

Without more information it is impossible to say anything about the error, since the error could be anywhere from the modem software stack to your provider’s network.

Regards,

Alex

Am Freitag, 20. November 2015 03:45:05 UTC+1 schrieb Imam Abdul:

Hello.

Please give me some advise.
When I try to connect with web socket with GSM Modem I get error message “connection was closed uncleanly (WebSocket connection upgrade failed (426 - UpgradeRequired))”
But when I use LAN Connection my program run correctly and can connect.
I use autobahn twisted v15.4 in my client program and use websocket ws java script in server program.

There is additional setting when I use GSM Modem to connect websocket?

Thank you.

Pada Jumat, 20 November 2015 21.11.56 UTC+7, Alexander Gödde menulis:

You received this message because you are subscribed to the Google Groups “Autobahn” group.

To unsubscribe from this group and stop receiving emails from it, send an email to autobahnws+...@googlegroups.com.

To post to this group, send email to autob...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/autobahnws/cff1934a-1cc8-427b-84a9-dddce929a785%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Regards,
Imam Abdul Mahmudi

S1 Teknik Fisika

Universitas Telkom

M : +62 877 22 532 797

*: iiia...@gmail.com

0 Likes