René's URL Explorer Experiment


Title: BrowserStack Local version 8.1 is broken in container environments · Issue #114 · browserstack/browserstack-local-nodejs · GitHub

Open Graph Title: BrowserStack Local version 8.1 is broken in container environments · Issue #114 · browserstack/browserstack-local-nodejs

X Title: BrowserStack Local version 8.1 is broken in container environments · Issue #114 · browserstack/browserstack-local-nodejs

Description: Our CI build started to fail due to browserstack-local throwing these errors: Connecting BrowserStack local.. undefined:1 Tue Sep 01 2020 14:26:45 GMT+0000 (UTC) -- Container runtime environment detected ^ SyntaxError: Unexpected token T...

Open Graph Description: Our CI build started to fail due to browserstack-local throwing these errors: Connecting BrowserStack local.. undefined:1 Tue Sep 01 2020 14:26:45 GMT+0000 (UTC) -- Container runtime environment de...

X Description: Our CI build started to fail due to browserstack-local throwing these errors: Connecting BrowserStack local.. undefined:1 Tue Sep 01 2020 14:26:45 GMT+0000 (UTC) -- Container runtime environment de...

Opengraph URL: https://github.com/browserstack/browserstack-local-nodejs/issues/114

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BrowserStack Local version 8.1 is broken in container environments","articleBody":"Our CI build started to fail due to `browserstack-local` throwing these errors:\r\n\r\n```\r\nConnecting BrowserStack local..\r\nundefined:1\r\nTue Sep 01 2020 14:26:45 GMT+0000 (UTC) -- Container runtime environment detected\r\n^\r\n\r\nSyntaxError: Unexpected token T in JSON at position 0\r\n    at JSON.parse (\u003canonymous\u003e)\r\n    at /root/\u003cfoo\u003e/node_modules/browserstack-local/lib/Local.js:59:23\r\n    at ChildProcess.exithandler (child_process.js:295:7)\r\n    at ChildProcess.emit (events.js:196:13)\r\n    at maybeClose (internal/child_process.js:1011:16)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:268:5)\r\n```\r\n\r\nAs these randomly started, I suspect the `BrowserStackLocal` binary was updated with a broken version, as it doesn't seem to be pinned to a particular one. Manually starting the binary shows log messages in `stdout`, which probably shouldn't be there since `browserstack-local` expect valid JSON:\r\n\r\n```\r\nbash-4.4# /root/.browserstack/BrowserStackLocal --version 2\u003e/dev/null\r\nTue Sep 01 2020 14:31:19 GMT+0000 (UTC) -- Container runtime environment detected\r\nTue Sep 01 2020 14:31:19 GMT+0000 (UTC) -- Attaching services to public interface\r\nBrowserStack Local version 8.1\r\n```\r\n\r\nI'm running `browserstack-local-nodejs` v1.4.5 as v1.4.6 is broken as pointed out in https://github.com/browserstack/browserstack-local-nodejs/commit/7e73b1f3cda85eab79ced321b41cdef141831ce0#r41945904, but manually patching v1.4.6 still shows the same issue.\r\n\r\nThis happens on Alpine Linux within a Docker container, hence the \"Container runtime environment detected\". The issue seems limited to container environments as running the v8.1 outside a container does not show the logs, and doesn't break `browserstack-local`.\r\n\r\n----\r\n\r\nIn the future it would be great if the version of the BrowserStack binary could be pinned to a particular `browserstack-local` one, instead of the last version of the binary being randomly fetched as it is the case currently, causing CI builds to unexpectedly break.","author":{"url":"https://github.com/laurentgoudet","@type":"Person","name":"laurentgoudet"},"datePublished":"2020-09-01T14:45:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/114/browserstack-local-nodejs/issues/114"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c7a9fbdb-e11b-6f54-09c8-5298ef3bae75
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAA8E:3E0E1B:32E3BB:47CE0D:696F7F37
html-safe-noncedcd9ad3a6be808db7ead66f266a8be2ea6bcdc44848979f89d95874e29ccbd1a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQThFOjNFMEUxQjozMkUzQkI6NDdDRTBEOjY5NkY3RjM3IiwidmlzaXRvcl9pZCI6IjU3NzM1OTM4NTkxMDY3NjY2NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac14026f6fd02ada3970723833a87867b14aaa57cd970c72ad4db976fa2ac7e34f
hovercard-subject-tagissue:690203825
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/browserstack/browserstack-local-nodejs/114/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c408fdb5e1bb9ea0221558c8ca2675eac8fbcc7aba954eafca6e5b161ad66610/browserstack/browserstack-local-nodejs/issues/114
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c408fdb5e1bb9ea0221558c8ca2675eac8fbcc7aba954eafca6e5b161ad66610/browserstack/browserstack-local-nodejs/issues/114
og:image:altOur CI build started to fail due to browserstack-local throwing these errors: Connecting BrowserStack local.. undefined:1 Tue Sep 01 2020 14:26:45 GMT+0000 (UTC) -- Container runtime environment de...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelaurentgoudet
hostnamegithub.com
expected-hostnamegithub.com
None759c36b32159cc867ba926786bbd5ac69b0804c9cfc86536a67b3567e8bbbb5c
turbo-cache-controlno-preview
go-importgithub.com/browserstack/browserstack-local-nodejs git https://github.com/browserstack/browserstack-local-nodejs.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id51923223
octolytics-dimension-repository_nwobrowserstack/browserstack-local-nodejs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id51923223
octolytics-dimension-repository_network_root_nwobrowserstack/browserstack-local-nodejs
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
release08632b85cc9aa97742e56978eb25cc43ca37e51b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues/114#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-local-nodejs%2Fissues%2F114
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%2Fbrowserstack%2Fbrowserstack-local-nodejs%2Fissues%2F114
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=browserstack%2Fbrowserstack-local-nodejs
Reloadhttps://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues/114
Reloadhttps://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues/114
Reloadhttps://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues/114
browserstack https://patch-diff.githubusercontent.com/browserstack
browserstack-local-nodejshttps://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-local-nodejs
Fork 54 https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-local-nodejs
Star 73 https://patch-diff.githubusercontent.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-local-nodejs
Code https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs
Issues 26 https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues
Pull requests 21 https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/pulls
Actions https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/actions
Projects 0 https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/security
Please reload this pagehttps://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues/114
Insights https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/pulse
Code https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs
Issues https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues
Pull requests https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/pulls
Actions https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/actions
Projects https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/projects
Security https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/security
Insights https://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/browserstack/browserstack-local-nodejs/issues/114
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/browserstack/browserstack-local-nodejs/issues/114
BrowserStack Local version 8.1 is broken in container environmentshttps://patch-diff.githubusercontent.com/browserstack/browserstack-local-nodejs/issues/114#top
https://github.com/laurentgoudet
https://github.com/laurentgoudet
laurentgoudethttps://github.com/laurentgoudet
on Sep 1, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/114#issue-690203825
7e73b1f#r41945904https://github.com/browserstack/browserstack-local-nodejs/commit/7e73b1f3cda85eab79ced321b41cdef141831ce0#r41945904
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.