Skip to content

Cannot connect to device socket when you open second tab in Chrome #3654

Open
@miroslavaivanova

Description

@miroslavaivanova

Try to debug ios on device. If you open URL on second tab you will see that it is empty and exception will throw.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.1.0
  • Runtime(s): 4.1.0

Please tell us how to recreate the issue in as much detail as possible.

  1. tns create app
  2. tna debig ios
  3. copy the URL and paste it in 2 tabs in chrome
    the second tab is empty and there is error:
    at Errors.fail (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:125:28)
    at Errors.failWithoutHelp (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:135:21)
    at SocketProxyFactory.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/device-sockets/ios/socket-proxy-factory.js:91:38)
    at Generator.throw (<anonymous>)
    at rejected (/usr/local/lib/node_modules/nativescript/lib/device-sockets/ios/socket-proxy-factory.js:5:65)
    at <anonymous>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdebugos: iosto-be-checkedIssues that might be resolved in a previous release and need to be tested or clarified further

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions