lostisland / lostisland/faraday

Faraday and socks proxy with auth supporting

Open
#787 9 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature v1.0
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.