Closed
Bug 1319635
Opened 7 years ago
Closed 7 years ago
[traceback] ValueError: Invalid boundary in multipart form: b'' [antenna]
Categories
(Socorro :: Antenna, task)
Socorro
Antenna
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
References
Details
Attachments
(1 file)
Saw this in Sentry error email: """ ValueError: Invalid boundary in multipart form: b'' (5 additional frame(s) were not displayed) ... File "antenna/metrics.py", line 235, in _timer_decorator return fun(*args, **kwargs) File "antenna/breakpad_resource.py", line 230, in on_post raw_crash, dumps = self.extract_payload(req) File "antenna/breakpad_resource.py", line 140, in extract_payload fs = cgi.FieldStorage(fp=data, environ=req.env, keep_blank_values=1) """ https://sentry.prod.mozaws.net/operations/antenna-stage/issues/369460/
Assignee | ||
Comment 1•7 years ago
|
||
I should look into this before we put Antenna into production. Making it block Antenna tracker bug and grabbing it to look into next week.
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
I can reproduce the issue with this curl request: """ curl \ -X POST \ --compressed \ -H "Accept: */*" \ -H "Accept-Encoding: gzip, deflate" \ -H "Connection: close" \ -H "Content-Length: 778385" \ -H "Content-Type: multipart/form-data" \ -H "Productname: Firefox" \ -H "User-Agent: python-requests/2.12.1" \ -H "Version: 1" \ "http://localhost:8000/submit" """ We can run that against -dev by changing the last line.
Assignee | ||
Comment 4•7 years ago
|
||
I landed PR 135. Will test on -dev as soon as it's pushed out.
Assignee | ||
Comment 5•7 years ago
|
||
Mmm... it's not kicking up errors, but it is hanging. I'll have to look into it--can't tell if it's hanging in nginx or if it's hanging in Antenna. I have a system test that hangs in Antenna when there's no payload. I'm going to call this fixed since it's not raising the error anymore. The hanging issue is a separate issue.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•7 years ago
|
||
Switching Antenna bugs to Antenna component.
Component: General → Antenna
You need to log in
before you can comment on or make changes to this bug.
Description
•