[aerogear-dev] Problem with Push notification chrome-app
Miguel Lemos
miguel21op at gmail.com
Mon Mar 17 07:53:33 EDT 2014
What url are you using? Did you change the "context", etc. to your own / platform specific parameters?
Sorry for asking ;-)
Enviado do meu iPhone
No dia 17/03/2014, às 11:45, oxsav <vmfamaral at gmail.com> escreveu:
> Ok I did a little change. Loading the "aerogear.unifiedpush.js" file and it
> recognized the "UnifiedPushClient" . But now I have another problem when I
> try to execute this command:
>
> */curl -3 -u "{pushApplicationID}:{masterSecret}"
> -v -H "Accept: application/json" -H "Content-type: application/json"
> -X POST -d '{"message": {"alert":"Push Notification"}}'
> https://SERVER:PORT/CONTEXT/rest/sender/*
>
> with all fields full filled correctly it returns me in the response:
> /* upload completely sent off: 42out of 42 bytes
> < HTTP/1.1 401 Unauthorized
> < Connection: keep-alive
> * Authentication problem. Ignoring this.
> < WWW-Authenticate: Basic realm="AeroGear UnifiedPush Server"
> < X-Powered-By: Undertow 1
> < Server: Wildfly 8
> < Content-Type: application/json
> < Content-Length: 20
> < Date: Mon, 17 Mar 2014 11:28:33 GMT*
> /
>
>
> any idea what can be?
>
>
>
>
> --
> View this message in context: http://aerogear-dev.1069024.n5.nabble.com/aerogear-dev-Problem-with-Push-notification-chrome-app-tp6817p6841.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
More information about the aerogear-dev
mailing list