You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/05/19 16:10:05 UTC

[GitHub] [pulsar] iravishah opened a new issue #6991: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

iravishah opened a new issue #6991:
URL: https://github.com/apache/pulsar/issues/6991


   **Describe the bug**
   I am using websocket based producer and getting this error after sometime
   **java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms**
   
   **Expected behavior**
   How can I make the socket connection alive?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on issue #6991: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #6991:
URL: https://github.com/apache/pulsar/issues/6991#issuecomment-631354365


   @iravishah sorry, I see, seems this is a different issue.  fir the idle timeout, you need this config.
   ```
   webSocketSessionIdleTimeoutMillis
   ```
   try set and add it into you conf/broker.conf, or conf/websocket.conf


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] iravishah edited a comment on issue #6991: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

Posted by GitBox <gi...@apache.org>.
iravishah edited a comment on issue #6991:
URL: https://github.com/apache/pulsar/issues/6991#issuecomment-631253211


   How should I tweak these options to keep alive the socket connection?
   How this will resolve the Idle timeout?
   
   From my client, I am doing a ping call still its not able to make the connection alive after some load test.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on issue #6991: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #6991:
URL: https://github.com/apache/pulsar/issues/6991#issuecomment-631189677


   in broker.conf, there should be a configļ¼š
   ```
   # Enable the deletion of inactive topics
   brokerDeleteInactiveTopicsEnabled=true
   
   # How often to check for inactive topics
   brokerDeleteInactiveTopicsFrequencySeconds=60
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] iravishah commented on issue #6991: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

Posted by GitBox <gi...@apache.org>.
iravishah commented on issue #6991:
URL: https://github.com/apache/pulsar/issues/6991#issuecomment-631362682


   I have configured this parameter but after the defined time it will close the connection right?
   So, How can I keep it alive forever? I can't afford the message drop because of reconnection.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] iravishah edited a comment on issue #6991: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

Posted by GitBox <gi...@apache.org>.
iravishah edited a comment on issue #6991:
URL: https://github.com/apache/pulsar/issues/6991#issuecomment-631253211


   How should I tweak these options to keep alive the socket connection?
   How this will resolve the Idle timeout?
   
   From my client, I am doing a ping call to make connection alive still it's not able to make the connection alive after some load test.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] iravishah commented on issue #6991: java.util.concurrent.TimeoutException: Idle timeout expired: 300000/300000 ms

Posted by GitBox <gi...@apache.org>.
iravishah commented on issue #6991:
URL: https://github.com/apache/pulsar/issues/6991#issuecomment-631253211


   How should I tweak these options to keep alive the socket connection?
   How this will resolve Idle timeout?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org