[xdebug-general] xdebug in linux/centos - 'Timeout Connection To Client :-( ' message

From: Phillip Marnell <philmarnell[@]gmail.com>
Date: Mon, 21 Apr 2014 16:47:14 -0400

Hello.

I've scoured the web for a couple days looking for an answer. I'm using
Netbeans8, Window7 (all current) trying to debug php on a virtual private
server.

Launching debug triggers the browser to start the application, but the IDE
remains in 'Waiting for Connection (netbeans-xdebug)'

I found this in the output log:

*Log opened at 2014-04-21 20:36:55*
*I: Checking remote connect back address.*
*I: Remote address found, connecting to 71.204.233.91:9000
<http://71.204.233.91:9000>.*
*E: Time-out connecting to client. :-(*
*Log closed at 2014-04-21 20:36:55*

71.204.233.91 is the public internet address for my Windows machine.
 Locally, it's 192.168.2.2. Don't know if that matters.

Here are the parms from php.ini for xdebug:

*;;;;;;;;;;;;;;;;;;;;;;;;*
*; adding xdebug to php ;*
*;;;;;;;;;;;;;;;;;;;;;;;;*
*zend_extension =
/usr/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so*

*xdebug.profiler_output_dir = "/tmp/xdebug/"*
*xdebug.profiler_enable = On*
*xdebug.remote_enable = On*
*xdebug.remote_connect_back = On*
*xdebug.remote_host = 71.204.233.91*
*xdebug.remote_handler = "dbgp"*
*xdebug.remote_port = 9000*
*xdebug.idekey=netbeans-xdebug*
*xdebug.remote_autostart= On*
*xdebug.remote_enable= On*
*xdebug.remote_mode="req"*
*;xdebug.remote_host=127.0.0.1*
*xdebug.remote_log="/home/adjac3nt/xdebug.log"*

Here is information from phpinfo:

*Build Date => Nov 6 2013 12:29:35*
*Configure Command => './configure' '--disable-fileinfo' '--disable-pdo'
'--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-libxml'
'--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local'
'--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/'
'--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr'
'--with-kerberos' '--with-libdir=lib64' '--with-libxml-dir=/opt/xml2/'
'--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-openssl=/usr' '--with-openssl-dir=/usr'
'--with-pcre-regex=/opt/pcre' '--with-pic' '--with-zlib'
'--with-zlib-dir=/usr' '--with-gd' '--with-png-dir=/usr/lib64'
'--with-jpeg-dir=/usr/lib64' '--enable-gd-native-ttf' '--with-gettext'
'--enable-ttf'*
*Server API => Command Line Interface*
*Virtual Directory Support => disabled*
*Configuration File (php.ini) Path => /usr/local/lib*
*Loaded Configuration File => /usr/local/lib/php.ini*
*Scan this dir for additional .ini files => (none)*
*Additional .ini files parsed => (none)*
*PHP API => 20090626*
*PHP Extension => 20090626*
*Zend Extension => 220090626*
*Zend Extension Build => API220090626,NTS*
*PHP Extension Build => API20090626,NTS*
*Debug Build => no*
*Thread Safety => disabled*
*Zend Memory Manager => enabled*
*Zend Multibyte Support => disabled*
*IPv6 Support => enabled*
*...*
*...*
*xdebug*

*xdebug support => enabled*
*Version => 2.2.4*
*IDE Key => netbeans-xdebug*

*Supported protocols => Revision*
*DBGp - Common DeBuGger Protocol => $Revision: 1.145 $*

*Directive => Local Value => Master Value*
*xdebug.auto_trace => Off => Off*
*xdebug.cli_color => 0 => 0*
*xdebug.collect_assignments => Off => Off*
*xdebug.collect_includes => On => On*
*xdebug.collect_params => 0 => 0*
*xdebug.collect_return => Off => Off*
*xdebug.collect_vars => Off => Off*
*xdebug.coverage_enable => On => On*
*xdebug.default_enable => On => On*
*xdebug.dump.COOKIE => no value => no value*
*xdebug.dump.ENV => no value => no value*
*xdebug.dump.FILES => no value => no value*
*xdebug.dump.GET => no value => no value*
*xdebug.dump.POST => no value => no value*
*xdebug.dump.REQUEST => no value => no value*
*xdebug.dump.SERVER => no value => no value*
*xdebug.dump.SESSION => no value => no value*
*xdebug.dump_globals => On => On*
*xdebug.dump_once => On => On*
*xdebug.dump_undefined => Off => Off*
*xdebug.extended_info => On => On*
*xdebug.file_link_format => no value => no value*
*xdebug.idekey => netbeans-xdebug => netbeans-xdebug*
*xdebug.max_nesting_level => 100 => 100*
*xdebug.overload_var_dump => On => On*
*xdebug.profiler_aggregate => Off => Off*
*xdebug.profiler_append => Off => Off*
*xdebug.profiler_enable => On => On*
*xdebug.profiler_enable_trigger => Off => Off*
*xdebug.profiler_output_dir => /tmp/xdebug/ => /tmp/xdebug/*
*xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p*
*xdebug.remote_autostart => On => On*
*xdebug.remote_connect_back => On => On*
*xdebug.remote_cookie_expire_time => 3600 => 3600*
*xdebug.remote_enable => On => On*
*xdebug.remote_handler => dbgp => dbgp*
*xdebug.remote_host => 71.204.233.91 => 71.204.233.91*
*xdebug.remote_log => /home/uuser/xdebug.log => /home/uuser/xdebug.log*
*xdebug.remote_mode => req => req*
*xdebug.remote_port => 9000 => 9000*
*xdebug.scream => Off => Off*
*xdebug.show_exception_trace => Off => Off*
*xdebug.show_local_vars => Off => Off*
*xdebug.show_mem_delta => Off => Off*
*xdebug.trace_enable_trigger => Off => Off*
*xdebug.trace_format => 0 => 0*
*xdebug.trace_options => 0 => 0*
*xdebug.trace_output_dir => /tmp => /tmp*
*xdebug.trace_output_name => trace.%c => trace.%c*
*xdebug.var_display_max_children => 128 => 128*
*xdebug.var_display_max_data => 512 => 512*
*xdebug.var_display_max_depth => 3 => 3*

Can you share any advice or suggestion on fixing this? I have tried most
everything that I've seen online.

Any ideas on either how to fix, or on where to look for documentation or
assistance?

Thank you.

-- 
Phil Marnell
Received on Mon Apr 21 2014 - 21:47:16 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST