basecamp / basecamp/thruster

TLS handshake error when using Cloudfront as CDN

Open
#42 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
58
Avg merge
1d 2h
Merged PRs (30d)
6

Description

I'm seeing this in `kamal proxy logs -f` for any request made from Cloudfront to the Rails app (Thruster). Cloudfront itself throws a 502 error screen.

```
2024-10-06T16:07:51.540795855Z {"time":"2024-10-06T16:07:51.54066842Z","level":"INFO","msg":"http: TLS handshake error from 64.252.114.216:24268: unknown server name"}
```

Kamal proxy settings:

```
proxy:
ssl: true
host: ****** (app's domain)
```

Contributor guide

Open the contributing guide

Research direction

Start with the CloudFront-to-Thruster request path and reproduce the 502 while following `kamal proxy logs -f` with the shown proxy settings. Check how the requested hostname is handled against the configured app domain; done means CloudFront requests complete without the TLS “unknown server name” error or 502.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
backend, cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.