Closed Bug 1204053 Opened 9 years ago Closed 9 years ago

Simulator / add-on downloads failing: redirect removes HTTPS

Categories

(DevTools Graveyard :: WebIDE, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jryans, Assigned: oremj)

Details

Attachments

(1 file)

Gives a Download Failed error.

Might related to migration to AWS.
Added a GIF to show the error
WebIDE attempts to download from a URL like:

https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/3.0/mac64/fxos_3_0_simulator-mac64-latest.xpi

which used to work.  This now gives a 302 response, redirecting to:

http://ftp.mozilla.org/pub/labs/fxos-simulator/3.0/mac64/fxos_3_0_simulator-mac64-latest.xpi

which then gives a download error.

I believe the 302 redirect itself is okay, but the redirect switches from HTTPS to HTTP.  I believe we need to preserve HTTPS here.
Summary: Simulator downloads failing → Simulator downloads failing: redirect removes HTTPS
:oremj, this sounds related to the CloudFront migration, as it seems to have started recently.

Can you investigate?
Flags: needinfo?(oremj)
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #2)
> I believe the 302 redirect itself is okay, but the redirect switches from
> HTTPS to HTTP.  I believe we need to preserve HTTPS here.

Indeed, the browser console reports a cert check error IIRC.
Summary: Simulator downloads failing: redirect removes HTTPS → Simulator / add-on downloads failing: redirect removes HTTPS
These should now redirect to https instead of http.
Flags: needinfo?(oremj)
Great, I just verified this fixed the issue.  Thanks Jeremy!
Assignee: nobody → oremj
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: