I feel stupid! Thanks a lot Matthias - I was just looking at the Variant ID and not the Application ID!
<br/><br/>If you have some time, be good to know how you got decoded the credentials :)
<br/><br/>Thanks
<br/>Mus
<br/><br/>--------------
<br/>Mustafa Musaji
<br/>Software Maintenance Engineer
<br/>Red Hat UK Ltd
<br/>200 Fowler Avenue, Farnborough Business Park, Farnborough, Hants GU14 7JP
<br/><br/>Registered in England and Wales under Company Registration No. 03798903
<br/>Directors: Michael Cunningham (USA), Matt Parson (USA), Charles Peters (USA), Michael O'Neill(Ireland)
<br/><br/>----- Matthias Wessendorf [via aerogear-dev] &lt;<a href="/user/SendEmail.jtp?type=node&node=8856&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:
<div class='shrinkable-quote'><br/>&gt; 
<br/>&gt; 
<br/>&gt; Hi Mus,
<br/>&gt; 
<br/>&gt; I have decoded your credentials, submitted by the UnifiedPush Console.
<br/>&gt; ec8260b5-5db2-443a-90db-64e49d147c21:4b09a8b7-88da-4bc6-922a-c65fd40045f3
<br/>&gt; 
<br/>&gt; 
<br/>&gt; however, your java code has this:
<br/>&gt; 
<br/>&gt; &nbsp; &nbsp;1. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .pushApplicationId(
<br/>&gt; &nbsp; &nbsp;&quot;73275d2d-5e83-4a87-8342-7a6cd15068f2&quot;)
<br/>&gt; &nbsp; &nbsp;2. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .masterSecret(
<br/>&gt; &nbsp; &nbsp;&quot;cd9aabfa-e163-4a52-8f18-4ca3de3b1001&quot;)
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; That does explain the 401
<br/>&gt; 
<br/>&gt; -Matthias
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; On Mon, Aug 11, 2014 at 4:42 PM, mmusaji &lt;<a href="/user/SendEmail.jtp?type=node&node=8856&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt; wrote:
<br/>&gt; 
<br/>&gt; &gt; I'm using JavaSender 0.8.0. This is from the internal DR3 release.
<br/>&gt; &gt;
<br/>&gt; &gt; Here's the POST captured from the console. NOTE: this works fine, but the
<br/>&gt; &gt; JavaSender fails so if you want me to capture anything from this side let
<br/>&gt; &gt; me
<br/>&gt; &gt; know how/what you need.
<br/>&gt; &gt;
<br/>&gt; &gt; Remote Address:10.33.1.143:8080
<br/>&gt; &gt; Request URL:<a href="http://10.33.1.143:8080/ag-push/rest/sender" target="_top" rel="nofollow" link="external">http://10.33.1.143:8080/ag-push/rest/sender</a><br/>&gt; &gt; Request Method:POST
<br/>&gt; &gt; Status Code:200 OK
<br/>&gt; &gt; Request Headersview source
<br/>&gt; &gt; Accept:application/json, text/plain, */*
<br/>&gt; &gt; Accept-Encoding:gzip,deflate,sdch
<br/>&gt; &gt; Accept-Language:en-US,en;q=0.8,en-GB;q=0.6
<br/>&gt; &gt; aerogear-sender:AeroGear UnifiedPush Console
<br/>&gt; &gt; Authorization:Basic
<br/>&gt; &gt;
<br/>&gt; &gt; ZWM4MjYwYjUtNWRiMi00NDNhLTkwZGItNjRlNDlkMTQ3YzIxOjRiMDlhOGI3LTg4ZGEtNGJjNi05MjJhLWM2NWZkNDAwNDVmMw==
<br/>&gt; &gt; Connection:keep-alive
<br/>&gt; &gt; Content-Length:46
<br/>&gt; &gt; Content-Type:application/json;charset=UTF-8
<br/>&gt; &gt; Host:10.33.1.143:8080
<br/>&gt; &gt; Origin:<a href="http://10.33.1.143:8080" target="_top" rel="nofollow" link="external">http://10.33.1.143:8080</a><br/>&gt; &gt; Referer:<a href="http://10.33.1.143:8080/ag-push/" target="_top" rel="nofollow" link="external">http://10.33.1.143:8080/ag-push/</a><br/>&gt; &gt; User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
<br/>&gt; &gt; Gecko) Chrome/36.0.1985.125 Safari/537.36
<br/>&gt; &gt; Request Payloadview source
<br/>&gt; &gt; {message:{sound:default, alert:Blah}}
<br/>&gt; &gt; message: {sound:default, alert:Blah}
<br/>&gt; &gt; Response Headersview source
<br/>&gt; &gt; Content-Length:13
<br/>&gt; &gt; Content-Type:application/json
<br/>&gt; &gt; Date:Mon, 11 Aug 2014 14:36:59 GMT
<br/>&gt; &gt; Server:Apache-Coyote/1.1
<br/>&gt; &gt;
<br/>&gt; &gt;
<br/>&gt; &gt;
<br/>&gt; &gt; --
<br/>&gt; &gt; View this message in context:
<br/>&gt; &gt; <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8833.html" target="_top" rel="nofollow" link="external">http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8833.html</a><br/>&gt; &gt; Sent from the aerogear-dev mailing list archive at Nabble.com.
<br/>&gt; &gt; _______________________________________________
<br/>&gt; &gt; aerogear-dev mailing list
<br/>&gt; &gt; <a href="/user/SendEmail.jtp?type=node&node=8856&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br/>&gt; &gt;
<br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; -- 
<br/>&gt; Matthias Wessendorf
<br/>&gt; 
<br/>&gt; blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_top" rel="nofollow" link="external">http://matthiaswessendorf.wordpress.com/</a><br/>&gt; sessions: <a href="http://www.slideshare.net/mwessendorf" target="_top" rel="nofollow" link="external">http://www.slideshare.net/mwessendorf</a><br/>&gt; twitter: <a href="http://twitter.com/mwessendorf" target="_top" rel="nofollow" link="external">http://twitter.com/mwessendorf</a><br/>&gt; 
<br/>&gt; _______________________________________________
<br/>&gt; aerogear-dev mailing list
<br/>&gt; <a href="/user/SendEmail.jtp?type=node&node=8856&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_top" rel="nofollow" link="external">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br/>&gt; 
<br/>&gt; 
<br/>&gt; 
<br/>&gt; _______________________________________________
<br/>&gt; If you reply to this email, your message will be added to the discussion below:
<br/>&gt; <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8840.html" target="_top" rel="nofollow" link="external">http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8840.html</a><br/>&gt; 
<br/>&gt; To unsubscribe from [aerogear-dev] JavaSender questions and a few other bits, visit <a href="" target="_top" rel="nofollow" link="external">

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-JavaSender-questions-and-a-few-other-bits-tp8827p8856.html">Re: [aerogear-dev] JavaSender questions and a few other bits</a><br/>
Sent from the <a href="http://aerogear-dev.1069024.n5.nabble.com/">aerogear-dev mailing list archive</a> at Nabble.com.<br/>