You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Nuwan Bandara <ba...@gmail.com> on 2011/08/16 01:25:35 UTC

makeRequest calls fail in commonContainer

Hi,

Is there a perticular reason why makeRequest calls faill in commonContainer.

i.e. If you try the horoscope gadget [1] in
http://localhost:8080/samplecontainer/examples/commoncontainer/ it fails
saying invalid URL parameter. from the looks of it the secureToken is not
sent with requests; however I tried to send the token but still getting the
same error.

Any clue is much appreciated.

-- 
Thanks & Regards,

Nuwan Bandara

Re: makeRequest calls fail in commonContainer

Posted by Nuwan Bandara <nu...@bandara.co>.
Thanks Matt :) my bad, I didnt notice that

Regards,
/Nuwan

On Tue, Aug 16, 2011 at 7:43 AM, Matthew G Marum <mg...@us.ibm.com> wrote:

> I think it might be related to User Prefs not being fully implemented in
> common container and maybe some recent changes in the horoscope gadget
> itself. The horoscope gadget does some substitutions to a URL based upon
> what looks like some user pref values. I believe you'll find that since
> these substitutions weren't made the URL being used in the makeRequest is
> invalid.
>
> http://feeds.tarot.com/f/ws/dh/igoogledh/locale/%lang%/timezone/-4/uid/
> %up_uid%?partner=igoogle&key=a9a51c94bbb165f9&type=xml&time=1313505653643
>
> Matt Marum
>
> [image: Inactive hide details for Nuwan Bandara ---08/16/2011 09:34:34
> AM---Hi again, On Mon, Aug 15, 2011 at 7:45 PM, Nuwan Bandara <n]Nuwan
> Bandara ---08/16/2011 09:34:34 AM---Hi again, On Mon, Aug 15, 2011 at 7:45
> PM, Nuwan Bandara <nu...@bandara.co> wrote:
>
>
> From:
> Nuwan Bandara <nu...@bandara.co>
> To:
> dev@shindig.apache.org
> Date:
> 08/16/2011 09:34 AM
> Subject:
> Re: makeRequest calls fail in commonContainer
> Sent by:
> bandara.nuwan@gmail.com
> ------------------------------
>
>
>
> Hi again,
>
> On Mon, Aug 15, 2011 at 7:45 PM, Nuwan Bandara <nu...@bandara.co> wrote:
>
> > hi Henry,
> >
> > On Mon, Aug 15, 2011 at 6:31 PM, Henry Saputra <henry.saputra@gmail.com
> >wrote:
> >
> >> Hi Nuwan,
> >>
> >> Did you see this error from running Shindig from trunk?
> >>
> >
> > yes,  r1157930
> >
>
> I am seeing this error in beta 2 as well.
>
> Regards,
> /Nuwan
>
>
> >
> > Regards,
> > /Nuwan
> >
> >>
> >> - Henry
> >>
> >> On Mon, Aug 15, 2011 at 4:25 PM, Nuwan Bandara <bandara.nuwan@gmail.com
> >
> >> wrote:
> >> > Hi,
> >> >
> >> > Is there a perticular reason why makeRequest calls faill in
> >> commonContainer.
> >> >
> >> > i.e. If you try the horoscope gadget [1] in
> >> > http://localhost:8080/samplecontainer/examples/commoncontainer/ it
> >> fails
> >> > saying invalid URL parameter. from the looks of it the secureToken is
> >> not
> >> > sent with requests; however I tried to send the token but still
> getting
> >> the
> >> > same error.
> >> >
> >> > Any clue is much appreciated.
> >> >
> >> > --
> >> > Thanks & Regards,
> >> >
> >> > Nuwan Bandara
> >> >
> >>
> >
> >
> >
> > --
> > Thanks & Regards,
> >
> > Nuwan Bandara
> > - www.nuwanbando.com - Stranger Than Fiction
> >
> >  [ http://www.linkedin.com/in/nuwanbandara ]
> > [ http://www.twitter.com/nuwanbando ]
> > [ https://github.com/nuwanbando]
> >
> >
>
>
> --
> Thanks & Regards,
>
> Nuwan Bandara
> - www.nuwanbando.com - Stranger Than Fiction
>
> [ http://www.linkedin.com/in/nuwanbandara ]
> [ http://www.twitter.com/nuwanbando ]
> [ https://github.com/nuwanbando]
>
>
>


-- 
Thanks & Regards,

Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]
[ https://github.com/nuwanbando]

Re: makeRequest calls fail in commonContainer

Posted by Matthew G Marum <mg...@us.ibm.com>.
I think it might be related to User Prefs not being fully implemented in
common container and maybe some recent changes in the horoscope gadget
itself.  The horoscope gadget does some substitutions to a URL based upon
what looks like some user pref values.  I believe you'll find that since
these substitutions weren't made the URL being used in the makeRequest is
invalid.

http://feeds.tarot.com/f/ws/dh/igoogledh/locale/%lang%/timezone/-4/uid/
%up_uid%?partner=igoogle&key=a9a51c94bbb165f9&type=xml&time=1313505653643

Matt Marum


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Nuwan Bandara <nu...@bandara.co>                                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |dev@shindig.apache.org                                                                                                                            |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |08/16/2011 09:34 AM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: makeRequest calls fail in commonContainer                                                                                                     |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |bandara.nuwan@gmail.com                                                                                                                           |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





Hi again,

On Mon, Aug 15, 2011 at 7:45 PM, Nuwan Bandara <nu...@bandara.co> wrote:

> hi Henry,
>
> On Mon, Aug 15, 2011 at 6:31 PM, Henry Saputra
<he...@gmail.com>wrote:
>
>> Hi Nuwan,
>>
>> Did you see this error from running Shindig from trunk?
>>
>
> yes,  r1157930
>

I am seeing this error in beta 2 as well.

Regards,
/Nuwan


>
> Regards,
> /Nuwan
>
>>
>> - Henry
>>
>> On Mon, Aug 15, 2011 at 4:25 PM, Nuwan Bandara <ba...@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > Is there a perticular reason why makeRequest calls faill in
>> commonContainer.
>> >
>> > i.e. If you try the horoscope gadget [1] in
>> > http://localhost:8080/samplecontainer/examples/commoncontainer/ it
>> fails
>> > saying invalid URL parameter. from the looks of it the secureToken is
>> not
>> > sent with requests; however I tried to send the token but still
getting
>> the
>> > same error.
>> >
>> > Any clue is much appreciated.
>> >
>> > --
>> > Thanks & Regards,
>> >
>> > Nuwan Bandara
>> >
>>
>
>
>
> --
> Thanks & Regards,
>
> Nuwan Bandara
> - www.nuwanbando.com - Stranger Than Fiction
>
>  [ http://www.linkedin.com/in/nuwanbandara ]
> [ http://www.twitter.com/nuwanbando ]
> [ https://github.com/nuwanbando]
>
>


--
Thanks & Regards,

Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]
[ https://github.com/nuwanbando]


Re: makeRequest calls fail in commonContainer

Posted by Nuwan Bandara <nu...@bandara.co>.
Hi again,

On Mon, Aug 15, 2011 at 7:45 PM, Nuwan Bandara <nu...@bandara.co> wrote:

> hi Henry,
>
> On Mon, Aug 15, 2011 at 6:31 PM, Henry Saputra <he...@gmail.com>wrote:
>
>> Hi Nuwan,
>>
>> Did you see this error from running Shindig from trunk?
>>
>
> yes,  r1157930
>

I am seeing this error in beta 2 as well.

Regards,
/Nuwan


>
> Regards,
> /Nuwan
>
>>
>> - Henry
>>
>> On Mon, Aug 15, 2011 at 4:25 PM, Nuwan Bandara <ba...@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > Is there a perticular reason why makeRequest calls faill in
>> commonContainer.
>> >
>> > i.e. If you try the horoscope gadget [1] in
>> > http://localhost:8080/samplecontainer/examples/commoncontainer/ it
>> fails
>> > saying invalid URL parameter. from the looks of it the secureToken is
>> not
>> > sent with requests; however I tried to send the token but still getting
>> the
>> > same error.
>> >
>> > Any clue is much appreciated.
>> >
>> > --
>> > Thanks & Regards,
>> >
>> > Nuwan Bandara
>> >
>>
>
>
>
> --
> Thanks & Regards,
>
> Nuwan Bandara
> - www.nuwanbando.com - Stranger Than Fiction
>
>  [ http://www.linkedin.com/in/nuwanbandara ]
> [ http://www.twitter.com/nuwanbando ]
> [ https://github.com/nuwanbando]
>
>


-- 
Thanks & Regards,

Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]
[ https://github.com/nuwanbando]

Re: makeRequest calls fail in commonContainer

Posted by Nuwan Bandara <nu...@bandara.co>.
hi Henry,

On Mon, Aug 15, 2011 at 6:31 PM, Henry Saputra <he...@gmail.com>wrote:

> Hi Nuwan,
>
> Did you see this error from running Shindig from trunk?
>

yes,  r1157930

Regards,
/Nuwan

>
> - Henry
>
> On Mon, Aug 15, 2011 at 4:25 PM, Nuwan Bandara <ba...@gmail.com>
> wrote:
> > Hi,
> >
> > Is there a perticular reason why makeRequest calls faill in
> commonContainer.
> >
> > i.e. If you try the horoscope gadget [1] in
> > http://localhost:8080/samplecontainer/examples/commoncontainer/ it fails
> > saying invalid URL parameter. from the looks of it the secureToken is not
> > sent with requests; however I tried to send the token but still getting
> the
> > same error.
> >
> > Any clue is much appreciated.
> >
> > --
> > Thanks & Regards,
> >
> > Nuwan Bandara
> >
>



-- 
Thanks & Regards,

Nuwan Bandara
- www.nuwanbando.com - Stranger Than Fiction

[ http://www.linkedin.com/in/nuwanbandara ]
[ http://www.twitter.com/nuwanbando ]
[ https://github.com/nuwanbando]

Re: makeRequest calls fail in commonContainer

Posted by Henry Saputra <he...@gmail.com>.
Hi Nuwan,

Did you see this error from running Shindig from trunk?

- Henry

On Mon, Aug 15, 2011 at 4:25 PM, Nuwan Bandara <ba...@gmail.com> wrote:
> Hi,
>
> Is there a perticular reason why makeRequest calls faill in commonContainer.
>
> i.e. If you try the horoscope gadget [1] in
> http://localhost:8080/samplecontainer/examples/commoncontainer/ it fails
> saying invalid URL parameter. from the looks of it the secureToken is not
> sent with requests; however I tried to send the token but still getting the
> same error.
>
> Any clue is much appreciated.
>
> --
> Thanks & Regards,
>
> Nuwan Bandara
>