Hi,

The issue was with authentication and I could overcome it by adding the
carbon.super tenant at the end of the email username (eg:
[email protected]@carbon.super)
. But this seems like an issue in Identity code.

Thanks,
Nirodha

On Thu, May 12, 2016 at 2:32 PM, Nirodha Gallage <[email protected]> wrote:

> Hi,
>
> When DAS is configured with LDAP and configured for email users, even the
> admin user has an email username. It seems like when we give this
> credentials in ESB event sink configuration it cannot connect to DAS event
> receiver. Is this a known issue?
>
> I see the below error in ESB start up.
>
> TID: [-1] [] [2016-05-12 14:24:22,867] ERROR
> {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher} -  Error while
> connection to event receiver
> {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher}
> org.wso2.carbon.databridge.commons.exception.AuthenticationException:
> Access denied for user [email protected] to login
> TCP,192.168.xxx.xxx:7611,TCP,192.168.xxx.xxx:7711
> at
> org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:54)
> at
> org.wso2.carbon.databridge.agent.thrift.DataPublisher.start(DataPublisher.java:273)
> at
> org.wso2.carbon.databridge.agent.thrift.DataPublisher.<init>(DataPublisher.java:211)
> at
> org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$ReceiverConnectionWorker.run(AsyncDataPublisher.java:838)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by:
> org.wso2.carbon.databridge.agent.thrift.exception.AgentAuthenticatorException:
> Thrift exception
> at
> org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.ThriftAgentAuthenticator.connect(ThriftAgentAuthenticator.java:51)
> at
> org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.AgentAuthenticator.connect(AgentAuthenticator.java:51)
> ... 8 more
> Caused by: org.apache.thrift.transport.TTransportException
> at
> org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
> at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
> at
> org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:378)
> at
> org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:297)
> at
> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:204)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
> at
> org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Client.recv_connect(ThriftSecureEventTransmissionService.java:88)
> at
> org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Client.connect(ThriftSecureEventTransmissionService.java:74)
> at
> org.wso2.carbon.databridge.agent.thrift.internal.publisher.authenticator.ThriftAgentAuthenticator.connect(ThriftAgentAuthenticator.java:47)
> ... 9 more
> TID: [-1] [] [2016-05-12 14:24:37,669] ERROR
> {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher} -
>  Reconnection failed fortcp://192.168.xxx.xxx:7611
> {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher}
>
> Thanks,
> Nirodha
>
> --
>
> *Nirodha Gallage*
> Associate Technical Lead
> WSO2 Inc.: http://wso2.com/
> Mobile: +94716429078
>



-- 

*Nirodha Gallage*
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94716429078
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to