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

fread() SSL forced connection interruption by remote host #7

Open
hgc2002 opened this issue Nov 8, 2018 · 1 comment
Open

fread() SSL forced connection interruption by remote host #7

hgc2002 opened this issue Nov 8, 2018 · 1 comment

Comments

@hgc2002
Copy link

hgc2002 commented Nov 8, 2018

Warning: fread(): SSL: Se ha forzado la interrupci¾n de una conexi¾n existente por el host remoto.
in C:\aaa\repositories\Stub_ML_Server\vendor\mpyw\php-hyper-builtin-server\socket\src\SecureConnection.php on line 36

In English is something like:

The interruption of an existing connection by the remote host has been forced.

This is my request:
curl -k https://localhost:8000/ping

I only get the error message when I break curl command manually (because it never ends !!!)

I've started the server as:
php vendor/mpyw/php-hyper-builtin-server/hyper-run -s localhost:8000 -n 1 -r router.php

(router.php is the same I use with the PHP builtin server, and "/ping" request is well handled by it)

Any idea?

@mpyw
Copy link
Owner

mpyw commented Nov 8, 2018

Sounds like Connection reset by peer error

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

No branches or pull requests

2 participants