-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to use with piping-server http basic auth? #19
Comments
You can use |
Not work, it says |
Did you use only |
Both server and client are piping-tunnel |
I tried it but it worked. edit: I may drop Content-Type checking in yamux. go-piping-tunnel/cmd/client/client.go Line 238 in add2e22
|
In my environment, the piping server is behind the Caddy reverse proxy server, the basic auth was provided by the Caddy server |
Does it work without I will release new version avoiding content-type checking. |
The program exited directly after remove
|
0.12.0 was released for avoiding "invalid content-type" error. |
piping-tunnel v0.12.0 server still not work: server:
client:
|
Could you check the server supports data streaming? You can use piping-server-text-streaming-curl.mov# sender
curl -T- https://ppng.io/mytext # receiver
curl https://ppng.io/mytext For the port forwarding, the server's streaming feature is necessary. |
I've checked the feature data streaming after I deploy the piping-server to the prod env. BTW: After disable the basic auth from Caddy server, the piping-tunnel works well without the |
Have you tried # sender
curl -H "Authorization: Basic ..." -T- https://your.server/mytext # receiver
curl -H "Authorization: Basic ..." https://your.server/mytext |
Work fine. |
Did |
Yes |
How to use with piping-server http basic auth? Thanks.
The text was updated successfully, but these errors were encountered: