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 - XDebug stopps to work after HTTP 502 sent by server
Summary: XDebug stopps to work after HTTP 502 sent by server
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.1
Hardware: PC Windows 7 x64
: P4 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 15:41 UTC by turneliusz
Modified: 2012-04-04 07:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?