Udara Liyanage created STRATOS-689:
--------------------------------------

             Summary: CEP binds to private interface so agents can't talk with 
public IP
                 Key: STRATOS-689
                 URL: https://issues.apache.org/jira/browse/STRATOS-689
             Project: Stratos
          Issue Type: Bug
            Reporter: Udara Liyanage


sudo netstat -tulpn | grep 22084
tcp6       0      0 :::58326                :::*                    LISTEN      
22084/java      
tcp6       0      0 172.16.2.100:7611       :::*                    LISTEN      
22084/java      
tcp6       0      0 172.16.2.100:7711       :::*                    LISTEN      
22084/java      
tcp6       0      0 :::9443                 :::*                    LISTEN      
22084/java      
tcp6       0      0 :::9763                 :::*                    LISTEN      
22084/java      
tcp6       0      0 :::11111                :::*                    LISTEN      
22084/java      
tcp6       0      0 :::9999                 :::*                    LISTEN      
22084/java      
udp6       0      0 :::51870                :::*                                
22084/java      
udp6       0      0 :::53407                :::*                                
22084/java   

CEP ports are binded to the private IP interface. So agents can not connect to 
the CEP using public IP

Error from Agent side
Error while connection to event receiver
org.wso2.carbon.databridge.agent.thrift.exception.AgentException: Cannot borrow 
client for TCP,54.179.74.65:7611,TCP,54.179.74.65:7711
at 
org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:58)
at 
org.wso2.carbon.databridge.agent.thrift.DataPublisher.start(DataPublisher.java:273)
at 
org.wso2.carbon.databridge.agent.thrift.DataPublisher.<init>(DataPublisher.java:161)
at 
org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$ReceiverConnectionWorker.run(AsyncDataPublisher.java:787)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
  




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to