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 2018/12/20 09:46:05 UTC

[GitHub] lxkaka opened a new issue #3225: python example with aws loadbalancer connection stuck

lxkaka opened a new issue #3225: python example with aws loadbalancer connection stuck
URL: https://github.com/apache/pulsar/issues/3225
 
 
   #### Expected behavior
   hope connect to broker through LB  like directly connect
   ```
   2018-12-20 17:36:10.667 INFO  ConnectionPool:63 | Created connection for pulsar://localhost:6650
   2018-12-20 17:36:10.668 INFO  ClientConnection:285 | [127.0.0.1:56428 -> 127.0.0.1:6650] Connected to broker
   2018-12-20 17:36:10.671 INFO  HandlerBase:53 | [persistent://public/default/test-topic, ] Getting connection from pool
   2018-12-20 17:36:10.671 INFO  ConnectionPool:63 | Created connection for pulsar://ip-172-31-xx-xx.cn-north-1.compute.internal:6650
   2018-12-20 17:36:10.673 INFO  ClientConnection:285 | [172.31.xx.xx:45238 -> 172.31.xx.xx:6650] Connected to broker
   2018-12-20 17:36:10.678 INFO  ProducerImpl:155 | [persistent://public/default/test-topic, ] Created producer on broker [172.31.xx.1xx:45238 -> 172.31.xx.xx:6650]
   2018-12-20 17:36:10.725 INFO  ProducerImpl:467 | [persistent://public/default/test-topic, pulsar-cluster-1-1-11] Closed producer
   ```
   #### Actual behavior
   ```
   2018-12-20 17:36:54.006 INFO  ConnectionPool:63 | Created connection for pulsar://pulsar-internal-xx:6650
   2018-12-20 17:41:08.502 INFO  ClientConnection:285 | [172.31.xx.xx:44014 -> 172.31.xx,xx:6650] Connected to broker
   2018-12-20 17:41:08.508 INFO  HandlerBase:53 | [persistent://public/default/test-topic, ] Getting connection from pool
   2018-12-20 17:41:08.510 INFO  ConnectionPool:63 | Created connection for pulsar://ip-172-31-xx-xx.cn-north-1.compute.internal:6650
   2018-12-20 17:41:08.512 INFO  ClientConnection:285 | [172.31.xx.xx:45246 -> 172.31.xx.xx:6650] Connected to broker
   2018-12-20 17:41:08.516 INFO  ProducerImpl:155 | [persistent://public/default/test-topic, ] Created producer on broker [172.31.xx.xx:45246 -> 172.31.xx.xx:6650]
   2018-12-20 17:41:08.565 INFO  ProducerImpl:467 | [persistent://public/default/test-topic, pulsar-cluster-1-1-12] Closed producer
   ```
   when connect to broker through aws LB the connection stucks for about 5mins
   #### Steps to reproduce
   produce every time
   
   #### System configuration
   **Pulsar version**: 2.2.0
   
   should I adjust some config with LB?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services