Standalone/compatibility validation fails with 400 bad request error

RESOLVED INVALID

Status

RESOLVED INVALID
8 years ago
3 years ago

People

(Reporter: krupa.mozbugs, Assigned: kumar)

Tracking

unspecified
6.1.7

Details

(URL)

(Reporter)

Description

8 years ago
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?
(Reporter)

Updated

8 years ago
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
Last Resolved: 8 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.