Closed Bug 672855 Opened 13 years ago Closed 13 years ago

Standalone/compatibility validation fails with 400 bad request error

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: krupa.mozbugs, Assigned: kumar)

References

()

Details

steps to reproduce:
1. Load https://addons.allizom.org/en-US/developers/addon/check-compatibility
2. Upload any .xpi file

expected behavior:
compatibility results are shown

actual behavior:
Validation fails with "There was a problem contacting the server". 

https://addons.allizom.org/en-US/developers/standalone-upload



POST /en-US/developers/standalone-upload HTTP/1.1

Host: addons.allizom.org

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1) Gecko/20100101 Firefox/5.0.1

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Referer: https://addons.allizom.org/en-US/developers/addon/check-compatibility

Content-Length: 5014

Content-Type: multipart/form-data; boundary=---------------------------147957524415079772952119878818

Cookie: amo_home_promo_seen=5; AMOappName=firefox; multidb_pin_writes=y; AMOv3=il9dnm540pj1mgah33t51cgem2; sessionid=e72188b526934ea88dd75cfde0f9e1cc; yes-I-read-the-dev-agreement=

Pragma: no-cache

Cache-Control: no-cache

-----------------------------147957524415079772952119878818

Content-Disposition: form-data; name="csrfmiddlewaretoken"



2157eb25d94996336771e8a771bc744c

-----------------------------147957524415079772952119878818

Content-Disposition: form-data; name="app_id"



1

-----------------------------147957524415079772952119878818

Content-Disposition: form-data; name="version_id"



410

-----------------------------147957524415079772952119878818

Content-Disposition: form-data; name="upload"; filename="coolp-2.xpi"

Content-Type: application/x-xpinstall



PK


HTTP/1.1 400 Bad Request

Server: Apache

X-Backend-Server: pm-app-amo24

Cache-Control: no-cache

Content-Type: text/html; charset=UTF-8

P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"

Date: Wed, 20 Jul 2011 17:33:41 GMT

X-AMO-ServedBy: pm-app-amo24.mozilla.org

Via: Moz-Cache-pm-zlb-amo01

Connection: close

X-Powered-By: PHP/5.2.9

Content-Length: 681


Why do I see "X-Powered-By: PHP/5.2.9" in the response headers?
Blocks: 668901
The upload URL conflicts with remora.  You can use /z/ to test it out.  I'll mention in bug 668901 that we need it whitelisted.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.