-
Notifications
You must be signed in to change notification settings - Fork 191
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
(ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp))) when trashing connections #292
Comments
Can you provide a repro that uses only the http-client and http-client-tls libraries? |
I had this problem running a Haskell app on an Ubuntu docker image. Installing build-essential package solved the problem. |
Having the same issue as well |
No minimal repro, and this is likely a file descriptor issue from the sound. Closing. |
Yeah, the code runs out of file descriptors. See #307 |
FWIW, you only need |
I believe @exarkun is right. I had this issue recently and had to install If the issue persists after installing
|
Install `netbase` in Docker, otherwise this issue happens when OAuth-ing to twitter: (ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp))) Here's the issue where I found the fix: snoyberg/http-client#292
Installing |
I was getting this same error on a Yesod app when deployed to AWS Elastic Beanstalk. Installing |
This is apparently a requirement for the Haskell HTTP client to work. See snoyberg/http-client#292
pandoc 1.19 failed to access a GitHub URL. The typical rmarkdown workarounds are either 1) install pandoc 2+, or 2) set self_contained: no. This was a super easy fix once I discovered it, and it allows me to continue testing wflow_html() with pandoc 1 in a standard self-contained output file. pandoc document conversion failed with error 67 pandoc: Could not fetch https://raw.githubusercontent.com/workflowr/workflowr-assets/master/img/reproducible.png FailedConnectionException2 "raw.githubusercontent.com" 443 True getProtocolByName: does not exist (no such protocol name: tcp) Solution: snoyberg/http-client#292 rmarkdown discussion: rstudio/rmarkdown#228
netbase needed for `(ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp)))` snoyberg/http-client#292 zip needed for dark one something needed curl, can't remember
Specifically, the file that seems to be required is |
Also seems to require |
Point at a bucket with a lot of small files. I got a
(ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp)))
pretty reliably.https://gist.github.com/reactormonk/8106134ccb59190b9cdf8eedd2b66cff
Fixing the issue by moving the sampling one back: https://gist.github.com/reactormonk/8106134ccb59190b9cdf8eedd2b66cff/revisions
The text was updated successfully, but these errors were encountered: