AnsweredAssumed Answered

Send a request to "Thumbor" via Akamai. Got 400 Bad Request

Question asked by Pongphop Laochaikun on Jun 9, 2017
Latest reply on Aug 25, 2017 by Dmitry Mukhin

Hello everyone,

 

Has anyone used Thumbor as Open source to do image optimization before? Now we are in a trasition process from this to Image Manager (obviously cooler) but we still have to make this work with Thumbor first.

https://images.customer.com/rDVNNasdsdgQvoKirw8f_RF8bA=/fit-in/236x345/filters:quality(90):fill(ffffff)/https://static.customer.com/p/picture-8250-297395-1.jpg 

 

When I requested this via Akamai Edge, I got 400 Bad request. I am sure that I forwarded host header correctly. My property configuration does not alter URL or header.

 

I also tried with the encoded URL but it is still not working.

 

Example of Request Header:

:authority:www.customer.com
:method:GET
:path:/rDVNNasdsdgQvoKirw8f_RF8bA=/fit-in/236x345/filters:quality(90):fill(ffffff)/https://static.customer.com/p/picture-8250-297395-1.jpg 
:scheme:https
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
accept-encoding:gzip, deflate, sdch, br
accept-language:th,en-GB;q=0.8,en;q=0.6
cache-control:no-cache
pragma:no-cache
upgrade-insecure-requests:1
user-agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Name
converse-4686-401995-1.jpg

 

Example of Response Header:
cache-control:max-age=604797
content-length:0
content-type:text/html; charset=UTF-8
date:Fri, 09 Jun 2017 05:52:11 GMT
expires:Fri, 16 Jun 2017 05:52:08 GMT
server:nginx
status:400
x-akamai-staging:ESSL
x-server:thumbor-asg.images

 

Thank you in advance,

Chong

Outcomes