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]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.