502 Bad Gateway when uploading a snap

Bug #1564173 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Undecided
Unassigned

Bug Description

I got this error when trying to upload a snap to the staging store.

$ UBUNTU_STORE_API_ROOT_URL=https://myapps.developer.staging.ubuntu.com/dev/api/ UBUNTU_STORE_UPLOAD_ROOT_URL=https://upload.apps.staging.ubuntu.com/ UBUNTU_SSO_API_ROOT_URL=https://login.staging.ubuntu.com/api/v2/ ./bin/snapcraft upload /tmp/xenial-preinstalled-core-amd64.kernel.snap
Parallel unsquashfs: Using 8 processors
1 inodes (1 blocks) to write

[=========================================================================================|] 1/1 100%

created 1 files
created 2 directories
created 0 symlinks
created 0 devices
created 0 fifos
Uploading existing /tmp/xenial-preinstalled-core-amd64.kernel.snap.

Uploading /tmp/xenial-preinstalled-core-amd64.kernel.snap [============================= ] 80%
Uploading /tmp/xenial-preinstalled-core-amd64.kernel.snap [=====================================] 100%
There was an error uploading the package.
Reason: Bad Gateway
Text: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at upload.apps.staging.ubuntu.com Port 443</address>
</body></html>

Upload failed:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at upload.apps.staging.ubuntu.com Port 443</address>
</body></html>

Changed in snapcraft:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.