Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Need help debugging org-jira #13

Open
dhaley opened this Issue · 1 comment

2 participants

Damon Haley Bao Haojun
Damon Haley

Hi, I've been using org-jira with emacs 24 for six months now with no issues.

But yesterday, it sopped working with this errror:

https://gist.github.com/dhaley/5870322

The xml document loads fine and relatively fast in a browser window.

https://cuboulder.atlassian.net/rpc/soap/jirasoapservice-v2?wsdl

Is this a bug with emacs-jira or an issue with my team's jira install?

Any pointers or ideas appreciated.

Bao Haojun
Owner

Hi, this error seems pretty low level, 400 http error code means bad request.

I suggest that you step through soap-load-wsdl-from-url using edebug, and after these 2 lines:

(let ((buffer (url-retrieve-synchronously url)))
  (with-current-buffer buffer

you can M-: (switch-to-buffer buffer) to check what is retrieved from https://cuboulder.atlassian.net/rpc/soap/jirasoapservice-v2?wsdl.

If not enough, you may even need to step through url-retrieve-synchronously.

When I try to run (soap-load-wsdl-from-url) with the url you provided, the result buffer is like following:

HTTP/1.1 200 OK
Server: nginx
Date: Thu, 27 Jun 2013 01:49:39 GMT
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Connection: close
X-AREQUESTID: 1189x41970x1
X-AUSERNAME: anonymous
X-Content-Type-Options: nosniff
Vary: Accept-Encoding
Strict-Transport-Security: max-age=315360000;includeSubdomains

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="https://cuboulder.atlassian.net/rpc/soap/jirasoapservice-v2" 
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.