Closed Bug 611689 Opened 14 years ago Closed 14 years ago

API keeps getting internal server errors

Categories

(Webtools Graveyard :: BzAPI, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sdwilsh, Assigned: gerv)

Details

I'm trying to post comments with the API, and I keep getting this as a response:
Error: Got HTTP/400
{"error":1,"code":null,"message":"Unknown error: 500 Internal Server Error"}
Nothing has changed in BzAPI, and Bugzilla has been throwing 500 errors today, so I think that's the most likely culprit. Can you test again? Justdave did some fixes a few hours ago which are supposed to have stopped the 500 errors.

Gerv
Just tried to post a comment to this bug, and no dice. :(
Yes, I just added bug 533750 comment #3 with my local copy of the REST API temporarily pointed at b.m.o. So if you are still seeing this problem, please tell me exactly what data you are sending to what BzAPI URL, using what HTTP method etc. etc.

Gerv
OK, the problem is that there's a bad version of SOAP::Lite which breaks Bugzilla's XML-RPC API. We downgraded to a safe version on the SJC webheads, but apparently not on the PHX ones (which BzAPI was set to talking to recently for other reasons). Those reasons have now gone away, so I've changed BzAPI to talk to the SJC webheads again, and the history URL given above is now working. 

(The reason it worked for me was that my BzAPI talks to the webheads in the public DNS, which are in SJC.)

Meanwhile, justdave is working on fixing SOAP::Lite on the PHX webheads.

Gerv
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Depends on: 626336
No longer depends on: 626336
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.