Closed Bug 944109 Opened 11 years ago Closed 11 years ago

Heroed collection images are 403ing

Categories

(Marketplace Graveyard :: API, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-12-17

People

(Reporter: cvan, Assigned: mat)

References

Details

GET https://marketplace-dev-cdn.allizom.org/api/rocketfuel/collections/181/image/?be6497a-529667d6 403 (Forbidden)

I assume this is because of nginx or something. IDK.
Is this related to bug 912491?
Flags: needinfo?(oremj)
Priority: -- → P1
This is blocked by https://github.com/mozilla-services/svcops-puppet/blob/9441d7ecd9465c1ba76e235ca55525dc3e8969fc/modules/marketplace/templates/nginx/marketplace.conf?source=cc#L127

Only urls ending in that group of extensions is allowed by the CDN vserver.
Flags: needinfo?(oremj)
Good call, thanks.  We should make this URL end in .png or whatever is appropriate.
Assignee: nobody → ashort
https://github.com/mozilla/zamboni/commit/bd2e346
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-12-17
thanks
Now we are not able to change or save an image for an old/new collection. Please see screencast http://screencast.com/t/qpVdqqvvxtJ
Tried with the following collection https://marketplace-dev.allizom.org/curation/collection/jason-praz
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
The curation tool tries to make a PUT request to /image/, but we changed it to /image.png. Tested with a dummy collection:
https://marketplace-dev.allizom.org/api/v1/rocketfuel/collections/209/image/

It's cool that we return something ending in /image.png for GET since that was a requirement for the CDN, but we should accept PUT to /image or /image/, IMHO.
Assignee: ashort → mpillard
Pull Request with the fix: https://github.com/mozilla/zamboni/pull/1547/
Status: REOPENED → ASSIGNED
Fixed in https://github.com/mozilla/zamboni/commit/997ea025166562655c42bfb5d09486fe1178dcc4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Verified as fixed in https://marketplace-dev.allizom.org/ on FF29 (Win 7).
Postfix screencast http://screencast.com/t/M9OInlgUT1
Closing bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.