{"id":20697518,"url":"https://github.com/epomatti/servicebus-timeout","last_synced_at":"2026-04-17T12:33:43.088Z","repository":{"id":108713455,"uuid":"251341944","full_name":"epomatti/servicebus-timeout","owner":"epomatti","description":"Service Bus Node.js SDK bug simulation","archived":false,"fork":false,"pushed_at":"2024-11-19T15:30:37.000Z","size":101,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T02:51:14.461Z","etag":null,"topics":["az-300","azure","disconnect","nodejs","servicebus","timeout"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epomatti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-30T15:09:30.000Z","updated_at":"2023-07-24T03:04:07.000Z","dependencies_parsed_at":"2025-03-11T02:50:52.162Z","dependency_job_id":"5998733b-8a78-4084-ab42-a708068714c5","html_url":"https://github.com/epomatti/servicebus-timeout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epomatti/servicebus-timeout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fservicebus-timeout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fservicebus-timeout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fservicebus-timeout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fservicebus-timeout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epomatti","download_url":"https://codeload.github.com/epomatti/servicebus-timeout/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epomatti%2Fservicebus-timeout/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268624123,"owners_count":24280148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["az-300","azure","disconnect","nodejs","servicebus","timeout"],"created_at":"2024-11-17T00:18:52.537Z","updated_at":"2026-04-17T12:33:38.066Z","avatar_url":"https://github.com/epomatti.png","language":"JavaScript","readme":"# Azure Service Bus Timeout\n\nSample code created to demonstrate my issue [#7689](https://github.com/Azure/azure-sdk-for-js/issues/7689) with Service Bus Node.js SDK for a bug that locked the receiver when the internet was unavailable for long periods of time.\n\n\u003e ✅ This bug has since been fixed by Microsoft\n\n### Infrasctructure\n\n```sh\naz servicebus namespace create -n '\u003cnamespace\u003e' -g '\u003cgroup\u003e' -l '\u003clocation\u003e' --sku Basic\naz servicebus queue create -n '\u003cname\u003e' --namespace-name '\u003cnamespace\u003e' -g '\u003cgroup\u003e'\n\naz servicebus namespace authorization-rule keys list \\\n    -n RootManageSharedAccessKey -g '\u003cgroup\u003e' --namespace-name '\u003cnamespace\u003e' \\\n    --query primaryConnectionString -o tsv\n```\n\n### Simulation\n\nCreate `.env` and fill with environment values:\n\n```sh\ncp config/sample.env .env\n```\n\nRun it:\n\n```sh\nyarn install\nyarn run dequeue\n```\n\nNow disconnect your computer from the internet and wait at least `1:20` minutes.\n\nReconnect to the internet and add messages to confirm it continues to operate:\n\n```sh\nyarn run enqueue\n```\n\nAll messages should be consumed.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fservicebus-timeout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepomatti%2Fservicebus-timeout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepomatti%2Fservicebus-timeout/lists"}