Closed spectereye closed 10 months ago
Can't reproduce. Where do you see this error?
thanks for your quick response!
i got it in windows 10 64bit, python 3.10 64bit, pyro5 5.14,
check the link in both browser and curl http://127.0.0.1:8080/pyro/
but get the same error.
Who is printing the error? The client or the Pyro gateway process?
I see the error on browser after i type the address above, or output of the curl
command,
so it shall be response of Pyro http server.
can you post the full output of the command curl -iv http://127.0.0.1:8080/pyro/
Hi, see output of curl -iv http://127.0.0.1:8080/pyro/
below please.
:: pyro5-ns
:: pyro5-httpgateway -e "Pyro.|test."
> curl -iv http://127.0.0.1:8080/pyro/
* Trying 127.0.0.1:8080...
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /pyro/ HTTP/1.1
> Host: 127.0.0.1:8080
> User-Agent: curl/8.0.1
> Accept: */*
>
< HTTP/1.1 400 Invalid header received from client
HTTP/1.1 400 Invalid header received from client
< Content-Type: text/plain
Content-Type: text/plain
< Connection: close
Connection: close
Also tested on my another computer, every works fine. I guessed maybe because proxy settings, but after i disable proxy below, the same issue remained
set http_proxy=
set https_proxy=
set all_proxy=
Looks like it's a proxy problem after all, most likely Privoxy https://github.com/binhex/arch-delugevpn/issues/174
nothing I can do about this
Hi, just start pyro with some quick setup and test with commands below
when i try "http://127.0.0.1:8080/pyro/" i get error "Invalid header received from client", anything i did wrong?