Actually, they are on the same server!  I don't see any error logs besides
the 504.


Chris Selzo
Software Engineer, Advanced Design and Technology, SWG Strategy
                                                                       
                                                                       
                                                                       
 Phone: 1-919-543-7365                                                          
                                                    IBM
 E-mail: [email protected]                                            
 Find me within IBM on: IBM Connections:                               
 
https://w3-connections.ibm.com/profiles/html/profileView.do?key=7de61c9d-79b1-480f-8cea-5a08e376e5be
                                                                       
                                                                       





From:   Henry Saputra <[email protected]>
To:     [email protected]
Date:   08/09/2012 02:22 PM
Subject:        Re: 504 errors when loading multiple copies of a gadget on a
            page?



504 error usually happen when there is a problem with HTTP connection from
one server (in this case your Shindig server) to the target server (which
is the endpoint where your gadget.xml is hosted.)

Could you check access logs in your gadget.xml server to see if there any
error logged?


- Henry

On Thu, Aug 9, 2012 at 11:07 AM, Christopher L Selzo
<[email protected]>wrote:

> I am encountering an issue where loading multiple copies of the same
> gadget on a page results in 504 errors.  I am using the latest 2.5
Shindig.
>  My test involves 10 copies of the gadget:
> <?xml version=*"1.0"* encoding=*"UTF-8"*?>
> <Module>
>     <ModulePrefs title=*"Home"* >
>         <Require feature=*"opensocial"* version=*"2.5"* />
>         <Require feature=*"dynamic-height"* />
>         <Require feature=*"views"* />
>     </ModulePrefs>
>  <Content type=*"html"* view=*"home, default"*>
>  <![CDATA[
> <div>Go Go Gadget.... </div>
> ]]>
>  </Content>
> </Module>
>
> I am using gadget rendering code similar to the Shindig examples under
> /Container (createGadget, addGadget, renderGadget).  Some of the gadgets
> render correctly, the others come back with a
> Unable to retrieve spec for http://XXX/testGadget.xml. HTTP error 504
>
> and the error is
> NetworkError: 504 Gateway Timeout -
>
http://XXX/shindig/gadgets/ifr?container=default&mid=5&nocache=1&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2FXXX%3A9080%2Ftestcre%2Ften-gadgets.html%3A%2F%2FXXX%3A9080&st=john.doe:john.doe:appid:cont:url:0:default&url=http%3A%2F%2FXXX%3A9080%2Ftestcre%2FtestGadget.xml#rpctoken=75940654

>
> Any ideas?
>
> Thanks
>
> *Chris Selzo*
> Software Engineer, Advanced Design and Technology, SWG Strategy
> ------------------------------
> *Phone:* 1-919-543-7365*
> E-mail:* *[email protected]* <[email protected]>*
> Find me within IBM on:* [image: IBM Connections:
>
https://w3-connections.ibm.com/profiles/html/profileView.do?key=7de61c9d-79b1-480f-8cea-5a08e376e5be
]<
https://w3-connections.ibm.com/profiles/html/profileView.do?key=7de61c9d-79b1-480f-8cea-5a08e376e5be
>
>
> [image: IBM]
>
>

Reply via email to