Hello,
we would like to deploy Unified Push Server in our organization, and we are testing it with OpenShift before creating our own instance. We are using the REST API to register and send push notifications. Both work, but after sending the 1st notification, the server application is completely unusable and I keep receiving 401 messages. I have tried to restart the application, but nothing changes. I have deleted/created a new application, but I get the same issue. The registration and sending keeps working well with the REST API, even after the server gets blocked.Screen_Shot_2016-02-12_at_13.png The application is: https://aerogear-unog.rhcloud.com/ The variant is for Android. I have read in the forum that the 401 error could be linked to asynch server times, but we are not using our own server, we are just testing it on OpenShift. Thanks for your help. Fausto |
This post was updated on .
It really looks a serious bug in the UPS though.
To replicate the issue, create a UPS application using OpenShift and an Android variant (haven't tried with iOS, it might have the same issue). Register a device and send the following POST with a REST client. It will completely block the server UI as shown in the screenshot (my previous message): URL: https://aerogear-unog.rhcloud.com/ag-push/rest/sender BASIC AUTH: xxxPushApplicationID:xxxMasterSecret HEADERS: Accept: application/json Content-Type: application/json BODY: { "message": { "alert": "HELLO!", "sound": "default" } } Please any help? |
Hello Fausto, sorry for the late response. Did you create the UPS as a medium sized gear? Thanks, Matthias On Tue, Feb 16, 2016 at 9:23 AM, ffraticelli <[hidden email]> wrote: It really looks a serious bug in the UPS though. Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Hi Mathias,
thank you for your answer. When using the OpenShift UI to create the app, it only allows small gear, no way I can set medium. In our own instance created using Docker the yaml file doesn't have a gear-size parameter. Here's the yaml file, what/where should I include the gear-size param? unifiedpushDB: image: mysql:5.5 environment: - MYSQL_USER=TTT - MYSQL_PASSWORD=ZZZ - MYSQL_DATABASE=XXX - MYSQL_ROOT_PASSWORD=supersecret ports: - 4306:3306 keycloakDB: image: mysql:5.5 environment: - MYSQL_USER=YYY - MYSQL_PASSWORD=XXX - MYSQL_DATABASE=keycloak - MYSQL_ROOT_PASSWORD=supersecret ports: - 4406:3306 unifiedpushserver: image: aerogear/unifiedpush-wildfly-dev links: - unifiedpushDB:unifiedpush - keycloakDB:keycloak ports: - 8443:8443 Thanks. |
On Wednesday, 24 February 2016, ffraticelli <[hidden email]> wrote: Hi Mathias, Unfortunately the 1.1.x version requires medium :-(
-- Sent from Gmail Mobile _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
btw. we also support docker, to perfom some tests on your end: On Wed, Feb 24, 2016 at 3:19 PM, Matthias Wessendorf <[hidden email]> wrote:
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Thank you. Where do I set the gear-size to medium with Docker? I don't find any indication in the Docker documentation you sent.
Thanks. |
I meant local docker - not on openshift On Wed, Feb 24, 2016 at 4:13 PM, ffraticelli <[hidden email]> wrote: Thank you. Where do I set the gear-size to medium with Docker? I don't find Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
This post was updated on .
Then, if I understand well, the gear-size parameter is only used by OpenShift, right?
But than, this parameter cannot the cause of the problem, because our local UPS instance (on Docker) has exactly the same issue. I replicated the issue following exactly the steps described earlier. |
On Wed, Feb 24, 2016 at 8:54 PM, ffraticelli <[hidden email]> wrote: Then, if I understand well, the gear-size parameter is only used by yes
Really? That's strange - never heard of that issue before. You ran both DB docker images and the server? and get the issue ?
Ok, can you file a bug on our AGPUSH JIRA instance, with stack-trace?
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Can you also add log details, from the browser console for all the 401 requests ? Thanks! On Wed, Feb 24, 2016 at 9:21 PM, Matthias Wessendorf <[hidden email]> wrote:
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users |
Free forum by Nabble | Edit this page |