php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59173 Server is not responding
Submitted: 2010-04-22 09:24 UTC Modified: 2010-06-06 22:52 UTC
From: tyra3l at gmail dot com Assigned:
Status: Closed Package: stomp (PECL)
PHP Version: 5.3.2 OS: Windows Xp Sp3
Private report: No CVE-ID: None
 [2010-04-22 09:24 UTC] tyra3l at gmail dot com
Description:
------------
I'm using the builds avaiable from Pierre:
http://downloads.php.net/pierre/
If I try to connect to a valid broker, I got the "Server is not responding" Stomp_Exception.
The same code works on linux, without problem.
I did sniffed the network with wireshark, and it seems, that the connection request is sent, and the response is received.

Reproduce code:
---------------
<?php
new Stomp('tcp://localhost:61613');

Expected result:
----------------
no exception

Actual result:
--------------
Fatal error: Uncaught exception 'StompException' with message 'Server is not responding' in ...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-08 16:35 UTC] kalle@php.net
Try replacing localhost with 127.0.0.1, like:
new Stomp('tcp://127.0.0.1:61613');
 [2010-05-08 18:27 UTC] tyra3l at gmail dot com
Tried that with no luck.

Tyrael
 [2010-06-06 22:52 UTC] pierrick@php.net
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

Thanks for reporting the bug. If you want the compiled dll 
send me an e-mail :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 02:01:30 2024 UTC