Skip to content

tls: fix tls-alpn-01 flow#24

Open
mrl5 wants to merge 1 commit intopingooio:mainfrom
mrl5:fix-tls-alpn-01-flow
Open

tls: fix tls-alpn-01 flow#24
mrl5 wants to merge 1 commit intopingooio:mainfrom
mrl5:fix-tls-alpn-01-flow

Conversation

@mrl5
Copy link

@mrl5 mrl5 commented Jan 30, 2026

pingoo exits before tls-alpn-01 flow finishes

this is a regression introduced in commit 4d2c340 -- release v0.14.9

steps to reproduce

  1. (probably optional) use standalone binary
  2. setup DNS record e.g. foo.bar
  3. make sure /etc/pingoo/tls is empty
  4. set minimal tls config - e.g.:
listeners:
  https:
    address: https://0.0.0.0

tls:
  acme:
    domains: ["foo.bar"]

services:
  api:
    http_proxy: ["http://127.0.0.1:3000"]
  1. run some example service on port 3000 -- e.g. pong.rs
  2. run pingoo - e.g. with sudo ./pingoo

expected result

  1. TLS certificate is obtained from Lets Encrypt and saved to /etc/pingoo/tls/
  2. pingoo accepts https requests

actual result

pingoo exits with 0 before certificates are written

0. (probably optional) use standalone binary
1. setup DNS record e.g. `foo.bar`
2. make sure `/etc/pingoo/tls` is empty
3. set minimal tls config - e.g.:
```toml
listeners:
  https:
    address: https://0.0.0.0

tls:
  acme:
    domains: ["foo.bar"]

services:
  api:
    http_proxy: ["http://127.0.0.1:3000"]
```
4. run some example service on port `3000` -- e.g. `pong.rs`
5. run pingoo - e.g. with `sudo ./pingoo`

TLS certificate is obtained from Lets Encrypt and saved to
`/etc/pingoo/tls/`

pingoo exits with `0` before certificates are written
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant