Skip to content
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

Too many connections error #22

Closed
abuisman opened this issue Jan 22, 2016 · 3 comments
Closed

Too many connections error #22

abuisman opened this issue Jan 22, 2016 · 3 comments

Comments

@abuisman
Copy link

Hi,

In a project where we use fakeweb I ran into an issue when I tried to connect to Neo4j (a graph database). The gem I used to connect to it (neo4jrb) uses net-http to connect to the database and it turns out that fakeweb interfered with this in development.

I described my issues in detail here:
neo4jrb/activegraph#555 (comment)

After some back and forth between ruby versions and disabling various gems I found out that fakeweb was, in the end, the culprit in my spotty connection with the database. Since removing fakeweb from my Gemfile I haven't had any issues.

The error I received was:

Net::HTTP::Persistent::Error: too many connection resets (due to closed stream - IOError) after 0 requests on 2237191000, last used 4.27705 seconds ago
from /Users/achilleas/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/protocol.rb:211:in `write'

Please let me know if you need any more information.

@ctide
Copy link
Owner

ctide commented Jan 22, 2016

I think you mean chrisk's fakeweb. This is a node module.


Sent from Mailbox

On Fri, Jan 22, 2016 at 11:08 AM, Achilleas [email protected]
wrote:

Hi,
In a project where we use fakeweb I ran into an issue when I tried to connect to Neo4j (a graph database). The gem I used to connect to it (neo4jrb) uses net-http to connect to the database and it turns out that fakeweb interfered with this in development.
I described my issues in detail here:
neo4jrb/activegraph#555 (comment)
After some back and forth between ruby versions and disabling various gems I found out that fakeweb was, in the end, the culprit in my spotty connection with the database. Since removing fakeweb from my Gemfile I haven't had any issues.
The error I received was:

Net::HTTP::Persistent::Error: too many connection resets (due to closed stream - IOError) after 0 requests on 2237191000, last used 4.27705 seconds ago
from /Users/achilleas/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/protocol.rb:211:in `write'

Please let me know if you need any more information.

Reply to this email directly or view it on GitHub:
#22

@abuisman
Copy link
Author

Haha damnit duckduckgo, sorry about that Chris.

@ctide
Copy link
Owner

ctide commented Jan 22, 2016

No worries!


Sent from Mailbox

On Fri, Jan 22, 2016 at 11:33 AM, Achilleas [email protected]
wrote:

Haha damnit duckduckgo, sorry about that Chris.

Reply to this email directly or view it on GitHub:
#22 (comment)

@ctide ctide closed this as completed Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants