lostisland / lostisland/faraday
Faraday and socks proxy with auth supporting
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 5.9k
- Forks
- 1k
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 6
Description
## Basic Info
* Faraday Version: 0.14, adapter Net::HTTP
* Ruby Version: 2.3.1
## Issue description
Using socks proxy with auth leads to Faraday::ConnectionFailed: end of file reached
## Steps to reproduce
Initialize Faraday
```
Faraday.new do |connection|
connection.proxy = "socks://user:pass@host:port"
connection.adapter Faraday.default_adapter
end
```
and make any request
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with Faraday.new, connection.proxy, and Faraday.default_adapter using the SOCKS URL shown in the issue. Trace how the default adapter handles authenticated SOCKS proxies; done means a request through socks://user:pass@host:port no longer raises Faraday::ConnectionFailed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100