Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

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

Open
willvin313 opened this issue Jan 16, 2019 · 7 comments

Comments

@willvin313
Copy link

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

@JesseBusman
Copy link

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

@willvin313
Copy link
Author

willvin313 commented Feb 5, 2019

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

@laikee99
Copy link

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

@willvin313
Copy link
Author

@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.

@yourivw
Copy link
Owner

yourivw commented Mar 16, 2019

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

@AndreFabris
Copy link

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

@yourivw
Copy link
Owner

yourivw commented Mar 31, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants