Closed Cikaros closed 1 week ago
Once the above PR merges, can you try this again and report back what error code is given? Otherwise, there isn't anything I can do about this.
@paperdave Example:
const response = await fetch('https://example.com', {
proxy: "http://twqhuxwy-rotate:ez1w1miev6ku@p.webshare.io:80/",
verbose: true
});
console.log(await response.text())
Output:
Request: GET /
Connection: keep-alive
User-Agent: Bun/1.1.7
Accept: */*
Host: example.com
Accept-Encoding: gzip, deflate, br
Response: < 200 OK
Syscall: Syscall fetching "https://example.com/". For more information, pass `verbose: true` in the second argument to fetch()
path: "https://example.com/"
Bun v1.1.7 (Windows x64)
This issue is stale and may be closed due to inactivity. If you're still running into this, please leave a comment.
its not
@Jarred-Sumner still having the problem
[fetch] > HTTP/1.1 GET https://example.com/
[fetch] > Connection: keep-alive
[fetch] > User-Agent: Bun/1.1.22
[fetch] > Accept: */*
[fetch] > Host: example.com
[fetch] > Accept-Encoding: gzip, deflate, br
[fetch] < 200 OK
Syscall: Syscall fetching "https://example.com/". For more information, pass `verbose: true` in the second argument to fetch()
path: "https://example.com/"
Bun v1.1.22-canary.96+df33f2b2a (Windows x64)
Are you using a proxy? A vpn? Is there anything more you can share about your computer?
@Jarred-Sumner I am using proxy with fetch.
const response = await fetch('https://example.com', {
proxy: "http://twqhuxwy-rotate:ez1w1miev6ku@p.webshare.io:80/",
verbose: true
});
console.log(await response.text())
What version of Bun is running?
1.0.35-canary.4+ee5fd51e8
What platform is your computer?
x64
What steps can reproduce the bug?
What is the expected behavior?
Process finished with exit code 0
What do you see instead?
Syscall: fetch() failed. For more information, pass
verbose: true
in the second argument to fetch() path: "https://bun.sh"Process finished with exit code 1
Additional information
No response