René's URL Explorer Experiment


Title: Requests hang Indefinitely when waiting for network/missing timeout value · Issue #41 · algorithmiaio/algorithmia-python · GitHub

Open Graph Title: Requests hang Indefinitely when waiting for network/missing timeout value · Issue #41 · algorithmiaio/algorithmia-python

X Title: Requests hang Indefinitely when waiting for network/missing timeout value · Issue #41 · algorithmiaio/algorithmia-python

Description: Hi, I've been troubleshooting a bug where this client will hang forever waiting for a response in some cases. I noticed that calls using the requests library are not using the timeout= option which is recommended: https://2.python-reques...

Open Graph Description: Hi, I've been troubleshooting a bug where this client will hang forever waiting for a response in some cases. I noticed that calls using the requests library are not using the timeout= option which...

X Description: Hi, I've been troubleshooting a bug where this client will hang forever waiting for a response in some cases. I noticed that calls using the requests library are not using the timeout= option w...

Opengraph URL: https://github.com/algorithmiaio/algorithmia-python/issues/41

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Requests hang Indefinitely when waiting for network/missing timeout value","articleBody":"Hi, \r\n\r\nI've been troubleshooting a bug where this client will hang forever waiting for a response in some cases. \r\n\r\nI noticed that calls using the requests library are not using the `timeout=` option which is recommended:\r\nhttps://2.python-requests.org/en/master/user/quickstart/#timeouts\r\n\r\n\u003e You can tell Requests to stop waiting for a response after a given number of seconds with the timeout parameter. Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely\r\n\r\nI've put together a PR #40  for changing this to 5 seconds (if this seems low, the notes from requests make this a little clearer: it's the time between bytes rather than the entire request) to establish a sensible default for the library to be making calls under. \r\n\r\nMore info from the docs: \r\n\r\n\u003e timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for timeout seconds (more precisely, if no bytes have been received on the underlying socket for timeout seconds). If no timeout is specified explicitly, requests do not time out.","author":{"url":"https://github.com/rwnx","@type":"Person","name":"rwnx"},"datePublished":"2020-09-25T15:00:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/41/algorithmia-python/issues/41"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e4ff0aae-5a56-3a1e-8244-cb877231f267
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE3C:1F2208:2DBB77D:3F6B048:6977BB0A
html-safe-nonce781b64cba39239bfaad429da59741f522e90abf39ecdc1efe4cc071112216a08
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTNDOjFGMjIwODoyREJCNzdEOjNGNkIwNDg6Njk3N0JCMEEiLCJ2aXNpdG9yX2lkIjoiMzMxNTYwNjU4MTIzNTEzNzI5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb18990d5f86bfe2b2f0cfb06dbc09b16f98189520af910f9ec28a29da5e9c90f
hovercard-subject-tagissue:709008428
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/algorithmiaio/algorithmia-python/41/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dd14e218a8affedbcd4cf5c16fb9978a54dd53ee2c64f3cdde34c3696f7a6af1/algorithmiaio/algorithmia-python/issues/41
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dd14e218a8affedbcd4cf5c16fb9978a54dd53ee2c64f3cdde34c3696f7a6af1/algorithmiaio/algorithmia-python/issues/41
og:image:altHi, I've been troubleshooting a bug where this client will hang forever waiting for a response in some cases. I noticed that calls using the requests library are not using the timeout= option which...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerwnx
hostnamegithub.com
expected-hostnamegithub.com
None831218810e1b66a41a0626c8c15f7f47625846d9a7516c7f43cfc2c61effad83
turbo-cache-controlno-preview
go-importgithub.com/algorithmiaio/algorithmia-python git https://github.com/algorithmiaio/algorithmia-python.git
octolytics-dimension-user_id5078755
octolytics-dimension-user_loginalgorithmiaio
octolytics-dimension-repository_id38772089
octolytics-dimension-repository_nwoalgorithmiaio/algorithmia-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38772089
octolytics-dimension-repository_network_root_nwoalgorithmiaio/algorithmia-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb37ffa89d073c0d4a6f07ff42d59120741a74955
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/issues/41#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Falgorithmiaio%2Falgorithmia-python%2Fissues%2F41
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Falgorithmiaio%2Falgorithmia-python%2Fissues%2F41
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=algorithmiaio%2Falgorithmia-python
Reloadhttps://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/issues/41
Reloadhttps://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/issues/41
Reloadhttps://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/issues/41
algorithmiaio https://patch-diff.githubusercontent.com/algorithmiaio
algorithmia-pythonhttps://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Falgorithmiaio%2Falgorithmia-python
Fork 38 https://patch-diff.githubusercontent.com/login?return_to=%2Falgorithmiaio%2Falgorithmia-python
Star 138 https://patch-diff.githubusercontent.com/login?return_to=%2Falgorithmiaio%2Falgorithmia-python
Code https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python
Issues 5 https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/issues
Pull requests 4 https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/pulls
Actions https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/actions
Security 0 https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/security
Insights https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/pulse
Code https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python
Issues https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/issues
Pull requests https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/pulls
Actions https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/actions
Security https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/security
Insights https://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/algorithmiaio/algorithmia-python/issues/41
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/algorithmiaio/algorithmia-python/issues/41
Requests hang Indefinitely when waiting for network/missing timeout valuehttps://patch-diff.githubusercontent.com/algorithmiaio/algorithmia-python/issues/41#top
https://github.com/rwnx
https://github.com/rwnx
rwnxhttps://github.com/rwnx
on Sep 25, 2020https://github.com/algorithmiaio/algorithmia-python/issues/41#issue-709008428
https://2.python-requests.org/en/master/user/quickstart/#timeoutshttps://2.python-requests.org/en/master/user/quickstart/#timeouts
#40https://github.com/algorithmiaio/algorithmia-python/pull/40
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.