NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Failed to start DBG session:


Joined: 20 Jun 2007
Posts: 9
Reply with quote
[update:]

Using the pre-built debug bar in IE everything works fine on the localhost. Apparently, this is a Firefox debug bar problem. Sorry for not testing more thoroughly before asking for help.

Maybe this will help someone else. Maybe not.

Steve

-----------------
I'm getting the following error when I try and debug my localhost version of the application I'm working on. If I debug the live version on the server everything works fine.

Code:

DBG 3.8.0

Failed to start DBG session

Reason: client ip address [(null)] lookup failed
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.

Debugger request:   "833151@clienthost:7869;d=1,p=0,c=0"
Request found in:   "$_COOKIE['DBGSESSID']"
Target PHP version: "5.2.x"
Server API:         "CGI/FastCGI"
Extensions API:     "220060519"
Modules API:        "20060613"
PHP API:            "20041225"


Live Server:
Windows 2003, php 5.2.8, server api ISAPI, debugger 3.8.0

Localhost Web Server:
Windows 7 build 7100, php 5.2.10, server api FastCGI, debugger 3.8.0


Any thoughts on what might be wrong? Confused

Thanks for your help,
Steve
View user's profileFind all posts by SteveGrahamSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Check if FireFox connects to your server using IPv6.
Also check if $_SERVER['REMOTE_ADDR'] is populated with your client machine IP.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Jun 2007
Posts: 9
Reply with quote
Sorry, I'm afraid I don't know how to check if Firefox is using IPv6 or not. The $_SERVER['REMOTE_ADDR'] is not populated with the ip address.

Code:

    [LOCAL_ADDR] => ::1
    ...
    [REMOTE_ADDR] => ::1
    [REMOTE_HOST] => ::1
    [REMOTE_PORT] => 49513



I did resolve this by changing the DBGbar "Machine clienthost" option from 'clienthost' -> 'localhost'. 127.0.0.1 or the regular IPv4 address works as well. Thanks for looking into this though.
View user's profileFind all posts by SteveGrahamSend private message
[resolved] Failed to start DBG session:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic