RE: Win32 Subscribe Problem

[email protected] Wed, 2 Jun 2004 17:23:34 -0700
Newsgroups gmane.comp.web.mod-pubsub.devel
Message-ID <[email protected]>
Hi,

> Also, you can run
> Cscript /mod_pubsub/cxx_pubsub/LibKN/Tests/wsh/subscribe.vbs
> http://localhost:8080/kn /what/chat
> 
> 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


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504