Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Clients Connected #158

Open
Skornos opened this issue Jun 23, 2015 · 0 comments
Open

No Clients Connected #158

Skornos opened this issue Jun 23, 2015 · 0 comments
Labels
bug debugger The PonyDebugger iOS framework websockets Issues affecting the websockets communication layer

Comments

@Skornos
Copy link

Skornos commented Jun 23, 2015

Hi, I am using PonyDebugger according to your tutorial, but I can't get it work
In terminal I am running:

    ponyd serve --listen-interface=127.0.0.1

Page in Chrome says:

    Connect a PonyDebugger client to ws://127.0.0.1:9000/device.

I have installed client with Cocoapods:

    pod 'PonyDebugger' , :head, :configurations => ['Debug']

And setup client:

    PDDebugger *debugger = [PDDebugger defaultInstance];
//    [debugger autoConnect];
    [debugger connectToURL:[NSURL URLWithString:@"ws://127.0.0.1:9000/device"]];
    [debugger enableNetworkTrafficDebugging];
    [debugger forwardAllNetworkTraffic];

Autoconnect fails with SIGABRT so I am using the address ws://127.0.0.1:9000/device

Logs output:

    Connecting to ws://127.0.0.1:9000/device
    CLTilesManagerClient: initialize, sSharedTilesManagerClient
    CLTilesManagerClient: init
    CLTilesManagerClient: reconnecting, 0x17003f6e0
    CLTilesManagerClient: XPC_ERROR_CONNECTION_INVALID!

But I am still seeing No Clients Connected in Chrome browser.

Did I miss something? Thanks.

@asmallteapot asmallteapot added bug debugger The PonyDebugger iOS framework websockets Issues affecting the websockets communication layer labels Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug debugger The PonyDebugger iOS framework websockets Issues affecting the websockets communication layer
Projects
None yet
Development

No branches or pull requests

2 participants