Request timed out.

Ignazio's Avatar

Ignazio

17 Feb, 2017 11:53 AM

Hi,
I checked this bonjur article http://support.revealapp.com/kb/tips-tricks/bonjour-debugging-why-c...
and via command line everything looks fine.
But when I launch the RevelApp, it discovers the iOS simulator but is not able to connect.
I checked the console log and I saw some messages:

NSURLSessionTask finished with error - code: -1001
TIC TCP Conn Cancel [11:0x6180003801a0]
HTTP load failed (error code: -999 [1:89])
ERROR: Failed to refresh application state: Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x610000441e30 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://localhost:54017/application, NSErrorFailingURLKey=https://localhost:54017/application, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}
  1. Support Staff 1 Posted by Vlas Voloshin on 18 Feb, 2017 09:10 AM

    Vlas Voloshin's Avatar

    Hi Ignazio,

    The log message that you have attached looks interesting – it mentions the following URL that Reveal attempted to load:

    NSErrorFailingURLKey=https://localhost:54017/application
    

    This is curious because Reveal does not actually use HTTPS to communicate with the inspected application. I would assume that the timeout is caused by Reveal attempting (for some reason) to initiate an SSL handshake and, of course, failing to do so.

    It would be difficult for me to guess why exactly Reveal attempts to use HTTPS in your case, but I'll try: maybe there's some sort of system-wide tweak or kernel extension installed on your system that somehow forces all HTTP requests to be performed over SSL, including that with services on localhost? Maybe if you're using a computer provided by your employer, such tweak is enforced by your system administrator policy?

    It would also be great to know which version of Reveal you're using.

    Best regards,
    Vlas.

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