You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Biollo, Damian" <da...@sap.com> on 2010/05/08 01:24:43 UTC

Pub/sub examples still don't work?

Hi guys,

Am using the 1.1-BETA5 version of Shindig because the links to BETA6 are all broken (error 404; see previous post).

Anyway, I was trying out the sample-pubsub.html container and it seems to be broken. The gadgets can publish a change, but the message never gets routed to any of the callers. I'm running in Firefox 3.0.19 on the Mac, so it's using the MPM HTML5 transport for RPC.


Searching revealed that other people had problems with the pub/sub example back in July 2009.

Any chance that you could update the container or fix the bug so we can see how to build a container that supports publish/subscribe?

Thanks!
Damian

Re: Pub/sub examples still don't work?

Posted by Paul Lindner <li...@inuus.com>.
There's a subtle problem with the domain level checking going on.  Try
changing your config/container.js

"gadgets.iframeBaseUri" : "http://localhost:8080/gadgets/ifr",

instead of /gadgets/ifr



On Fri, May 7, 2010 at 4:24 PM, Biollo, Damian <da...@sap.com>wrote:

> Hi guys,
>
> Am using the 1.1-BETA5 version of Shindig because the links to BETA6 are
> all broken (error 404; see previous post).
>
> Anyway, I was trying out the sample-pubsub.html container and it seems to
> be broken. The gadgets can publish a change, but the message never gets
> routed to any of the callers. I'm running in Firefox 3.0.19 on the Mac, so
> it's using the MPM HTML5 transport for RPC.
>
>
> Searching revealed that other people had problems with the pub/sub example
> back in July 2009.
>
> Any chance that you could update the container or fix the bug so we can see
> how to build a container that supports publish/subscribe?
>
> Thanks!
> Damian
>