Unified push server development environment setup
by mo
Hi,
I'm trying to run the unified push server in a development environment to
troubleshoot and understand it better. I'm wondering if there is any
documentation available to assist me with setting up development environment
for it. I've looked though documents under "Contributing to AeroGear", but
I am in need of a more detailed guide. I'd like to get to a point where I
can run unified push, break point, and inspect variables, and so on.
So far I've managed to run 'mvn test' successfully on the unified push
server source code. I use Eclipse, so I wanted to import the project. I
get quite a lot of errors in doing so.
I am troubleshooting version 1.0.2. We use OpenShift to deploy the aerogear
server.
I appreciate any help. Thank you.
Michi Oshima
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-developme...
Sent from the aerogear-users mailing list archive at Nabble.com.
8 years, 1 month
Aerogear Unified Push registration through a server backend
by Alex Ballesté
Hi, I'm developing a mobile app for android and ios for our University.
It will use AeroGear Unified Push Server to send notifications to
students when a new announcement is sent in our LMS.
We are developing the app with ionic framework and we are using the
register and unregister process through a custom backend service instead
of direct from device.
We use the cordova plugin and we call registers and unregister JS
methods, but we don't point to the push server endpoint, but backend
server instead. Once the Backend server gets the requests it creates a
new request to Push server providing variantSecret and variantID; the
response received is sent back to the app.
We would like to use this flow for security reasons. We want to avoid
that the users do their own apps and use those values to register and
supply alias to get users notifications. So backend handles the security
(tokens, deviceids, usernames, ... ) and if everything is ok then
proxies then backend generates a new request fullfilling alias and real
authentication parameters and the received parameters from app. We
achieved the registation and unregistration, but when unregistration
process is done if we do a new re-registration then we got a success
response, but then notification didn't arrive.
Has anybody did something similar to this approximation? Do you have any
advise or trick that would be useful for us?
Thanks in advance
Alex
--
Alexandre Ballesté Crevillén alexandre.balleste at udl.cat
====================
Universitat de Lleida
Àrea de sistemes d'Informació i Comunicacions
Analista/Programador
University of Lleida
Information and Communication Systems Service
Tlf: +34 973 702148
Fax: +34 973 702130
=====================
Avís legal/Aviso legal/Avertiment legal/Legal notice
<http://www.imatge.udl.cat/avis_legal_lopd.html>
9 years, 6 months
IllegalArgumentException: argument cannot be null
by eduyayo
Hi,
theese last days I´ve found I cannot send push notificactions to GCM they
always fail and I donñt have a clue about the null argument that is
failing...
Any idea on this? Stacktrace follows:
2015-04-30 12:00:37,504 SEVERE
[org.jboss.aerogear.unifiedpush.message.sender.GCMPushNotificationSender]
(EJB default - 1) Error sending payload to GCM server:
java.lang.IllegalArgumentException: argument cannot be null
at com.google.android.gcm.server.Sender.nonNull(Sender.java:553)
[gcm-server-1.0.2.jar:]
at com.google.android.gcm.server.Sender.getString(Sender.java:534)
[gcm-server-1.0.2.jar:]
at com.google.android.gcm.server.Sender.sendNoRetry(Sender.java:365)
[gcm-server-1.0.2.jar:]
at com.google.android.gcm.server.Sender.send(Sender.java:261)
[gcm-server-1.0.2.jar:]
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/IllegalArgumentException-argu...
Sent from the aerogear-users mailing list archive at Nabble.com.
9 years, 6 months
UPS with an external Keycloak server
by Rodrigo Del Canto
Hello!
I would like to know... Is it possible to run a UPS war using a custom
Keycloak server in Wildfly ??
I have tried to deploy the *unifiedpush-server-wildfly.war *on a Wildfly
8.2 with Keycloak on it, but I'm getting some dependencies errors saying
that *unifiedpush-auth-server.war *is required and not installed, can I
change this? I would like to make the configurations I need to the Keycloak
instance I'm running already.
Thanks a lot!
Rodrigo
9 years, 6 months
How to configure logging on OpenShift?
by mo
Hi,
I'm trying to get more log messages out of AeroGear Unified Server. We used
"AeroGear Unified Push Server 1.0.2 on JBoss" cartridge to host the server
on OpenShift. How should I go about customizing logging in this
environment?
I've naively added a "./.openshift/config/standalone.xml" (with custom
logging) to my template repository. It did not get deployed.
Thank you,
Michi Oshima
P.S.: I'm currently setting up my development environment by following the
instructions provided in another thread. Summers, thank you very much for
the info.
--
View this message in context: http://aerogear-users.1116366.n5.nabble.com/How-to-configure-logging-on-O...
Sent from the aerogear-users mailing list archive at Nabble.com.
9 years, 6 months