Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing certificate bundle in Docker image #359

Closed
tfheen opened this issue Jul 9, 2022 · 2 comments
Closed

Missing certificate bundle in Docker image #359

tfheen opened this issue Jul 9, 2022 · 2 comments
Labels
🪲 bug Something isn't working server Relates to the main binary (server or client)

Comments

@tfheen
Copy link

tfheen commented Jul 9, 2022

When publishing a notification to my server running the 1.27.2 Docker image, I get an error in the log: Unable to publish poll request: Post "https://ntfy.sh/f9a14d6123f[…]": x509: certificate signed by unknown authority. I think the CA bundle is missing.

@binwiederhier binwiederhier added 🪲 bug Something isn't working server Relates to the main binary (server or client) labels Oct 1, 2022
@binwiederhier
Copy link
Owner

binwiederhier commented Oct 1, 2022

My apologies for the delay, but #387 :-D

I tried this and I cannot reproduce it:

ocker run \
  -p 2080:80 \
  -it \
  binwiederhier/ntfy \
    --debug \
    serve \
    --base-url http://127.0.0.1 \
    --upstream-base-url https://ntfy.sh

2022/10/01 20:10:21 INFO Listening on :80[http], ntfy 1.28.0, log level is DEBUG
2022/10/01 20:10:23 DEBUG 172.17.0.1 HTTP POST /mytopic Dispatching request
2022/10/01 20:10:23 DEBUG 172.17.0.1/mytopic/GVkLPnJ7eJoj Received message: event=poll_request, body=11 byte(s), delayed=false, firebase=true, cache=false, up=false, email=
2022/10/01 20:10:23 DEBUG 172.17.0.1/mytopic/GVkLPnJ7eJoj Publishing poll request to https://ntfy.sh/2aa077f08d5bb00f192c983fcefeb56ce7feee97059c1b0f2ed26dd916913aa5
curl -d hi -H "X-Poll-ID: abc" localhost:2080/mytopic
{"id":"GVkLPnJ7eJoj","time":1664655023,"event":"poll_request","topic":"mytopic","message":"New message","poll_id":"abc"}

Maybe the newer Alpine image contains updated certs.

@binwiederhier
Copy link
Owner

I'm going to close this for now, but I'm happy to re-open at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working server Relates to the main binary (server or client)
Projects
None yet
Development

No branches or pull requests

2 participants