Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Websockets - disconnect after 1 mintue

I got a situation where I need to connect with rabbitmq over web sockets through apigee.

my setup is like: mqtt client -> apigee -> rabbitmq, (mqtt connects with web sockets)

 

In the first ~60 seconds everything works, after that the connection just quits.

extra details:

1. I send a message every 20 seconds on the socket

2. The mqtt client is configured to send a keep alive message every 30 seconds

3. By disconnects I mean that the rabbitmq subscribers (in the client) stops receiving messages

 

some things I checked:

1. If I remove the apigee  from the chain (meaning, client -> rabbitmq) then everything works as expected, so I'm pretty sure it's something to do with apigee

2. If I add "keepalive.timeout.millis" or "io.timeout.millis" to TargetEndpoint then the response apigee gets is "400 Bad Request" (no logs in rabbitmq)

 

I'd love any idea regrading this,

thx 🙂

0 1 1,946
1 REPLY 1