Comments (4)
Nope. 7.31 does not fix the issue. Neither does restarting my machine (a long shot, but I'm desperate). I've upgraded everything that I could think up, starting from Typhoeus 0.5.3.
from ethon.
Figured it out! I was accidentally using an old haproxy config file. So, my request to a different server was actually being routed back to my rails server. This seems to hang Ethon. I suspect the issue might be becase Rails is single threaded, so it can't respond to the Ethon request because it's busy waiting on the Ethon request to finish. But what doesn't make sense is why a timeout didn't occur...
from ethon.
@jackquack thanks for your effort! The default timeout is set to 0
which means it'll never time out: http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTTIMEOUT.
from ethon.
@hrdwdmrbl That was exactly what was happening in my case as well. All that freeze was just because it was waiting to connect to an external service and it waited out until the thing finally timed out.
from ethon.
Related Issues (20)
- Memory leak in Ethon::Easy HOT 14
- Ruby 3.1.0-dev warning: Exception in finalizer
- Seg Fault on Ubuntu 20.04 Arm64 HOT 4
- JRuby failure with 0.15.0 - NoMethodError: undefined method `bitmask' HOT 1
- Crashes if first use is inside a fork (ex. spring) HOT 10
- Frozen at ETHON: Libcurl initialized HOT 3
- Segfault on autopointer.rb:175 HOT 4
- Can I use curl --resolve?
- Non-blocking IO support with Ruby 3.x fiber scheduler HOT 1
- Easy perform returns `url_malformat` for valid URLs HOT 1
- Custom libcurl.so
- 0.16.0 changelog HOT 1
- http2 example doesn't work: syntax error, unexpected local variable or method, expecting ')' multi.add(easy) HOT 1
- 0.16.0 broke a test in typhoeus
- Ruby-win64 support with libcurl-x64.dll HOT 3
- When Following Redirects `on_headers` Only Emits On First Response
- easy_codes mismatch at 60 HOT 2
- segmentation fault at operations.rb:30 HOT 1
- [BUG] Segmentation fault at ethon-0.16.0/lib/ethon/easy/operations.rb:30 HOT 14
- url_malformat with all request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethon.