1
2
Fork
You've already forked auto-encrypt
3

Renewal fails, but new cert issues ok #9

Closed
opened 2023年06月20日 21:55:53 +02:00 by syndic-will · 1 comment

With another app where I use this library besides Guppe, https://github.com/immers-space/immers, we recently found all of the different deploys in a project unable to renew.

Similar to #6 (comment), the logs would show

| 🔒 ❨auto-encrypt❩ HTTP server is now only responding to Let’s Encrypt challenges.
| ⚠ ❨auto-encrypt❩ Received non-ACME HTTP request for /, not responding.

and then it would stay in ACME mode forever, occasionally logging out more of those "non-ACME HTTP request" warnings as stray requests came in.

One thing both projects have in common is a recent change to be moved behind a non-tls-terminating load balancer, but one was docker swarm while the other is Amazon NLB.

Interestingly, for this case we were able to resume service for now by deleting the stored certs and restarting the server, triggering a fresh cert request which completed without issue.

We're also a little behind on version, using auto-encrypt 3.1.0, because we're still on node 16.

With another app where I use this library besides Guppe, https://github.com/immers-space/immers, we recently found all of the different deploys in a project unable to renew. Similar to https://codeberg.org/small-tech/auto-encrypt/issues/6#issuecomment-771989, the logs would show ``` | 🔒 ❨auto-encrypt❩ HTTP server is now only responding to Let’s Encrypt challenges. | ⚠ ❨auto-encrypt❩ Received non-ACME HTTP request for /, not responding. ``` and then it would stay in ACME mode forever, occasionally logging out more of those "non-ACME HTTP request" warnings as stray requests came in. One thing both projects have in common is a recent change to be moved behind a non-tls-terminating load balancer, but one was docker swarm while the other is Amazon NLB. Interestingly, for this case we were able to resume service for now by deleting the stored certs and restarting the server, triggering a fresh cert request which completed without issue. We're also a little behind on version, using auto-encrypt 3.1.0, because we're still on node 16.
Owner
Copy link

@syndic-will Appreciate the issue and sorry for the slow response.

It’s very possible that the load balancer is the issue. That’s where I’d look. By its very nature, Small Tech stuff isn’t tested for that use case so I’m afraid I can’t be of too much help there :)

Version 3.1.0 should not be the cause of the issue as it meets the latest requirements from the Let’s Encrypt side of things.

Closing this issue as load balancing is not a supported feature but if you do figure it out, please feel free to update the issue with what you find. (Or, if it turns out not to be related to the load balancer, please also feel free to reopen it.)

@syndic-will Appreciate the issue and sorry for the slow response. It’s very possible that the load balancer is the issue. That’s where I’d look. By its very nature, Small Tech stuff isn’t tested for that use case so I’m afraid I can’t be of too much help there :) Version 3.1.0 should not be the cause of the issue as it meets the latest requirements from the Let’s Encrypt side of things. Closing this issue as load balancing is not a supported feature but if you do figure it out, please feel free to update the issue with what you find. (Or, if it turns out not to be related to the load balancer, please also feel free to reopen it.)
Sign in to join this conversation.
No Branch/Tag specified
main
ip-address-support
ari-fix
jose-1.28.2-to-6.1.3-upgrade
ARI
2.x
5.1.0
5.0.1
5.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
small-tech/auto-encrypt#9
Reference in a new issue
small-tech/auto-encrypt
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?