Hi Bernard,

How do the artifacts sync between manager and workers?

Regards,
Dilini

On Thu, Oct 25, 2018 at 3:11 PM Bernard Paris <[email protected]>
wrote:

>
> This morning I've made this test:
> > keep running my 3 EI 6.4.0  instances
> > run analytics  server with previous 6.3.0 version
>
> I watch exactly same problem:   the  remote EI instances fail logon into
> analytics while the EI instance sharing localhost with analytics succeeds.
>
> Still strange …
> Bernard
>
>
> Le 24 oct. 2018 à 10:49, Bernard Paris <[email protected]> a
> écrit :
>
>
> We have a cluster with 3 EI 6.4.0 servers, 2 are EI workers and one is our
> EI management.
> "Analytics-worker"  is running on the EI management server to collect
> datas from the 3 EI instances.
>
> On the 3 EI instances I set the "mediation.flow.statistics.xxx" properties
> in the <EI_HOME>/conf/synapse.properties file and I configured these 2
> following files :
>
>
> <EI_HOME>/repository/deployment/server/eventpublishers/MessageFlowStatisticsPublisher.xml
>
> <EI_HOME>/repository/deployment/server/eventpublishers/MessageFlowConfigurationPublisher.xml
>
> both with
>         <property name="receiverURL">tcp://10.1.3.12:7612</property>
>     <property encrypted="false" name="password">admin</property>
>
> This works on the management server ( EI and  "Analytics-worker" in same
> EI server).
> After some seconds the line
> <property encrypted="false" name="password">admin</property>
> becomes something like
> <property encrypted="true"
> name="password">eyJjIjoiSXFy….bla…bla…..</property>
>  and datas are sent to analytics.
>
>
> However, strangely, this doesn't work on the other nodes.
>  After some seconds the line
> <property encrypted="false" name="password">admin</property>
> becomes something like
> <property encrypted="false" name="password" />
>  and I see errors about "wrong userName or password".
>
> How is it possible ???
> I didn't change the admin passwd in "Analytics-worker" users' db and by
> the way, as soon as the username/passwd is good in the ESB management
> server config  the same username/passwd should be ok on other instances),
> isn'it ??
>
> Strange…..
>
> Analytics logs:
>
> ERROR
> {org.wso2.carbon.databridge.core.internal.authentication.CarbonAuthenticationHandler}
> - Authentication failed for username 'admin'. Error :
> 'Invalid_Credentials'. Error Description : 'The login credential used for
> login are invalid, username : 'admin'.'
> [2018-10-24 10:03:25,861] ERROR
> {org.wso2.carbon.databridge.core.internal.authentication.Authenticator} -
> wrong userName or password
>
>
> ESB node logs:
>
> [20 INFO
> {org.wso2.carbon.das.messageflow.data.publisher.internal.MediationStatisticsComponent}
> -  JMX mediation statistic publishing enabled for tenant: -1234
> [2018-10-24 10:19:33,109] [-1234] [] [localhost-startStop-1]  INFO
> {org.wso2.carbon.das.messageflow.data.publisher.internal.MediationStatisticsComponent}
> -  DAS mediation statistic publishing enabled for tenant: -1234
> [2018-10-24 10:19:33,474] [-1] [] [
> DataBridge-ConnectionService-tcp://10.1.3.12:7612-pool-4-thread-1] ERROR
> {org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker} -
>  Error while trying to connect to the endpoint. Cannot borrow client for
> ssl://10.1.3.12:7712.
> org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException:
> Cannot borrow client for ssl://10.1.3.12:7712.
> at
> org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:134)
> at
> org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.run(DataEndpointConnectionWorker.java:59)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by:
> org.wso2.carbon.databridge.agent.exception.DataEndpointLoginException:
> Error while trying to login to the data receiver.
> at
> org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftDataEndpoint.login(ThriftDataEndpoint.java:49)
> at
> org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker.connect(DataEndpointConnectionWorker.java:128)
> ... 6 more
> Caused by: ThriftAuthenticationException(message:wrong userName or
> password)
> at
> org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$connect_result$connect_resultStandardScheme.read(ThriftSecureEventTransmissionService.java:2020)
> at
> org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$connect_result$connect_resultStandardScheme.read(ThriftSecureEventTransmissionService.java:1998)
> at
> org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$connect_result.read(ThriftSecureEventTransmissionService.java:1940)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
> at
> org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Client.recv_connect(ThriftSecureEventTransmissionService.java:110)
> at
> org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Client.connect(ThriftSecureEventTransmissionService.java:96)
> at
> org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftDataEndpoint.login(ThriftDataEndpoint.java:47)
> ... 7 more
>
>
>
> Any help should be appreciated;
> Bernard
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to