From: Tommy H. <th...@ch...> - 2004-06-03 06:12:41
|
Hi Rand, Are you sure that the python server is running on port 8000? What I see is that the server is not properly returning a request ID or an empty request ID. This is causing the failure.=20 What are the parameters you're passing to the pubsub.py server? Also what platform are you using? Windows XP? Windows 2000? Tommy -----Original Message----- From: ra...@ex... [mailto:ra...@ex...]=20 Sent: Wednesday, June 02, 2004 5:24 PM To: Tommy Hui Cc: mod pubsub; Tommy Hui Subject: RE: [Mod-pubsub-developer] Win32 Subscribe Problem Hi, > Also, you can run > Cscript /mod_pubsub/cxx_pubsub/LibKN/Tests/wsh/subscribe.vbs > http://localhost:8080/kn /what/chat >=20 > To subscribe to the /what/chat topic. When I run the subscribe.vbs script as per above, I get this: C:\Dev\mod_pubsub\cxx_pubsub\LibKN\Tests\wsh>cscript Subscribe.vbs http://localh ost:8000/kn /what/foo Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. 2 arguments Successfully opened Subscribing to /what/foo 0 Failed to subscribe, exiting. OnConnectionStatus html_payload:watching who/wms/374680906/kn_journal kn_id:2964_300 kn_payload:watching who/wms/374680906/kn_journal kn_route_location: kn_time_t:1086221892.06 state:1 status:200 Watching topic status_code:200 OnStatus html_payload:watching who/wms/374680906/kn_journal kn_id:2964_300 kn_payload:watching who/wms/374680906/kn_journal kn_route_location: kn_time_t:1086221892.06 state:1 status:200 Watching topic status_code:200 Done C:\Dev\mod_pubsub\cxx_pubsub\LibKN\Tests\wsh> What is causing it to say "Failed to subscribe"? Or better, can you give me any guidance on diagnosing? I believe that the answer to that is why none of my other COM-based subscriptions are working either. As I said, my python-based subscriptions are working fine against the same server/topic. Thanks, Randog |