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

One or more errors occurred. | unauthorized: Invalid response | 404 Not Found #150

Open
W-Maxo opened this issue Oct 27, 2020 · 0 comments

Comments

@W-Maxo
Copy link

W-Maxo commented Oct 27, 2020

Dear @ffMathy

When trying to use your example (in Docker), a problem arises:

info: FluffySpoon.AspNet.EncryptWeMust.Certes.LetsEncryptClient[0]
       Validating all pending order authorizations.
 warn: FluffySpoon.AspNet.EncryptWeMust.Certes.ILetsEncryptRenewalService[0]
       Exception occurred renewing certificates: 'One or more LetsEncrypt orders were invalid. Make sure that LetsEncrypt can contact the domain you are trying to request an SSL certificate for, in order to verify it.'
 FluffySpoon.AspNet.EncryptWeMust.Exceptions.OrderInvalidException: One or more LetsEncrypt orders were invalid. Make sure that LetsEncrypt can contact the domain you are trying to request an SSL certificate for, in order to verify it.
  ---> System.AggregateException: One or more errors occurred. (urn:ietf:params:acme:error:unauthorized: Invalid response from http://-----My domain--/.well-known/acme-challenge/s8jcPrdR057QevGDD8VFt4IVbDRhVC9Bf0FwTGXm-Y8 [2a0a:7d80:1:7::73:a6]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p" (challenge type http-01))
  ---> System.Exception: urn:ietf:params:acme:error:unauthorized: Invalid response from http://-----My domain--/.well-known/acme-challenge/s8jcPrdR057QevGDD8VFt4IVbDRhVC9Bf0FwTGXm-Y8 [2a0a:7d80:1:7::73:a6]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p" (challenge type http-01)
    --- End of inner exception stack trace ---
    --- End of inner exception stack trace ---
    at FluffySpoon.AspNet.EncryptWeMust.Certes.LetsEncryptClient.ValidateChallenges(IChallengeContext[] challengeContexts) in /src/FluffySpoon.AspNet.EncryptWeMust/Certes/LetsEncryptClient.cs:line 79
    at FluffySpoon.AspNet.EncryptWeMust.Certes.LetsEncryptClient.FinalizeOrder(PlacedOrder placedOrder) in /src/FluffySpoon.AspNet.EncryptWeMust/Certes/LetsEncryptClient.cs:line 59
    at FluffySpoon.AspNet.EncryptWeMust.Certificates.CertificateProvider.RequestNewLetsEncryptCertificate() in /src/FluffySpoon.AspNet.EncryptWeMust/Certificates/CertificateProvider.cs:line 73
    at FluffySpoon.AspNet.EncryptWeMust.Certificates.CertificateProvider.RequestNewLetsEncryptCertificate() in /src/FluffySpoon.AspNet.EncryptWeMust/Certificates/CertificateProvider.cs:line 83
    at FluffySpoon.AspNet.EncryptWeMust.Certificates.CertificateProvider.RenewCertificateIfNeeded(IAbstractCertificate current) in /src/FluffySpoon.AspNet.EncryptWeMust/Certificates/CertificateProvider.cs:line 59
    at FluffySpoon.AspNet.EncryptWeMust.Certes.LetsEncryptRenewalService.RunOnceAsync() in /src/FluffySpoon.AspNet.EncryptWeMust/Certes/LetsEncryptRenewalService.cs:line 80
    at FluffySpoon.AspNet.EncryptWeMust.Certes.LetsEncryptRenewalService.RunOnceAsync() in /src/FluffySpoon.AspNet.EncryptWeMust/Certes/LetsEncryptRenewalService.cs:line 120
    at FluffySpoon.AspNet.EncryptWeMust.Certes.LetsEncryptRenewalService.RunOnceWithErrorHandlingAsync() in /src/FluffySpoon.AspNet.EncryptWeMust/Certes/LetsEncryptRenewalService.cs:line 133
root@316614:~#  One or more errors occurred. (urn:ietf:params:acme:error:unauthorized: Invalid response from http:// -----My domain--- /.well-known/acme-challenge/s8jcPrdR057QevGDD8VFt4IVbDRhVC9Bf0FwTGXm-Y8 [2a0a:7d80:1:7::73:a6]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found

And the same problem arises in their projects.
But everything worked fine until September.

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

No branches or pull requests

1 participant