com.atlassian.jira.rpc.exception.RemoteAuthenticationException: Invalid username or password.

Atlassian JIRA | Riaz Khanmohamed | 10 years ago
  1. 0
  2. 0
  3. 0

    The plugin works great when I first launch IntelliJ. However, after developing for a while (over an hour) and not interacting with the Atlassian pane, things start to go wrong. Whenever the plugin wants to communicate with the server, I get the error noted below. The only way I could find to find to get around this without restarting IntelliJ is to hit the "Refresh Servers" button. Wouldn't it be a lot easier if the plugin would just log back in if the session times out? It knows my credentials after all. {noformat} com.atlassian.connector.commons.jira.rss.JIRAException: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getAvailableActions(JIRAServerFacade2Impl.java:346) at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.getAvailableActions(IntelliJJiraServerFacade.java:136) at com.atlassian.theplugin.idea.jira.IssueListToolWindowPanel$11.run(IssueListToolWindowPanel.java:414) Caused by: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.getAvailableActions(JIRASessionImpl.java:612) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getAvailableActions(JIRAServerFacade2Impl.java:343) ... 2 more Caused by: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException.getDeserializer(RemoteAuthenticationException.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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 org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) 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 com.atlassian.connector.commons.jira.soap.axis.JirasoapserviceV2SoapBindingStub.getAvailableActions(JirasoapserviceV2SoapBindingStub.java:4653) at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.getAvailableActions(JIRASessionImpl.java:603) ... 3 more {noformat}

    Ecosystem JIRA | 6 years ago | Dieter Vrancken
    com.atlassian.connector.commons.jira.rss.JIRAException: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Here is the scenario that seems to reproduce the below error. I start progress on a JIRA issue, and then continue to work on the issue for a bit. After about an hour or so I go to perform any work flow action (like stop progress) and I get an error that says that it cannot get the list of available actions from JIRA. When I click the details it shows me the below error. com.atlassian.connector.commons.jira.rss.JIRAException: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getAvailableActions(JIRAServerFacade2Impl.java:346) at com.atlassian.theplugin.commons.jira.IntelliJJiraServerFacade.getAvailableActions(IntelliJJiraServerFacade.java:136) at com.atlassian.theplugin.idea.jira.WorkLogCreateAndMaybeDeactivateDialog$2.run(WorkLogCreateAndMaybeDeactivateDialog.java:197) Caused by: com.atlassian.theplugin.commons.remoteapi.RemoteApiException: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.getAvailableActions(JIRASessionImpl.java:612) at com.atlassian.connector.commons.jira.JIRAServerFacade2Impl.getAvailableActions(JIRAServerFacade2Impl.java:343) ... 2 more Caused by: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException.getDeserializer(RemoteAuthenticationException.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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 org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) 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 com.atlassian.connector.commons.jira.soap.axis.JirasoapserviceV2SoapBindingStub.getAvailableActions(JirasoapserviceV2SoapBindingStub.java:4653) at com.atlassian.connector.commons.jira.soap.JIRASessionImpl.getAvailableActions(JIRASessionImpl.java:603) ... 3 more Attempting to do any action after receiving that error then works as expected. It seems that some sort of session is timing out behind the scenes, and then once I get that error all of the sudden the session is good again. I have received this error ever since my Atlassian connector was updated about a week ago. Before that (I believe that I used to be on 2.4.1) I had never seen this error before. Let me know if you need any further information or description.

    Ecosystem JIRA | 6 years ago | Aaron U'Ren
    com.atlassian.connector.commons.jira.rss.JIRAException: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out.
  6. 0

    Every few days, a build will repeatedly fail because 'JIRA Plugin' failed to connect, claiming: "User not authenticated yet, or session timed out." {code} [JIRA] Updating issues using workflow action Submit to QA. [JIRA] JQL: project = ZZZ and fixVersion = "1.0.x" and status in (resolved) FATAL: null AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. faultActor: faultNode: faultDetail: {}com.atlassian.jira.rpc.exception.RemoteException:null {http://xml.apache.org/axis/}hostname:h80-84-52-42.host.redstation.co.uk com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out. at sun.reflect.GeneratedConstructorAccessor239.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at java.lang.Class.newInstance0(Class.java:374) at java.lang.Class.newInstance(Class.java:327) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) at hudson.plugins.jira.soap.RemoteAuthenticationException.getDeserializer(RemoteAuthenticationException.java:75) at sun.reflect.GeneratedMethodAccessor947.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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 org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) 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 hudson.plugins.jira.soap.JirasoapserviceV2SoapBindingStub.getIssuesFromJqlSearch(JirasoapserviceV2SoapBindingStub.java:7422) at hudson.plugins.jira.JiraSession.getIssuesFromJqlSearch(JiraSession.java:136) at hudson.plugins.jira.JiraSite.progressMatchingIssues(JiraSite.java:614) at hudson.plugins.jira.JiraIssueUpdateBuilder.perform(JiraIssueUpdateBuilder.java:96) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) {code}

    Jenkins JIRA | 3 years ago | Rafael Bodill
    com.atlassian.jira.rpc.exception.RemoteAuthenticationException: User not authenticated yet, or session timed out.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.jira.rpc.exception.RemoteAuthenticationException

      Invalid username or password.

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      NativeConstructorAccessorImpl.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      2 frames