René's URL Explorer Experiment


Title: Network logging restricts websockets usage · Issue #106 · browserstack/browserstack-local-nodejs · GitHub

Open Graph Title: Network logging restricts websockets usage · Issue #106 · browserstack/browserstack-local-nodejs

X Title: Network logging restricts websockets usage · Issue #106 · browserstack/browserstack-local-nodejs

Description: NodeJS bindings for BrowserStack Local. Contribute to browserstack/browserstack-local-nodejs development by creating an account on GitHub.

Open Graph Description: NodeJS bindings for BrowserStack Local. Contribute to browserstack/browserstack-local-nodejs development by creating an account on GitHub.

X Description: NodeJS bindings for BrowserStack Local. Contribute to browserstack/browserstack-local-nodejs development by creating an account on GitHub.

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Network logging restricts websockets usage","articleBody":"if AUT is using ws for communication - it fails when running on Browserstack, because fails to connect\r\n**update** - see the workaround in the end\r\n\r\n**Environment (please complete the following information):**\r\n - **WebdriverIO version:** 6.1\r\n - **Mode:** [ WDIO Testrunner]\r\n - **If WDIO Testrunner, running sync/async:** [ sync ]\r\n - **Node.js version:** [v12.16.1]\r\n - **NPM version:** [6.14.5]\r\n - **Browser name and version:** [Chrome 83]\r\n - **Platform name and version:** [macOS Catalina 10.15.5]\r\n - **Additional wdio packages used (if applicable):** \r\n\r\n**To reproduce**\r\n1. save files in one folder\r\n2. add env vars BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY \r\n3.  run `npm install` and then `npm test`\r\n[package.json](https://pastebin.com/GRL4nFHe)\r\n[bsSpec.js](https://pastebin.com/tjddkR9b)\r\n[wdio.conf.js](https://pastebin.com/ne0yHWy0)\r\n\r\nSame happens, if BrowserstackLocal started as background service `./BrowserStackLocal --key somekey`\r\n\r\n**Expected behavior**\r\ntest runs\r\n\r\n**Actual behavior**\r\n\r\nusing localtesing ws connect fails\r\n```\r\n1591701360194:SEVERE:https://www.websocket.org/js/echo.js 135 WebSocket connection to 'wss://echo.websocket.org/?encoding=text' failed: Error during WebSocket handshake: Unexpected response code: 400\r\n```\r\n\u003cimg width=\"877\" alt=\"Screenshot 2020-06-09 at 14 35 16\" src=\"https://user-images.githubusercontent.com/7899764/84143020-8304d080-aa5e-11ea-8bd6-9d36ca48e17c.png\">\r\n\r\n**Workaround**\r\nAs turned out - network logging \"turns off\" ws communication\r\n\r\n","author":{"url":"https://github.com/dimkin-eu","@type":"Person","name":"dimkin-eu"},"datePublished":"2020-06-09T11:37:07Z","url":"https://github.com/browserstack/browserstack-local-nodejs/issues/106"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:ebc25abe-ffd0-493f-5ea6-777bba2190a8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC1AE:125D11:1B8CD5:2500D4:6B043062
html-safe-nonce455765a5f9512c4519469ebade4166f7b528bb5f2bda673d7e4b56506bc34466
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUFFOjEyNUQxMToxQjhDRDU6MjUwMEQ0OjZCMDQzMDYyIiwidmlzaXRvcl9pZCI6IjU0OTI0MTIzNTc1Mzc5NjgyMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace42e7af995f7aaf673993284e829bb2a7d3fe102b892329b988b7092d2ab8c72
hovercard-subject-tagrepository:51923223
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/browserstack/browserstack-local-nodejs/issues/106
twitter:imagehttps://opengraph.githubassets.com/2cd7cf67fb88855ef3beecfbee2642cadda55d30c71fbe10fe7536d3d188689c/browserstack/browserstack-local-nodejs
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2cd7cf67fb88855ef3beecfbee2642cadda55d30c71fbe10fe7536d3d188689c/browserstack/browserstack-local-nodejs
og:image:altNodeJS bindings for BrowserStack Local. Contribute to browserstack/browserstack-local-nodejs development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-cache
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/browserstack/browserstack-local-nodejs/issues/106#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-local-nodejs%2Fissues%2F106
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-local-nodejs%2Fissues%2F106
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=browserstack%2Fbrowserstack-local-nodejs
Reloadhttps://github.com/browserstack/browserstack-local-nodejs/issues/106
Reloadhttps://github.com/browserstack/browserstack-local-nodejs/issues/106
Reloadhttps://github.com/browserstack/browserstack-local-nodejs/issues/106
https://github.com/browserstack/browserstack-local-nodejs
New issuehttps://github.com/login?return_to=https://github.com/browserstack/browserstack-local-nodejs/issues/106
New issuehttps://github.com/login?return_to=https://github.com/browserstack/browserstack-local-nodejs/issues/106
Network logging restricts websockets usagehttps://github.com/browserstack/browserstack-local-nodejs/issues/106#top
https://github.com/dimkin-eu
dimkin-euhttps://github.com/dimkin-eu
on Jun 9, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/106#issue-635353274
package.jsonhttps://pastebin.com/GRL4nFHe
bsSpec.jshttps://pastebin.com/tjddkR9b
wdio.conf.jshttps://pastebin.com/ne0yHWy0
https://user-images.githubusercontent.com/7899764/84143020-8304d080-aa5e-11ea-8bd6-9d36ca48e17c.png
https://github.com/dimkin-eu
dimkin-euhttps://github.com/dimkin-eu
on Jun 9, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/106#issuecomment-641234679
@shawnlobo96https://github.com/shawnlobo96
https://github.com/anthony-fdes
anthony-fdeshttps://github.com/anthony-fdes
on Jun 9, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/106#issuecomment-641386438
@dimkin-euhttps://github.com/dimkin-eu
https://github.com/dimkin-eu
dimkin-euhttps://github.com/dimkin-eu
on Jun 10, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/106#issuecomment-641730535
@anthony-fdeshttps://github.com/anthony-fdes
https://www.browserstack.com/local-testing/automatehttps://www.browserstack.com/local-testing/automate
dimkin-euhttps://github.com/dimkin-eu
on Jun 10, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/106#event-3427871367
https://github.com/shawnlobo96
shawnlobo96https://github.com/shawnlobo96
on Jun 10, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/106#issuecomment-641732479
@dimkin-euhttps://github.com/dimkin-eu
https://www.browserstack.com/automate/capabilitieshttps://www.browserstack.com/automate/capabilities
https://github.com/dimkin-eu
dimkin-euhttps://github.com/dimkin-eu
on Jun 10, 2020https://github.com/browserstack/browserstack-local-nodejs/issues/106#issuecomment-641748407
@shawnlobo96https://github.com/shawnlobo96
Sign up for freehttps://github.com/signup?return_to=https://github.com/browserstack/browserstack-local-nodejs/issues/106
Sign in to commenthttps://github.com/login?return_to=https://github.com/browserstack/browserstack-local-nodejs/issues/106
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.