René's URL Explorer Experiment


Title: Cloning locks up when more than 3 at the same time. · Issue #364 · nodegit/nodegit · GitHub

Open Graph Title: Cloning locks up when more than 3 at the same time. · Issue #364 · nodegit/nodegit

X Title: Cloning locks up when more than 3 at the same time. · Issue #364 · nodegit/nodegit

Description: Hello, it seems that there is a problem with ssh agent support. this example works fine: var remote = "https://github.com/nodegit/nodegit.git" var git = require("nodegit"); var fs = require("fs"); var path = require("path"); function rmd...

Open Graph Description: Hello, it seems that there is a problem with ssh agent support. this example works fine: var remote = "https://github.com/nodegit/nodegit.git" var git = require("nodegit"); var fs = require("fs"); ...

X Description: Hello, it seems that there is a problem with ssh agent support. this example works fine: var remote = "https://github.com/nodegit/nodegit.git" var git = require("nodegit"); var ...

Opengraph URL: https://github.com/nodegit/nodegit/issues/364

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cloning locks up when more than 3 at the same time. ","articleBody":"Hello,\n\nit seems that there is a problem with ssh agent support. this example works fine:\n\n```\nvar remote = \"https://github.com/nodegit/nodegit.git\"\nvar git = require(\"nodegit\");\n\nvar fs = require(\"fs\");\nvar path = require(\"path\");\nfunction rmdirSync(path) {\n    var files = [];\n    if( fs.existsSync(path) ) {\n        files = fs.readdirSync(path);\n        files.forEach(function(file,index){\n            var curPath = path + \"/\" + file;\n            if(fs.lstatSync(curPath).isDirectory()) { // recurse\n                rmdirSync(curPath);\n            } else { // delete file\n                fs.unlinkSync(curPath);\n            }\n        });\n        fs.rmdirSync(path);\n    }\n}\n\nfunction clone(to) {\n    rmdirSync(to);\n    return git.Clone.clone(remote, to).then(function () {\n        console.log(\"ok!\", to);\n    }, function (err) {\n        console.log(\"failed!\", to, err);\n    });\n}\n\nconsole.log(\"start\");\n\nclone(\"/tmp/nodegit-testA\").then(function() {\n    clone(\"/tmp/nodegit-testB\").then(function() {\n        clone(\"/tmp/nodegit-testC\").then(function() {\n            clone(\"/tmp/nodegit-testD\").then(function() {\n                clone(\"/tmp/nodegit-testE\").then(function() {\n                    for (var i = 0; i \u003c 10; i++) {\n                        var to = \"/tmp/nodegit-test\" + i;\n                        console.log(\"start\", i);\n                        clone(to);\n                    }\n                });\n            });\n        });\n    });\n});\n\nconsole.log(\"end\");\n```\n\noutput:\n\n```\nstart\nend\nok! /tmp/nodegit-testA\nok! /tmp/nodegit-testB\nok! /tmp/nodegit-testC\nok! /tmp/nodegit-testD\nok! /tmp/nodegit-testE\nstart 0\nstart 1\nstart 2\nstart 3\nstart 4\nstart 5\nstart 6\nstart 7\nstart 8\nstart 9\nok! /tmp/nodegit-test2\nok! /tmp/nodegit-test3\nok! /tmp/nodegit-test1\nok! /tmp/nodegit-test0\nok! /tmp/nodegit-test4\nok! /tmp/nodegit-test5\nok! /tmp/nodegit-test6\nok! /tmp/nodegit-test7\nok! /tmp/nodegit-test8\nok! /tmp/nodegit-test9\n```\n\nThis is fine and expected, but when I switch to using ssh agent key :\n\n```\nreturn git.Clone.clone(remote, to, {\n    remoteCallbacks: {\n        credentials: function (url, userName) {\n            return git.Cred.sshKeyFromAgent(\"\");\n        }\n    }\n}).then(function () {\n```\n\n(and a git ssh server) then nodegit can checkout one by one as before:\n\n```\nok! /tmp/nodegit-testA\nok! /tmp/nodegit-testB\nok! /tmp/nodegit-testC\nok! /tmp/nodegit-testD\nok! /tmp/nodegit-testE\n```\n\nbut will hang when called multiple times at once and never return. (No ok or failed messages for /tmp/nodegit-test0 - /tmp/nodegit-test9)\n\nDirecotrys /tmp/nodegit-test0 to /tmp/nodegit-test3 are created:\n\n```\nfind /tmp/nodegit-test0/\n/tmp/nodegit-test0/\n/tmp/nodegit-test0/.git\n/tmp/nodegit-test0/.git/config\n/tmp/nodegit-test0/.git/HEAD\n/tmp/nodegit-test0/.git/description\n/tmp/nodegit-test0/.git/info\n/tmp/nodegit-test0/.git/info/exclude\n/tmp/nodegit-test0/.git/hooks\n/tmp/nodegit-test0/.git/hooks/README.sample\n/tmp/nodegit-test0/.git/refs\n/tmp/nodegit-test0/.git/refs/tags\n/tmp/nodegit-test0/.git/refs/heads\n/tmp/nodegit-test0/.git/objects\n/tmp/nodegit-test0/.git/objects/pack\n/tmp/nodegit-test0/.git/objects/info\n```\n\nbut there is no working copy.\n\nCan anyone give me he hint what I'm doing wrong? it is not allowed to call multiple checkout commands at the same time?\n","author":{"url":"https://github.com/drieks","@type":"Person","name":"drieks"},"datePublished":"2015-01-22T10:11:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/364/nodegit/issues/364"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c2eda15e-97e6-3556-e826-f16f022345f0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE7CC:253796:440CEEA:5D81FA4:6A5E1AA2
html-safe-nonce9bc091d1a1e7ba34d241e27864450070572385e0bbac89ca925b2c257004b0ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0NDOjI1Mzc5Njo0NDBDRUVBOjVEODFGQTQ6NkE1RTFBQTIiLCJ2aXNpdG9yX2lkIjoiMjQyMTQ1MTk1MTM3NDczNjAzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdcd62cc90abd7d89f2849b6eb7ad7ff0af378a5d555b387b31b537eff1f145a1
hovercard-subject-tagissue:55135406
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/nodegit/nodegit/364/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ae7d4f9cba08aaac9746f9e87bdadf3c5a9d636beda78e867ff8b3c0bfee79b1/nodegit/nodegit/issues/364
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae7d4f9cba08aaac9746f9e87bdadf3c5a9d636beda78e867ff8b3c0bfee79b1/nodegit/nodegit/issues/364
og:image:altHello, it seems that there is a problem with ssh agent support. this example works fine: var remote = "https://github.com/nodegit/nodegit.git" var git = require("nodegit"); var fs = require("fs"); ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedrieks
hostnamegithub.com
expected-hostnamegithub.com
None7a60e060dad2c24f72179d36247204b454da37845d1728020cd42046a433f87f
turbo-cache-controlno-preview
go-importgithub.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git
octolytics-dimension-user_id657068
octolytics-dimension-user_loginnodegit
octolytics-dimension-repository_id1383170
octolytics-dimension-repository_nwonodegit/nodegit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1383170
octolytics-dimension-repository_network_root_nwonodegit/nodegit
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
release0ae7f3ea7b1bb2f1f4623bb093bbf54cee05d830
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodegit/nodegit/issues/364#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fissues%2F364
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodegit%2Fnodegit%2Fissues%2F364
Sign up https://github.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=nodegit%2Fnodegit
Reloadhttps://github.com/nodegit/nodegit/issues/364
Reloadhttps://github.com/nodegit/nodegit/issues/364
Reloadhttps://github.com/nodegit/nodegit/issues/364
Please reload this pagehttps://github.com/nodegit/nodegit/issues/364
nodegit https://github.com/nodegit
nodegithttps://github.com/nodegit/nodegit
Notifications https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Fork 698 https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Star 5.8k https://github.com/login?return_to=%2Fnodegit%2Fnodegit
Code https://github.com/nodegit/nodegit
Issues 343 https://github.com/nodegit/nodegit/issues
Pull requests 20 https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality 0 https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
Code https://github.com/nodegit/nodegit
Issues https://github.com/nodegit/nodegit/issues
Pull requests https://github.com/nodegit/nodegit/pulls
Actions https://github.com/nodegit/nodegit/actions
Projects https://github.com/nodegit/nodegit/projects
Security and quality https://github.com/nodegit/nodegit/security
Insights https://github.com/nodegit/nodegit/pulse
Cloning locks up when more than 3 at the same time. https://github.com/nodegit/nodegit/issues/364#top
Bughttps://github.com/nodegit/nodegit/issues?q=state%3Aopen%20label%3A%22Bug%22
https://github.com/drieks
driekshttps://github.com/drieks
on Jan 22, 2015https://github.com/nodegit/nodegit/issues/364#issue-55135406
Bughttps://github.com/nodegit/nodegit/issues?q=state%3Aopen%20label%3A%22Bug%22
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.