Mugshot retrieval fails on development launchpad

Bug #403561 reported by Dave Walker
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Brad Crittenden

Bug Description

Launchpad revision:8971

Uploading a mugshot on local development server appears to work, then redirect to the ~$USER page. It is stored on the filesytem and manual retrieval times-out. There isn't much in the way of reasoning or useful logs of the failure.

If image retrieval is attempted over http, rather than the embedded url inside the page, the the image is returned as expected.

Related branches

Revision history for this message
Dave Walker (davewalker) wrote :
Revision history for this message
Dave Walker (davewalker) wrote :
Revision history for this message
Brad Crittenden (bac) wrote :

The librarian is started as http://launchpad.dev:58080 but the URL for the mugshot is https://launchpad.dev:58080. I think this is due to the use_https config variable.

Revision history for this message
Dave Walker (davewalker) wrote :

I can confirm that if the referenced image url is changed to http:// then the image is returned as expected.

Therefore, Should the image retrieval support https. Or, should the usage of mugshot be excluded from use_https setting?

description: updated
summary: - Mugshot upload/retrieval fails on development launchpad
+ Mugshot retrieval fails on development launchpad
tags: added: librarian
affects: launchpad → launchpad-registry
Changed in launchpad-registry:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
William Grant (wgrant) wrote :

For now I've locally made it use config.librarian.use_https instead of config.vhosts.use_https, but I suspect that running librarian on a separate IP address with HTTPS is a better solution.

Brad Crittenden (bac)
Changed in launchpad-registry:
assignee: nobody → Brad Crittenden (bac)
status: Triaged → In Progress
milestone: none → 3.0
Revision history for this message
Brad Crittenden (bac) wrote :

r 9448

Changed in launchpad-registry:
status: In Progress → Fix Committed
Brad Crittenden (bac)
Changed in launchpad-registry:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Released
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.