You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Brandon Duncan (JIRA)" <ji...@apache.org> on 2008/10/21 05:20:44 UTC

[jira] Commented: (SHINDIG-158) Reloading when using postMessage causes RPC errors

    [ https://issues.apache.org/jira/browse/SHINDIG-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641257#action_12641257 ] 

Brandon Duncan commented on SHINDIG-158:
----------------------------------------

We are seeing this in the LinkedIn container using Safari 3.1.2.
Gadgets will render fine but if you ever hit refresh in Safari we see the "invalid auth token" errors in the javascript console and various features fail to work (set title, request navigate to, etc).
What's odd is that if you just press enter on the URL in the browser rather than hitting the refresh button (which you'd expect to have the same outcome) you don't get the errors and the gadgets render properly.


> Reloading when using postMessage causes RPC errors
> --------------------------------------------------
>
>                 Key: SHINDIG-158
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-158
>             Project: Shindig
>          Issue Type: Bug
>          Components: Sample container & Examples
>         Environment: Firefox 3.0, Safari 3.1
>            Reporter: Paul Lindner
>
> 1) View sample container page
> 2) Before the gadget has rendered press reload (if using Firefox 3.0), For Safari just reload
> 3) rpc token errors will be observed, and dynamic-height etc will fail.
> I added some debugging, here's Safari's output
> setting authtoken to '1622832586
> http://mirth.inuus.com:8080/gadgets/files/samplecontainer/samplecontainer.html? BEWARE: permissive.js loaded
> http://mirth.inuus.com:8080/gadgets/ifr?url=http%3A%2F%2Fmirth.inuus.com%3A8080%2Fgadgets%2Ffiles%2Fsamplecontainer%2Fexamples%2FSocialHelloWorld.xml&synd=default&mid=0&nocache=1&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Fmirth.inuus.com%3A8080#rpctoken=983258013&st=john.doe:john.doe:samplecontainerapp:shindig Error: Invalid auth token:  '983258013' does not match '1622832586'
> http://mirth.inuus.com:8080/gadgets/js/rpc.js?c=1&debug=1 (line 571)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.