10-21-2016 02:54 AM
Looking for suggestion, for the following error that i get while connecting to to Cisco-Pxgrid via pxgrid-sdk-1.0.3.37.
The Error is given below:
05:46:22.071 [Thread-1] DEBUG com.cisco.pxgrid.ReconnectionManager - Retry connect failed
com.cisco.pxgrid.GCLException: SASLError using PLAIN: not-authorized
at com.cisco.pxgrid.GridConnection.connect(GridConnection.java:204) ~[pxgrid-gcl-1.0.3.37.jar:1.0.3.37]
at com.cisco.pxgrid.ReconnectionManager$ConnectionLoop.run(ReconnectionManager.java:82) ~[pxgrid-gcl-1.0.3.37.jar:1.0.3.37]
Caused by: com.cisco.pxgrid.GCLException: SASLError using PLAIN: not-authorized
at com.cisco.pxgrid.Configuration.connect(Configuration.java:271) ~[pxgrid-gcl-1.0.3.37.jar:1.0.3.37]
at com.cisco.pxgrid.GridConnection.connect(GridConnection.java:127) ~[pxgrid-gcl-1.0.3.37.jar:1.0.3.37]
... 1 common frames omitted
Caused by: org.jivesoftware.smack.sasl.SASLErrorException: SASLError using PLAIN: not-authorized
at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:365) ~[smack-core-4.1.0.jar:4.1.0]
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1033) ~[smack-tcp-4.1.0.jar:4.1.0]
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(XMPPTCPConnection.java:937) ~[smack-tcp-4.1.0.jar:4.1.0]
at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:952) ~[smack-tcp-4.1.0.jar:4.1.0]
at java.lang.Thread.run(Unknown Source) ~[na:1.8.0_101]
11-14-2016 05:38 PM
Hi,
The error is misleading. This is more of a certificate issue.
Please make sure the client use a certificate that is trusted by the server.
04-25-2017 09:47 AM
Hi
Don't provide a password parameter. Then Certificate based authentication is used.
Otherwise always tried password based (plain), whichndoes not work..
HTH
Regards, Thomas
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: