Log in to the machine running your shindig instance and try fetching the URL:
curl http://njmj.ctbc.com.br:8080/samplecontainer/examples/contatos.xml or.. wget http://njmj.ctbc.com.br:8080/samplecontainer/examples/contatos.xml On Tue, Jun 1, 2010 at 1:00 PM, Normandes Jr <[email protected]> wrote: > I am doing the requisition with this parameters, there are missing > something? > > headers = > oauthState = > postData = > getSummaries = false > getFullHeaders = false > httpMethod = GET > signOwner = true > gadget = > http://njmj.ctbc.com.br:8080/samplecontainer/examples/contatos.xml > numEntries = 3 > contentType = JSON > OAUTH_SERVICE_NAME = google > url = http://www.google.com/m8/feeds/contacts/default/base?alt=json > container = default > bypassSpecCache = > st = > authz = oauth > signViewer = true > > > > > On Tue, Jun 1, 2010 at 4:26 PM, Normandes Jr <[email protected]> > wrote: > > > So, where should I start take a look to be able solve this issue? How > could > > I know if the gadget spec is OK? > > > > > > > > On Tue, Jun 1, 2010 at 4:21 PM, Cesar William <[email protected]> > wrote: > > > >> > >> > >> ---------- Forwarded message ---------- > >> From: Paul Lindner <[email protected]> > >> Date: Tue, Jun 1, 2010 at 4:17 PM > >> Subject: Re: Error at shindig with OAuth > >> To: [email protected] > >> > >> > >> Shindig fetches the gadget spec to pull in the <Oauth...> stanza, if > your > >> gadget spec cannot be loaded it will give that error message. Now why > >> that's happening is another question. It could be that your gadget spec > >> is > >> not getting served up, or it could be a configuration issue with the > >> shindig > >> server you have set up (behind a proxy, dns, etc.) > >> > >> > >> > >> On Tue, Jun 1, 2010 at 12:05 PM, Normandes Jr <[email protected]> > >> wrote: > >> > >> > Hi, > >> > > >> > Any gadget that I try to use OAuth, I get this error: > >> > WARNING: OAuth fetch fatal error > >> > OAuth error [UNKNOWN_PROBLEM, Could not fetch gadget spec] for > >> application > >> > . Request trace: > >> > ==== Original request: > >> > GET /m8/feeds/contacts/default/base?alt=json > >> > > >> > Host: www.google.com > >> > X-Shindig-AuthType: oauth > >> > X-Forwarded-For: 127.0.0.1 > >> > X-shindig-dos: on > >> > > >> > > >> > ==== > >> > [UNKNOWN_PROBLEM,Could not fetch gadget spec] > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore.findSpec(GadgetOAuthTokenStore.java:286) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore.lookupSpecInfo(GadgetOAuthTokenStore.java:129) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore.getOAuthAccessor(GadgetOAuthTokenStore.java:94) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.oauth.OAuthRequest.fetchNoThrow(OAuthRequest.java:192) > >> > at > >> > > >> > org.apache.shindig.gadgets.oauth.OAuthRequest.fetch(OAuthRequest.java:176) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.http.DefaultRequestPipeline.execute(DefaultRequestPipeline.java:92) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.servlet.MakeRequestHandler.doFetch(MakeRequestHandler.java:91) > >> > at > >> > org.apache.shindig.gadgets.servlet.ProxyBase.fetch(ProxyBase.java:169) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.servlet.MakeRequestServlet.doGet(MakeRequestServlet.java:49) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.servlet.MakeRequestServlet.doPost(MakeRequestServlet.java:55) > >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) > >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > >> > at > >> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) > >> > at > >> > > >> > > >> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) > >> > at > >> > > >> > > >> > org.apache.shindig.auth.AuthenticationServletFilter.callChain(AuthenticationServletFilter.java:123) > >> > at > >> > > >> > > >> > org.apache.shindig.auth.AuthenticationServletFilter.doFilter(AuthenticationServletFilter.java:86) > >> > at > >> > > >> > > >> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) > >> > at > >> > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) > >> > at > >> > > >> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) > >> > at > >> > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > >> > at > >> > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) > >> > at > >> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) > >> > at > >> > > >> > > >> > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > >> > at > >> > > >> > > >> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > >> > at > >> > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > >> > at org.mortbay.jetty.Server.handle(Server.java:326) > >> > at > >> > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > >> > at > >> > > >> > > >> > org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938) > >> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) > >> > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) > >> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > >> > at > >> > > >> > > >> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) > >> > at > >> > > >> > > >> > org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > >> > Caused by: org.apache.shindig.gadgets.GadgetException: Url does not > >> > include > >> > scheme > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.http.DefaultRequestPipeline.normalizeProtocol(DefaultRequestPipeline.java:133) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.http.DefaultRequestPipeline.execute(DefaultRequestPipeline.java:61) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.AbstractSpecFactory.fetchFromNetwork(AbstractSpecFactory.java:130) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.AbstractSpecFactory.getSpec(AbstractSpecFactory.java:90) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.DefaultGadgetSpecFactory.getGadgetSpec(DefaultGadgetSpecFactory.java:86) > >> > at > >> > > >> > > >> > org.apache.shindig.gadgets.oauth.GadgetOAuthTokenStore.findSpec(GadgetOAuthTokenStore.java:281) > >> > ... 32 more > >> > > >> > Cold you help me? > >> > > >> > Thanks, > >> > > >> > Normandes Junior > >> > Brazil > >> > > >> > >> > > >
