facebook

gapdebug can not connect to the server

  1. GapDebug
  2.  > 
  3. Getting Help – GapDebug
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #396282 Reply

    womiao
    Participant

    I installed gapdebug today on Windows 7.I can see my android device in the device panel.But when I clicked on the page name, I got a “can not connect to the server” error message.Who can tell how to fix this problem.Thanks a lot.

    #396283 Reply

    support-vadim
    Participant

    Hi womiao,

    Do you see the problem similar to reported in this thread?

    https://www.genuitec.com/forums/topic/the-requested-url-serve_rev186555devtools-html-was-not-found-on-this-server/

    In this case, could you please try to open

    https://chrome-devtools-frontend.appspot.com/serve_rev/@186555/devtools.html

    in your regular Chrome browser and tell us what it shows to you?

    Regards,

    Vadim Ridosh

    #396812 Reply

    mr-l
    Participant

    Hi, I come across the same error “Can not connect to the server” when my gapdebug try to connect Android device. I changed different android phones to try,bug failed. Could help me to solve it?
    When i open “https://chrome-devtools-frontend.appspot.com/serve_rev/@186555/devtools.html” it appeares a blank page.

    • This reply was modified 8 years, 8 months ago by mr-l. Reason: add a pic
    Attachments:
    You must be logged in to view attached files.
    #396818 Reply

    wayne
    Moderator

    @mr-l
    Thanks for sharing. The fact that the URL to the chrome dev tools is returning an empty page indicates a general network access issue. Are you behind a proxy server that is blocking access to the chrome dev tools site?

    From your chrome browser open any external webpage. Then from the right-click menu in the page select “Inspect element”. Do the chrome dev tools load?

    #396820 Reply

    wayne
    Moderator

    @mr-l
    Thanks for sharing the screenshots. Actually the chrome dev tools are loading properly in your browser.
    My 1st thought is you are behind a proxy that is blocking GapDebug’s access to load the chrome dev tools.
    GapDebug attempts to auto-configure its network settings to minimize such issues this. But it is not 100% bulletproof. See section 8.3 https://www.genuitec.com/products/gapdebug/learning-center/user-guide/ for the network proxy settings.

    Note: we are working on an update now that will avoid this type of network setting requirement.

    #396822 Reply

    mr-l
    Participant

    @wayne
    Hi, I can open external webpage “www.baidu.com”, and chrome dev tools loaded.
    I think i have no proxy server blocking access to the chrome dev tools site.

    Attachments:
    You must be logged in to view attached files.
    #396861 Reply

    support-vadim
    Participant

    Hi mr-l,

    Actually, the fact that you can open devtools on custom page in Chrome adds nothing to our research, because in such case Chrome opens devtools that are stored in Chrome resources, no network access is required here.

    Yet another idea to check is windows firewall rules. Could you please try to open them and check if gapdebug.exe is allowed to access internet sited?

    Regards,
    Vadim Ridosh

    #396865 Reply

    mr-l
    Participant

    Hi,
    Thank you for replying.
    Actually, I am working with Mac mini, the gapdebug is Mac version.
    I debug my app with iphone or IOS emulater in gapdebug, It always works fine.
    Android devices used to work fine several days ago, but now android devices cannot debug in gapdebug, because it comes across the error “Can not connect to the server”.
    PS: PC’s network is fine, android phone connects to PC fine with USB, and my App runs well in android phones.

    #396873 Reply

    support-vadim
    Participant

    Hi mr-l,

    Well, Mac OSX has own firewall too – and I’m curious if it prohibits gapdebug from accessing internet.

    Regards,
    Vadim Ridosh

    #397471 Reply

    mr-l
    Participant

    Hi, When i click the app, the network works as the attachment showed. and the firewall allows the gapdebug to access.

    Attachments:
    You must be logged in to view attached files.
    #397616 Reply

    support-michael
    Keymaster

    We have just released a beta GapDebug 2015 update 5 (aka 2.1.0) that includes several improvements:
    https://www.genuitec.com/forums/topic/gapdebug-2015-update-5-2-1-0-beta-1-available/
    Please help us test drive it.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: gapdebug can not connect to the server

You must be logged in to post in the forum log in