2156453 - How to upload media to Amazon S3 via proxy server in hybris | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2156453 - How to upload media to Amazon S3 via proxy server in hybris

Symptom

There are two scenarios here depending on the different hybris versions:

  • Before hybris releases 5.2.0.7, 5.3.0.5, 5.4.0.2, 5.5.0.1 and 5.5.1.0, hybris used Jets3t to connect to Amazon S3. We named it jets3t version.
  • After the above versions were released, hybris switched to amazon aws sdk to connect. Let's call it aws version.

Symptom for jets3t version:

When trying to upload media to Amazon S3 via a http(s) proxy server, the hybris console reported the following error:

Caused by :de.hybris.platform.media.exceptions.ExternalStorageServiceException: Bucket with ID: <bucket id> is not accessible in S3 service. Check your configuration

and the upload failed.

Symptom for aws version:

INFO  [main] [AmazonHttpClient] Unable to execute HTTP request: your-endpoint-host

java.net.UnknownHostException: your-endpoint-host 

so the upload still failed.

 


Read more...

Environment

  • Any version
  • http(s) proxy server
  • Amazon S3

Product

SAP hybris Commerce Suite 5.2 ; SAP hybris Commerce Suite 5.3 ; SAP hybris Commerce Suite 5.4 ; SAP hybris Commerce Suite 5.5 ; hybris Commerce Suite 4.4 ; hybris Commerce Suite 4.5 ; hybris Commerce Suite 4.6 ; hybris Commerce Suite 4.7 ; hybris Commerce Suite 4.8 ; hybris Commerce Suite 5.0 ; hybris Commerce Suite 5.1

Keywords

media,media upload,cloud, Amazon, Amazon S3, S3, JetS3t, media upload failed, proxy server, proxy, http proxy, https proxy, upload media via proxy, upload to S3,amazonaws,aws,amazon sdk , KBA , CEC-COM-CPS , Commerce Platform & Suite (SAP Hybris) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.