Switching protocols (Websocket) leads to two active WbeScoket Connections connecting to a server

23 views
Skip to first unread message

Bernd Oels

unread,
Jul 30, 2019, 8:27:07 AM7/30/19
to asynchttpclient
Hello Community,

I have a little WebSocket problem. When my software tries to connect to the WebSocket server it sends the first GET from port x, answer is 401, unauthorized, the second GET (connection upgrade) port x+1 is send again another time port x+2.
The server sends now two Switching protocols for port x+1 and port x+2.
I think the timing is not ok, maybe the answer switching protocols needs to much time. I tried to change every timeout for the client, the websocket... but this behavior does not change.
Does someone know a solution for this problem?


In my previous installations of this software I did not have these problems,


thanks a lot,


Bernd

Stéphane LANDELLE

unread,
Jul 30, 2019, 8:58:01 AM7/30/19
to asyncht...@googlegroups.com
Could you please provide a sample app that can be used to reproduce the issue?


Logo Stéphane Landelle
Chief Technical Officer
twitter: @slandelle
site:
gatling.io




Informatikgesellschaft für
Software-Entwicklung mbH
Schönebergstraße 15
52068 Aachen

Telefon :  +49 (0) 241 96888-0
Fax      :  +49 (0) 241 96888-69

Internet: www.ise-online.com
Information zum Datenschutz

Amtsgericht Aachen HR B 6044, Ust-ID: DE169963889 Geschäftsführer: Dipl. Inform. Thomas Dücker, Dipl. Inform. Frank Düren, Dipl. Inform. Peter Velroyen

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. 
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden

--
You received this message because you are subscribed to the Google Groups "asynchttpclient" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynchttpclie...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/asynchttpclient/2e740771-6e3c-4240-a395-d7c3c667a92c%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages