[aerogear-dev] JavaSender questions and a few other bits

Matthias Wessendorf matzew at apache.org
Mon Aug 11 11:48:01 EDT 2014


Hi Mus,

I started the doc on "better debugging", I have added the logging section:
https://gist.github.com/matzew/149024e54a0bdec927ee

James Perkins, from WF team, did help with the content


On Mon, Aug 11, 2014 at 5:05 PM, Matthias Wessendorf <matzew at apache.org>
wrote:

> Hi Mus,
>
> I have decoded your credentials, submitted by the UnifiedPush Console.
> ec8260b5-5db2-443a-90db-64e49d147c21:4b09a8b7-88da-4bc6-922a-c65fd40045f3
>
>
> however, your java code has this:
>
>    1.                                 .pushApplicationId(
>    "73275d2d-5e83-4a87-8342-7a6cd15068f2")
>    2.                                 .masterSecret(
>    "cd9aabfa-e163-4a52-8f18-4ca3de3b1001")
>
>
>
> That does explain the 401
>
> -Matthias
>
>
>
>
>
>
> On Mon, Aug 11, 2014 at 4:42 PM, mmusaji <mmusaji at redhat.com> wrote:
>
>> I'm using JavaSender 0.8.0. This is from the internal DR3 release.
>>
>> Here's the POST captured from the console. NOTE: this works fine, but the
>> JavaSender fails so if you want me to capture anything from this side let
>> me
>> know how/what you need.
>>
>> Remote Address:10.33.1.143:8080
>> Request URL:http://10.33.1.143:8080/ag-push/rest/sender
>> Request Method:POST
>> Status Code:200 OK
>> Request Headersview source
>> Accept:application/json, text/plain, */*
>> Accept-Encoding:gzip,deflate,sdch
>> Accept-Language:en-US,en;q=0.8,en-GB;q=0.6
>> aerogear-sender:AeroGear UnifiedPush Console
>> Authorization:Basic
>>
>> ZWM4MjYwYjUtNWRiMi00NDNhLTkwZGItNjRlNDlkMTQ3YzIxOjRiMDlhOGI3LTg4ZGEtNGJjNi05MjJhLWM2NWZkNDAwNDVmMw==
>> Connection:keep-alive
>> Content-Length:46
>> Content-Type:application/json;charset=UTF-8
>> Host:10.33.1.143:8080
>> Origin:http://10.33.1.143:8080
>> Referer:http://10.33.1.143:8080/ag-push/
>> User-Agent:Mozilla/5.0
>> <http://10.33.1.143:8080/ag-push/User-Agent:Mozilla/5.0> (X11; Linux
>> x86_64) AppleWebKit/537.36 (KHTML, like
>> Gecko) Chrome/36.0.1985.125 Safari/537.36
>> Request Payloadview source
>> {message:{sound:default, alert:Blah}}
>> message: {sound:default, alert:Blah}
>> Response Headersview source
>> Content-Length:13
>> Content-Type:application/json
>> Date:Mon, 11 Aug 2014 14:36:59 GMT
>> Server:Apache-Coyote/1.1
>>
>>
>>
>> --
>> View this message in context:
>> http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8833.html
>> Sent from the aerogear-dev mailing list archive at Nabble.com.
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140811/0fc206c4/attachment.html 


More information about the aerogear-dev mailing list