LEClient icon indicating copy to clipboard operation
LEClient copied to clipboard

Fatal error: Uncaught RuntimeException: Invalid response, header: HTTP/1.1 100 Continue

Open willvin313 opened this issue 7 years ago • 7 comments

Fatal error: Uncaught RuntimeException: Invalid response, header: HTTP/1.1 100 Continue Expires: Wed, 16 Jan 2019 18:57:23 GMT Cache-Control: max-age=0, no-cache, no-store Pragma: no-cache

HTTP/1.1 400 Bad Request Server: nginx Content-Type: application/problem+json Content-Length: 134 Replay-Nonce: 9Hx29F8ypaXiZ2jaLIUQkf9tYzDNUoe9ntQwiH9y2h0 Expires: Wed, 16 Jan 2019 18:57:23 GMT Cache-Control: max-age=0, no-cache, no-store Pragma: no-cache Date: Wed, 16 Jan 2019 18:57:23 GMT Connection: close

in vendor\yourivw\leclient\src\LEConnector.php on line 147

Am running the library on a Wamp server with php 7.2.4

willvin313 avatar Jan 16 '19 22:01 willvin313

@willvin313 I have the same problem. Did you ever find a solution?

JesseBusman avatar Feb 03 '19 15:02 JesseBusman

@JesseBusman i couldn't solve the issue, i noticed the error changes.

willvin313 avatar Feb 05 '19 15:02 willvin313

I think you must check if the info order needed is all provided. That's how I fixed.

laikee99 avatar Feb 13 '19 19:02 laikee99

@sddwt i made sure all info for the order was provided. @JesseBusman According to this thread Link , they said the cause of the error, is the agreement URL used by the client does not match the current ACME agreement URL. i don't know if that applies to the yourivw/LEClient lib.

willvin313 avatar Feb 14 '19 23:02 willvin313

Have you tried running the example directly? The issue might be in there. If you do so and you select the LOG_DEBUG logging level, you'll find the following error trying to create the account:

Error creating new account :: invalid contact domain. Contact emails @example.org are forbidden

yourivw avatar Mar 16 '19 12:03 yourivw

Am I missing something. I am getting this error also. This is my code: $user = \Auth::user(); $email = array($user->email); $client = new LEClient($email);

I am assuming the first step is to create a client, and I cannot do that. Any ideas what to do?

Exact error: Invalid response, header: HTTP/1.1 100 Continue Expires: Sat, 30 Mar 2019 13:41:33 GMT Cache-Control: max-age=0, no-cache, no-store Pragma: no-cache HTTP/1.1 400 Bad Request Server: nginx Content-Type: application/problem+json Content-Length: 134 Link: https://acme-v02.api.letsencrypt.org/directory;rel="index" Replay-Nonce: ZMb9MQ91Re5X3770hkVB_cbsXHBkaklZKMkJX7K-T-U Expires: Sat, 30 Mar 2019 13:41:33 GMT Cache-Control: max-age=0, no-cache, no-store Pragma: no-cache Date: Sat, 30 Mar 2019 13:41:33 GMT Connection: close

AndreFabris avatar Mar 30 '19 13:03 AndreFabris

Try running with the LOG_DEBUG level and have a look at the output. You will have the full response and probably there will be a reason for this error in that response.

yourivw avatar Mar 31 '19 08:03 yourivw