Error: Could not connect to Stash rest services

Issue #1 open
KamleshR created an issue

Hi, We have linked up Jira/Stash and we have used this for quite some time now effectively..

We recently instaled Storyflow for Stash (v2.5) but when we try to issue-link, as you can see on the attachements, we get an error message saying "Could not connect to stash rest services"

Attached are the snapshots of the error screen and the Jira/Stash interlinking.

Any pointers on how this could be resolved is much appreciated.

Regards, Kamlesh

Comments (11)

  1. Alan Parkinson

    Hi Kamlesh,

    Does any messages occur in the Stash Log? You might be seeing these messages "Authentication exception contacting JIRA." or "Exception contacting JIRA.".

    If no Storyflow messages appear in the log, try switching the logging to "INFO" and try configuring the repository again.

    Cheers,

    Alan

  2. KamleshR reporter

    Sorry Alan, I did not get your first update for some reason. Only at the time of the closing this ticket did I get an e-mail..

    Please re-open the ticket and in the meantime, I will get you the logs.

    Thanks...

  3. Karl Ostmo

    Here is the log output of "atlassian-stash.log" when I observe the error on the repository settings "Issue transitions" screen:

    2013-09-10 15:26:32,109 DEBUG [http-bio-7990-exec-2576] 926x1250021x2 10.32.70.115 "OPTIONS /rest/storyflow/1.0/config/FW/firmware/statuses HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider attempting authentication with authenticator com.atlassian.stash.stash-auth-crowd-sso:crowdSsoAuthHandler
    2013-09-10 15:26:32,109 DEBUG [http-bio-7990-exec-2576] 926x1250021x2 10.32.70.115 "OPTIONS /rest/storyflow/1.0/config/FW/firmware/statuses HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider attempting authentication with authenticator com.atlassian.stash.stash-authentication:crowdHttpAuthHandler
    2013-09-10 15:26:32,109 DEBUG [http-bio-7990-exec-2576] 926x1250021x2 10.32.70.115 "OPTIONS /rest/storyflow/1.0/config/FW/firmware/statuses HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider attempting authentication with authenticator com.atlassian.stash.stash-authentication:rememberMeAuthHandler
    2013-09-10 15:26:32,109 DEBUG [http-bio-7990-exec-2579] 926x1250020x1 10.32.70.115 "OPTIONS /rest/storyflow/1.0/config/FW/firmware/transitions HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider attempting authentication with authenticator com.atlassian.stash.stash-auth-crowd-sso:crowdSsoAuthHandler
    2013-09-10 15:26:32,110 DEBUG [http-bio-7990-exec-2579] 926x1250020x1 10.32.70.115 "OPTIONS /rest/storyflow/1.0/config/FW/firmware/transitions HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider attempting authentication with authenticator com.atlassian.stash.stash-authentication:crowdHttpAuthHandler
    2013-09-10 15:26:32,110 DEBUG [http-bio-7990-exec-2579] 926x1250020x1 10.32.70.115 "OPTIONS /rest/storyflow/1.0/config/FW/firmware/transitions HTTP/1.1" c.a.s.i.s.s.PluginAuthenticationProvider attempting authentication with authenticator com.atlassian.stash.stash-authentication:rememberMeAuthHandler
    
  4. KamleshR reporter

    Hi Support team, Any updates on this...This feature is important and currently we are blocked on it.

    Regards, Kamlesh

  5. Mike Kessler

    I too am getting this error. In development I was able to get the plugin to work, but when I changed the URL for JIRA, the error seemed to arise. Maybe something about the old URL is still cached?

  6. Mike Kessler

    actually @kamleshrao I just fixed it by enabling all the 2-Legged OAuth requests on both JIRA and Stash. Make sure you click through the tabs for Incoming and Outgoing.

  7. Log in to comment