This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 210633

Summary: XDebug stopps to work after HTTP 502 sent by server
Product: php Reporter: turneliusz
Component: DebuggerAssignee: Ondrej Brejla <obrejla>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description turneliusz 2012-04-03 15:41:16 UTC
Our development servers sends HTTP 502 when somebody on server restarts php-fpm. When this happens (or any other case causing HTTP 502) NetBeans loses connection with server, which is natural and then is not able to work again with xdebug again without restart.

Scenario summary:
1. Start debugging with xdebug and php-fpm (other cases not tested).
2. Cause HTTP 5xx error in web-server.
3. Try to start to debug again.
4. NetBeans will be not able to handle again connections from web-server and PHP to debug.
Comment 1 Ondrej Brejla 2012-04-03 16:15:03 UTC
I'm not able to test it with php-fpm right now. But I tried it with apache and it works properly for me. So P4 as a reminder.
Comment 2 turneliusz 2012-04-04 07:22:30 UTC
Thank you! I should add that our web-server is nginx on Debian machine. Can I attach some debug information to help you guys to solve the problem?