no connection

David's Avatar

David

16 Jan, 2014 06:48 PM

I'm on Mac OS 10.9, Xcode 5.0.2 my app is an iPad app. After static linking running in IOS Simulator I'm getting "no connection" in the reveal app.
I'm getting the "Server Started" message in the debug console.
Here is the bonjour situation on my machine -- all seems OK:

20:36:42 cce:dns-sd -B _reveal._tcp local
Browsing for _reveal._tcp.local
DATE: ---Thu 16 Jan 2014---
20:36:45.203  ...STARTING...
Timestamp     A/R    Flags  if Domain               Service Type         Instance Name
20:36:45.204  Add        2  -1 local.               _reveal._tcp.        Reveal--7143ad69
^C

20:37:03 cce:dns-sd -L Reveal--7143ad69 _reveal._tcp.
Lookup Reveal--7143ad69._reveal._tcp..local
DATE: ---Thu 16 Jan 2014---
20:37:15.015  ...STARTING...
20:37:15.016  Reveal--7143ad69._reveal._tcp.local. can be reached at localhost.:49370 (interface -1)
 protoVer=10 devName=iPad\ Simulator appName=CCE2 devSysName=iPhone\ OS isSim=true devLocalModel=iPad\ Simulator devSysVer=6.1
^C

20:38:59 cce:curl -s -D - http://localhost:49370/application -o /dev/null
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 2819534
Reveal-Protocol-Version: 10
Content-Type: application/json
Date: Thu, 16 Jan 2014 18:39:20 GMT
  1. 1 Posted by Peter Goldsmith on 16 Jan, 2014 11:34 PM

    Peter Goldsmith's Avatar

    Hi David,
    Sorry to hear you have been unable to discover your app from within Reveal. When you perform the curl request, what is the body of the response? Also have you been able to connect Reveal to any apps?
    Do you have any non-standard DNS configuration?
    Also just need to check if you are clicking on the 'No Connection' drop-down and seeing nothing in that list?

    Regards,
    Pete

  2. 2 Posted by David on 17 Jan, 2014 07:33 AM

    David's Avatar

    Hi Pete,
    As far as I know no non-standard DNS configuration, this is a home machine.
    When I click on 'no connections' nothing else is in the list.
    I have not tried to connect to any other apps.

    Not sure how to get the response body from the curl. Here is what I have from curl:

    cce:curl -s -D - http://localhost:49370/application -o /dev/null
    HTTP/1.1 200 OK
    Accept-Ranges: bytes
    Content-Length: 2819534
    Reveal-Protocol-Version: 10
    Content-Type: application/json
    Date: Thu, 16 Jan 2014 18:39:20 GMT

  3. 3 Posted by David on 20 Jan, 2014 07:27 PM

    David's Avatar

    Hi Pete,
    this was also posted a few days ago on the thread in your support forum:

    As far as I know no non-standard DNS configuration, this is a home machine.
    When I click on 'no connections' nothing else is in the list.
    I have not tried to connect to any other apps.
    Not sure how to get the response body from the curl. Here is what I have from curl:
    cce:curl -s -D - http://localhost:49370/application -o /dev/null
    HTTP/1.1 200 OK
    Accept-Ranges: bytes
    Content-Length: 2819534
    Reveal-Protocol-Version: 10
    Content-Type: application/json
    Date: Thu, 16 Jan 2014 18:39:20 GMT

    Any other ideas?
    Does not connect for me.

    Regards,
    David

    ________________________________
     From: Peter Goldsmith <[email blocked]>

  4. 4 Posted by Peter Goldsmith on 20 Jan, 2014 11:19 PM

    Peter Goldsmith's Avatar

    Hi David,
    Sorry for the delay. I can see the response body is not empty from the 'Content-Length' header value. For future reference, to see the body of a curl response, just remove the -o /dev/null, and the body will be output to the terminal.
    However the issue appears to not be with the server responding to requests, but with the Reveal.app not seeing the bonjour broadcasts.
    From the output you have already given, there doesn't appear to be anything glaringly wrong, so we are not sure what could be causing the bonjour broadcasts to be failing. This may be a silly question, but you are running Reveal on the same machine as the simulator? And you can see the app in Bonjour Browser?
    Maybe try uninstalling your current Reveal.app, and re-download from http://download.revealapp.com/Reveal.app.zip, and ensure you unzip and drag Reveal.app into your Applications folder.

    Cheers,
    Pete

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac