question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi!

I’ve got the resizing working, but Lambda is not working on HTTPS. I can reach my original (public) S3 image on https://[bucket].s3.eu-north-1.amazonaws.com/[image].jpg and http://[bucket].s3.eu-north-1.amazonaws.com/[image].jpg

And resized via Lambda on HTTP http://[bucket].s3-website.eu-north-1.amazonaws.com/300x300/[image].jpg But on on HTTPS https://[bucket].s3-website.eu-north-1.amazonaws.com/300x300/[image].jpg That just times out.

Though, when I have used Lambda over HTTP I can reach via HTTPS directly through S3.

Any ideas?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

9reactions
subpubliccommented, Nov 20, 2019

Yes

First i followed this guide to point https to my S3 website https://medium.com/@channaly/how-to-host-static-website-with-https-using-amazon-s3-251434490c59

Then

  • I pointed the URL Variable to my https domain.
  • I uploaded the new zip, created a new release of Lambda and pointed “prod” to the new release.
  • Went to CloudFront -> chose my distribution -> Behaviours -> Edit. Here I could change Default TTL to 0.
5reactions
adskiremotecommented, Dec 16, 2019

Wanted to add I ran into issues when configuring this for my Cloud Front distribution.

On your distribution origin domain name make sure you enter the S3 web Endpoint - not the S3 origin.

Otherwise you will receive access denied errors. See issue and resolution here: https://stackoverflow.com/questions/34060394/cloudfront-s3-website-the-specified-key-does-not-exist-when-an-implicit-ind/34065543#34065543

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is SSL/HTTPS not working on my site? - Support | one.com
There can be several reasons why SSL/HTTPS is not working on your site. Please see if one of the causes listed below helps...
Read more >
A Simple Explanation of SSL Certificate Errors & How to Fix ...
How to Fix SSL Certificate Error · 1. Diagnose the problem with an online tool. · 2. Install an intermediate certificate on your...
Read more >
8 Ways to Fix SSL Connection Errors on Various Browsers ...
In broad terms, SSL connection errors will prevent you from browsing a website securely over Hypertext Transfer Protocol Secure (HTTPS). Your ...
Read more >
HTTPS Not Working in Chrome: How to Fix SSL Cerificate Errors
How do I fix HTTPS error on Chrome? · 1. Clear the SSL Cache · 2. Flush the DNS Cache · 3. Adjust...
Read more >
Fix connection errors - Google Chrome Help
Step 4: Temporarily turn off your antivirus. You'll see this error if you have antivirus software that provides "HTTPS protection" or "HTTPS scanning."...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found