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

Acme-alpn does not work #803

Closed
arturt10ten opened this issue Apr 14, 2024 · 0 comments · Fixed by #804
Closed

Acme-alpn does not work #803

arturt10ten opened this issue Apr 14, 2024 · 0 comments · Fixed by #804
Labels
bug Something isn't working

Comments

@arturt10ten
Copy link
Contributor

Expected Behavior

Example code should work

Actual Behavior

2024-04-13T23:58:50.902818Z DEBUG poem::listener::acme::client: loading directory
2024-04-13T23:58:51.504439Z DEBUG poem::listener::acme::client: directory loaded new_nonce="https://acme-v02.api.letsencrypt.org/acme/new-nonce" new_account="https://acme-v02.api.letsencrypt.org/acme/new-acct" new_order="https://acme-v02.api.letsencrypt.org/acme/new-order"
2024-04-13T23:58:51.505264Z DEBUG poem::listener::acme::listener: issue certificate
2024-04-13T23:58:51.505257Z  INFO poem::server: listening name="hello-world" addr=socket://0.0.0.0:443
2024-04-13T23:58:51.505361Z DEBUG poem::listener::acme::client: creating acme account
2024-04-13T23:58:51.505366Z  INFO poem::server: server started name="hello-world"
2024-04-13T23:58:51.505417Z DEBUG poem::listener::acme::client: creating nonce
2024-04-13T23:58:51.716131Z DEBUG poem::listener::acme::client: nonce created nonce="V_63_Dn5pwrG1CrgKvsEODgmrYot6Vhx66ZN_8Fi2w3bqX9KOIU"
2024-04-13T23:58:51.716798Z DEBUG poem::listener::acme::jose: http request uri=https://acme-v02.api.letsencrypt.org/acme/new-acct
2024-04-13T23:58:51.904047Z ERROR poem::listener::acme::listener: failed to issue certificate error=unexpected status code: status = 415 Unsupported Media Type

Steps to Reproduce the Problem

Take code in exaples/poem/acme-alpn-01
Change domain to yours
Run

Specifications

  • Version: 3.0.0 (f6bec88)
  • Platform: Linux
  • Subsystem: acme
@arturt10ten arturt10ten added the bug Something isn't working label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant