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
feat: Add Proxy Support to Fasthttp client #40
Comments
Hi |
Can you send me complete logs? and web page screenshot if possible. |
Hi
|
So far the bug is only found in windows, looks like fasthttpproxy has some issues with Windows. |
@rabilrbl thanks you very much for support, issue persist with windows only and work fine in linux, we just need to proxify ts file too so that it stream without any issue |
@spacex97 Why proxify ts? What is it? |
@rabilrbl This works great, can we get it merged? I was also checking, does fasthttp support https proxy types? I tried https proxy type and it doesnt seem to work. |
there is no need for https proxy, most proxies are http in nature and support https out of the box |
@rabilrbl That's interesting, I tried to use a https proxy, and it fails saying "the server closed connection before returning the first response byte. Make sure the server returns 'Connection: close' response header before closing the connection"
I verified that this proxy works with the https://jiotv.data.cdn.jio.com..... url and it lists it fine. |
@ragmehos likely because your proxy timeout is high, what's the timeout? |
Doesn't seem to be related to the timeout, it happens immediately, also happens if I set the timeout to be low. I tried two https proxies from two different vpns, both of them run into the same error. Also, let's say the access token is expired and I launch the binary with a proxy, it fails immediately when trying to route via the proxy to refresh the token. http proxy on the other hand works fine, no issues, not sure what it is with a https proxy - not sure if fasthttpproxy supports using a https proxy, I looked at the code, its not super clear. |
there are many things that do not work with https proxy even with my python scripts, u need to set verify as false but again if http works fine what is pushing you to use https. |
Most of the proxies I have are https, only one of them is http, so I just want to get it working with the https proxy too so that there are alternatives for me, in case the http proxy gets blocked. |
@ragmehos the only way, I can debug this is with your proxy. Give me temporary access to proxy. Post a message in Telegram group with your GitHub username, I'll message you private. Or If you understand Go, you can debug yourself and make a PR. |
@ragmehos Closing this issue as it is not relevant here. Please create a new issue bug at https://github.com/rabilrbl/jiotv_go/issues/new?assignees=&labels=bug&projects=&template=bug_issue.yml&title=bug%3A+ |
Description
Addition of proxy support to Fasthttp library for HTTP requests.
Proposed Solution
To enable proxy support, we can explore the following steps:
The text was updated successfully, but these errors were encountered: