com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination.

JIRA | Reinhard Brandstaedter | 1 year ago
  1. 0

    Hello, I'm currently evaluatinf CLI 4.3.0. I've been using 3.x before and wanted to check out the new version for some automation tasks we require. Somehow we can't login with our users. Here is what we did: This login with anonymous works and proves everything is set up correct: {noformat} LNZ123713N01:confluence-cli-4.3.0 cwat-rbrandst$ java -jar lib/confluence-cli-4.3.0.jar --server https://staging-community.ocs.dynatrace.com/community --action getServerInfo --space PUB --id 25789962 --limit 10 --debug --user anonymous --password '' Client information: Client version . . . . . . . : 4.3.0 OS name . . . . . . . . . . . : Mac OS X OS version . . . . . . . . . : 10.10.4 Java name . . . . . . . . . . : Java HotSpot(TM) 64-Bit Server VM Java version . . . . . . . . : 1.8.0_20 Java arguments . . . . . . . : [] Used memory (MB) . . . . . . : 7 Free memory (MB) . . . . . . : 115 Total memory (MB) . . . . . . : 123 Max memory (MB) . . . . . . . : 1820 Default encoding . . . . . . : ISO-8859-1 User parameters (non-blank): action . . . . . . . . . . . : getServerInfo debug . . . . . . . . . . . . : true server . . . . . . . . . . . : https://staging-community.ocs.dynatrace.com/community user . . . . . . . . . . . . : anonymous space . . . . . . . . . . . . : PUB limit . . . . . . . . . . . . : 10 id . . . . . . . . . . . . . : 25789962 Default parameters (non-blank): verbose . . . . . . . . . . . : false quiet . . . . . . . . . . . . : false outputFormat . . . . . . . . : 1 host . . . . . . . . . . . . : localhost continue . . . . . . . . . . : false simulate . . . . . . . . . . : false append . . . . . . . . . . . : false clearFileBeforeAppend . . . . : false service . . . . . . . . . . . : /rpc/soap-axis/confluenceservice-v2 loginFromStandardInput . . . : false home . . . . . . . . . . . . : Home dayOfMonth . . . . . . . . . : 0 month . . . . . . . . . . . . : 0 year . . . . . . . . . . . . : 0 toDayOfMonth . . . . . . . . : 0 toMonth . . . . . . . . . . . : 0 toYear . . . . . . . . . . . : 0 count . . . . . . . . . . . . : 2147483647 api . . . . . . . . . . . . . : latest requestType . . . . . . . . . : GET news . . . . . . . . . . . . : false exportAttachments . . . . . . : false mostPopular . . . . . . . . . : false recentlyUsed . . . . . . . . : false ancestors . . . . . . . . . . : false descendents . . . . . . . . . : false children . . . . . . . . . . : false replace . . . . . . . . . . . : false copyBlogs . . . . . . . . . . : false copyAttachments . . . . . . . : false copyComments . . . . . . . . : false copyLabels . . . . . . . . . : false copyPermissions . . . . . . . : false mergePermissions . . . . . . : false minor . . . . . . . . . . . . : false clean . . . . . . . . . . . . : false autoGroup . . . . . . . . . . : false noConvert . . . . . . . . . . : false markdown . . . . . . . . . . : false personal . . . . . . . . . . : false noIndex . . . . . . . . . . . : false featured . . . . . . . . . . : false preserveCase . . . . . . . . : false help . . . . . . . . . . . . : false Server address: https://staging-community.ocs.dynatrace.com/community/rpc/soap-axis/confluenceservice-v2 URL requested: https://staging-community.ocs.dynatrace.com/community/rest/org.swift.confluence.cli/latest/validatelicense? Request type: GET Content type: application/json Accept content type: application/json create a new cookie manager for client: org.swift.confluence.cli.ConfluenceClient@6ee12bac, cookie file: reuse cookie manager from host client: org.swift.confluence.cli.ConfluenceClient@6ee12bac for client: org.swift.common.cli.AppfireClient@400cff1a Response code: 200, message: OK, url: https://staging-community.ocs.dynatrace.com/community/rest/org.swift.confluence.cli/latest/validatelicense? Result data: {"status":true,"message":"Bob Swift Atlassian Add-ons - Confluence CLI Connector has a valid license.","product":"Confluence","version":"5.6.6","build":"5639","time":"2015-06-23T22:14:47.517+0000","timeZone":"Coordinated Universal Time","title":"Dynatrace Community","baseUrl":"https://staging-community.ocs.dynatrace.com/community","connectorVersion":"4.3.0"} license validation: {"product":"Confluence","baseUrl":"https:\/\/staging-community.ocs.dynatrace.com\/community","build":"5639","connectorVersion":"4.3.0","timeZone":"Coordinated Universal Time","time":"2015-06-23T22:14:47.517+0000","message":"Bob Swift Atlassian Add-ons - Confluence CLI Connector has a valid license.","title":"Dynatrace Community","version":"5.6.6","status":true} Confluence version: 5.6.6, build: 5639, url: https://staging-community.ocs.dynatrace.com/community logged out. {noformat} However if we use our users with passwords we always get a password doesn't match: (note that the password contains a ! but even with a password only containing numbers and letters it fails). The user/pwd works fine in the browser and is a confluence admin... {noformat} LNZ123713N01:confluence-cli-4.3.0 cwat-rbrandst$ java -jar lib/confluence-cli-4.3.0.jar --server https://staging-community.ocs.dynatrace.com/community --action removePageVersions --space PUB --id 25789962 --limit 10 --debug --user reinhard.brandstaedter@dynatrace.com --password 'xxxxxxx' Client information: Client version . . . . . . . : 4.3.0 OS name . . . . . . . . . . . : Mac OS X OS version . . . . . . . . . : 10.10.4 Java name . . . . . . . . . . : Java HotSpot(TM) 64-Bit Server VM Java version . . . . . . . . : 1.8.0_20 Java arguments . . . . . . . : [] Used memory (MB) . . . . . . : 7 Free memory (MB) . . . . . . : 115 Total memory (MB) . . . . . . : 123 Max memory (MB) . . . . . . . : 1820 Default encoding . . . . . . : ISO-8859-1 User parameters (non-blank): action . . . . . . . . . . . : removePageVersions debug . . . . . . . . . . . . : true server . . . . . . . . . . . : https://staging-community.ocs.dynatrace.com/community user . . . . . . . . . . . . : reinhard.brandstaedter@dynatrace.com password . . . . . . . . . . : *** space . . . . . . . . . . . . : PUB limit . . . . . . . . . . . . : 10 id . . . . . . . . . . . . . : 25789962 Default parameters (non-blank): verbose . . . . . . . . . . . : false quiet . . . . . . . . . . . . : false outputFormat . . . . . . . . : 1 host . . . . . . . . . . . . : localhost continue . . . . . . . . . . : false simulate . . . . . . . . . . : false append . . . . . . . . . . . : false clearFileBeforeAppend . . . . : false service . . . . . . . . . . . : /rpc/soap-axis/confluenceservice-v2 loginFromStandardInput . . . : false home . . . . . . . . . . . . : Home dayOfMonth . . . . . . . . . : 0 month . . . . . . . . . . . . : 0 year . . . . . . . . . . . . : 0 toDayOfMonth . . . . . . . . : 0 toMonth . . . . . . . . . . . : 0 toYear . . . . . . . . . . . : 0 count . . . . . . . . . . . . : 2147483647 api . . . . . . . . . . . . . : latest requestType . . . . . . . . . : GET news . . . . . . . . . . . . : false exportAttachments . . . . . . : false mostPopular . . . . . . . . . : false recentlyUsed . . . . . . . . : false ancestors . . . . . . . . . . : false descendents . . . . . . . . . : false children . . . . . . . . . . : false replace . . . . . . . . . . . : false copyBlogs . . . . . . . . . . : false copyAttachments . . . . . . . : false copyComments . . . . . . . . : false copyLabels . . . . . . . . . : false copyPermissions . . . . . . . : false mergePermissions . . . . . . : false minor . . . . . . . . . . . . : false clean . . . . . . . . . . . . : false autoGroup . . . . . . . . . . : false noConvert . . . . . . . . . . : false markdown . . . . . . . . . . : false personal . . . . . . . . . . : false noIndex . . . . . . . . . . . : false featured . . . . . . . . . . : false preserveCase . . . . . . . . : false help . . . . . . . . . . . . : false Server address: https://staging-community.ocs.dynatrace.com/community/rpc/soap-axis/confluenceservice-v2 Login failed for https://staging-community.ocs.dynatrace.com/community, retry once to avoid occasional timeouts. com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. faultActor: faultNode: faultDetail: {}com.atlassian.confluence.rpc.AuthenticationFailedException:null {http://xml.apache.org/axis/}hostname:ip-10-177-2-48 com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:433) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at org.swift.common.soap.confluence.AuthenticationFailedException.getDeserializer(AuthenticationFailedException.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.confluence.ConfluenceserviceV2SoapBindingStub.login(ConfluenceserviceV2SoapBindingStub.java:4821) at org.swift.confluence.cli.ConfluenceClient.serviceLogin(ConfluenceClient.java:440) at org.swift.common.cli.AbstractRemoteClient.remoteLogin(AbstractRemoteClient.java:407) at org.swift.common.cli.AbstractRemoteClient.setupRemote(AbstractRemoteClient.java:394) at org.swift.common.cli.AbstractRemoteClient.handleSetupRemote(AbstractRemoteClient.java:239) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:276) at org.swift.common.cli.CliClient.doWork(CliClient.java:414) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:169) Unable to log in to server: https://staging-community.ocs.dynatrace.com/community/rpc/soap-axis/confluenceservice-v2 with user: reinhard.brandstaedter@dynatrace.com. Cause: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. faultActor: faultNode: faultDetail: {}com.atlassian.confluence.rpc.AuthenticationFailedException:null {http://xml.apache.org/axis/}hostname:ip-10-177-2-48 com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:433) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at org.swift.common.soap.confluence.AuthenticationFailedException.getDeserializer(AuthenticationFailedException.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.confluence.ConfluenceserviceV2SoapBindingStub.login(ConfluenceserviceV2SoapBindingStub.java:4821) at org.swift.confluence.cli.ConfluenceClient.serviceLogin(ConfluenceClient.java:440) at org.swift.common.cli.AbstractRemoteClient.remoteLogin(AbstractRemoteClient.java:417) at org.swift.common.cli.AbstractRemoteClient.setupRemote(AbstractRemoteClient.java:394) at org.swift.common.cli.AbstractRemoteClient.handleSetupRemote(AbstractRemoteClient.java:239) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:276) at org.swift.common.cli.CliClient.doWork(CliClient.java:414) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:169) {noformat}

    JIRA | 1 year ago | Reinhard Brandstaedter
    com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination.
  2. 0

    Hello, I'm currently evaluatinf CLI 4.3.0. I've been using 3.x before and wanted to check out the new version for some automation tasks we require. Somehow we can't login with our users. Here is what we did: This login with anonymous works and proves everything is set up correct: {noformat} LNZ123713N01:confluence-cli-4.3.0 cwat-rbrandst$ java -jar lib/confluence-cli-4.3.0.jar --server https://staging-community.ocs.dynatrace.com/community --action getServerInfo --space PUB --id 25789962 --limit 10 --debug --user anonymous --password '' Client information: Client version . . . . . . . : 4.3.0 OS name . . . . . . . . . . . : Mac OS X OS version . . . . . . . . . : 10.10.4 Java name . . . . . . . . . . : Java HotSpot(TM) 64-Bit Server VM Java version . . . . . . . . : 1.8.0_20 Java arguments . . . . . . . : [] Used memory (MB) . . . . . . : 7 Free memory (MB) . . . . . . : 115 Total memory (MB) . . . . . . : 123 Max memory (MB) . . . . . . . : 1820 Default encoding . . . . . . : ISO-8859-1 User parameters (non-blank): action . . . . . . . . . . . : getServerInfo debug . . . . . . . . . . . . : true server . . . . . . . . . . . : https://staging-community.ocs.dynatrace.com/community user . . . . . . . . . . . . : anonymous space . . . . . . . . . . . . : PUB limit . . . . . . . . . . . . : 10 id . . . . . . . . . . . . . : 25789962 Default parameters (non-blank): verbose . . . . . . . . . . . : false quiet . . . . . . . . . . . . : false outputFormat . . . . . . . . : 1 host . . . . . . . . . . . . : localhost continue . . . . . . . . . . : false simulate . . . . . . . . . . : false append . . . . . . . . . . . : false clearFileBeforeAppend . . . . : false service . . . . . . . . . . . : /rpc/soap-axis/confluenceservice-v2 loginFromStandardInput . . . : false home . . . . . . . . . . . . : Home dayOfMonth . . . . . . . . . : 0 month . . . . . . . . . . . . : 0 year . . . . . . . . . . . . : 0 toDayOfMonth . . . . . . . . : 0 toMonth . . . . . . . . . . . : 0 toYear . . . . . . . . . . . : 0 count . . . . . . . . . . . . : 2147483647 api . . . . . . . . . . . . . : latest requestType . . . . . . . . . : GET news . . . . . . . . . . . . : false exportAttachments . . . . . . : false mostPopular . . . . . . . . . : false recentlyUsed . . . . . . . . : false ancestors . . . . . . . . . . : false descendents . . . . . . . . . : false children . . . . . . . . . . : false replace . . . . . . . . . . . : false copyBlogs . . . . . . . . . . : false copyAttachments . . . . . . . : false copyComments . . . . . . . . : false copyLabels . . . . . . . . . : false copyPermissions . . . . . . . : false mergePermissions . . . . . . : false minor . . . . . . . . . . . . : false clean . . . . . . . . . . . . : false autoGroup . . . . . . . . . . : false noConvert . . . . . . . . . . : false markdown . . . . . . . . . . : false personal . . . . . . . . . . : false noIndex . . . . . . . . . . . : false featured . . . . . . . . . . : false preserveCase . . . . . . . . : false help . . . . . . . . . . . . : false Server address: https://staging-community.ocs.dynatrace.com/community/rpc/soap-axis/confluenceservice-v2 URL requested: https://staging-community.ocs.dynatrace.com/community/rest/org.swift.confluence.cli/latest/validatelicense? Request type: GET Content type: application/json Accept content type: application/json create a new cookie manager for client: org.swift.confluence.cli.ConfluenceClient@6ee12bac, cookie file: reuse cookie manager from host client: org.swift.confluence.cli.ConfluenceClient@6ee12bac for client: org.swift.common.cli.AppfireClient@400cff1a Response code: 200, message: OK, url: https://staging-community.ocs.dynatrace.com/community/rest/org.swift.confluence.cli/latest/validatelicense? Result data: {"status":true,"message":"Bob Swift Atlassian Add-ons - Confluence CLI Connector has a valid license.","product":"Confluence","version":"5.6.6","build":"5639","time":"2015-06-23T22:14:47.517+0000","timeZone":"Coordinated Universal Time","title":"Dynatrace Community","baseUrl":"https://staging-community.ocs.dynatrace.com/community","connectorVersion":"4.3.0"} license validation: {"product":"Confluence","baseUrl":"https:\/\/staging-community.ocs.dynatrace.com\/community","build":"5639","connectorVersion":"4.3.0","timeZone":"Coordinated Universal Time","time":"2015-06-23T22:14:47.517+0000","message":"Bob Swift Atlassian Add-ons - Confluence CLI Connector has a valid license.","title":"Dynatrace Community","version":"5.6.6","status":true} Confluence version: 5.6.6, build: 5639, url: https://staging-community.ocs.dynatrace.com/community logged out. {noformat} However if we use our users with passwords we always get a password doesn't match: (note that the password contains a ! but even with a password only containing numbers and letters it fails). The user/pwd works fine in the browser and is a confluence admin... {noformat} LNZ123713N01:confluence-cli-4.3.0 cwat-rbrandst$ java -jar lib/confluence-cli-4.3.0.jar --server https://staging-community.ocs.dynatrace.com/community --action removePageVersions --space PUB --id 25789962 --limit 10 --debug --user reinhard.brandstaedter@dynatrace.com --password 'xxxxxxx' Client information: Client version . . . . . . . : 4.3.0 OS name . . . . . . . . . . . : Mac OS X OS version . . . . . . . . . : 10.10.4 Java name . . . . . . . . . . : Java HotSpot(TM) 64-Bit Server VM Java version . . . . . . . . : 1.8.0_20 Java arguments . . . . . . . : [] Used memory (MB) . . . . . . : 7 Free memory (MB) . . . . . . : 115 Total memory (MB) . . . . . . : 123 Max memory (MB) . . . . . . . : 1820 Default encoding . . . . . . : ISO-8859-1 User parameters (non-blank): action . . . . . . . . . . . : removePageVersions debug . . . . . . . . . . . . : true server . . . . . . . . . . . : https://staging-community.ocs.dynatrace.com/community user . . . . . . . . . . . . : reinhard.brandstaedter@dynatrace.com password . . . . . . . . . . : *** space . . . . . . . . . . . . : PUB limit . . . . . . . . . . . . : 10 id . . . . . . . . . . . . . : 25789962 Default parameters (non-blank): verbose . . . . . . . . . . . : false quiet . . . . . . . . . . . . : false outputFormat . . . . . . . . : 1 host . . . . . . . . . . . . : localhost continue . . . . . . . . . . : false simulate . . . . . . . . . . : false append . . . . . . . . . . . : false clearFileBeforeAppend . . . . : false service . . . . . . . . . . . : /rpc/soap-axis/confluenceservice-v2 loginFromStandardInput . . . : false home . . . . . . . . . . . . : Home dayOfMonth . . . . . . . . . : 0 month . . . . . . . . . . . . : 0 year . . . . . . . . . . . . : 0 toDayOfMonth . . . . . . . . : 0 toMonth . . . . . . . . . . . : 0 toYear . . . . . . . . . . . : 0 count . . . . . . . . . . . . : 2147483647 api . . . . . . . . . . . . . : latest requestType . . . . . . . . . : GET news . . . . . . . . . . . . : false exportAttachments . . . . . . : false mostPopular . . . . . . . . . : false recentlyUsed . . . . . . . . : false ancestors . . . . . . . . . . : false descendents . . . . . . . . . : false children . . . . . . . . . . : false replace . . . . . . . . . . . : false copyBlogs . . . . . . . . . . : false copyAttachments . . . . . . . : false copyComments . . . . . . . . : false copyLabels . . . . . . . . . : false copyPermissions . . . . . . . : false mergePermissions . . . . . . : false minor . . . . . . . . . . . . : false clean . . . . . . . . . . . . : false autoGroup . . . . . . . . . . : false noConvert . . . . . . . . . . : false markdown . . . . . . . . . . : false personal . . . . . . . . . . : false noIndex . . . . . . . . . . . : false featured . . . . . . . . . . : false preserveCase . . . . . . . . : false help . . . . . . . . . . . . : false Server address: https://staging-community.ocs.dynatrace.com/community/rpc/soap-axis/confluenceservice-v2 Login failed for https://staging-community.ocs.dynatrace.com/community, retry once to avoid occasional timeouts. com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. faultActor: faultNode: faultDetail: {}com.atlassian.confluence.rpc.AuthenticationFailedException:null {http://xml.apache.org/axis/}hostname:ip-10-177-2-48 com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:433) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at org.swift.common.soap.confluence.AuthenticationFailedException.getDeserializer(AuthenticationFailedException.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.confluence.ConfluenceserviceV2SoapBindingStub.login(ConfluenceserviceV2SoapBindingStub.java:4821) at org.swift.confluence.cli.ConfluenceClient.serviceLogin(ConfluenceClient.java:440) at org.swift.common.cli.AbstractRemoteClient.remoteLogin(AbstractRemoteClient.java:407) at org.swift.common.cli.AbstractRemoteClient.setupRemote(AbstractRemoteClient.java:394) at org.swift.common.cli.AbstractRemoteClient.handleSetupRemote(AbstractRemoteClient.java:239) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:276) at org.swift.common.cli.CliClient.doWork(CliClient.java:414) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:169) Unable to log in to server: https://staging-community.ocs.dynatrace.com/community/rpc/soap-axis/confluenceservice-v2 with user: reinhard.brandstaedter@dynatrace.com. Cause: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. faultActor: faultNode: faultDetail: {}com.atlassian.confluence.rpc.AuthenticationFailedException:null {http://xml.apache.org/axis/}hostname:ip-10-177-2-48 com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at java.lang.Class.newInstance(Class.java:433) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at org.swift.common.soap.confluence.AuthenticationFailedException.getDeserializer(AuthenticationFailedException.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.confluence.ConfluenceserviceV2SoapBindingStub.login(ConfluenceserviceV2SoapBindingStub.java:4821) at org.swift.confluence.cli.ConfluenceClient.serviceLogin(ConfluenceClient.java:440) at org.swift.common.cli.AbstractRemoteClient.remoteLogin(AbstractRemoteClient.java:417) at org.swift.common.cli.AbstractRemoteClient.setupRemote(AbstractRemoteClient.java:394) at org.swift.common.cli.AbstractRemoteClient.handleSetupRemote(AbstractRemoteClient.java:239) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:276) at org.swift.common.cli.CliClient.doWork(CliClient.java:414) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:169) {noformat}

    JIRA | 1 year ago | Reinhard Brandstaedter
    com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination.

    Root Cause Analysis

    1. com.atlassian.confluence.rpc.AuthenticationFailedException

      Attempt to log in user 'reinhard.brandstaedter@dynatrace.com' failed - incorrect username/password combination.

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:408)
      5. java.lang.Class.newInstance(Class.java:433)
      5 frames
    3. Axis Web Services
      BeanDeserializer.<init>
      1. org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
      2. org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
      2 frames
    4. org.swift.common
      AuthenticationFailedException.getDeserializer
      1. org.swift.common.soap.confluence.AuthenticationFailedException.getDeserializer(AuthenticationFailedException.java:75)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    6. Axis Web Services
      DeserializationContext.startElement
      1. org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
      2. org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
      3. org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
      4. org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
      5. org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
      6. org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      6 frames
    7. Java RT
      SAXParserImpl.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
      2. com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
      3. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
      6. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
      7. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
      9. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
      10. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      11. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
      12. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
      13. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)
      13 frames
    8. Axis Web Services
      Call.invoke
      1. org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      2. org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      3. org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      4. org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      5. org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      6. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      7. org.apache.axis.client.Call.invoke(Call.java:2767)
      8. org.apache.axis.client.Call.invoke(Call.java:2443)
      9. org.apache.axis.client.Call.invoke(Call.java:2366)
      10. org.apache.axis.client.Call.invoke(Call.java:1812)
      10 frames
    9. org.swift.common
      ConfluenceserviceV2SoapBindingStub.login
      1. org.swift.common.soap.confluence.ConfluenceserviceV2SoapBindingStub.login(ConfluenceserviceV2SoapBindingStub.java:4821)
      1 frame
    10. org.swift.confluence
      ConfluenceClient.serviceLogin
      1. org.swift.confluence.cli.ConfluenceClient.serviceLogin(ConfluenceClient.java:440)
      1 frame
    11. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.remoteLogin(AbstractRemoteClient.java:417)
      2. org.swift.common.cli.AbstractRemoteClient.setupRemote(AbstractRemoteClient.java:394)
      3. org.swift.common.cli.AbstractRemoteClient.handleSetupRemote(AbstractRemoteClient.java:239)
      4. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:276)
      5. org.swift.common.cli.CliClient.doWork(CliClient.java:414)
      5 frames
    12. org.swift.confluence
      ConfluenceClient.main
      1. org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:169)
      1 frame