<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 26, 2014 at 1:53 PM, Miguel Lemos <span dir="ltr"><<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>OpenShift maybe likes to sleep far too much... :-(</div>
<div><br></div><div>I sent a test push today morning, but a couple of hours later the pushes were lost because the server decided to sleep again...</div></div></blockquote><div><br></div><div>Please get in touch with the OpenShift folks if your account has problems (that's outside of our scope):</div>
<div><a href="https://www.openshift.com/support">https://www.openshift.com/support</a><br></div><div><br></div><div>recommendation: share log-files etc. The more information you provide the easier to find the real problem</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div><br></div><div>This should be a top priority, because for production such situation shouldn't never happen.</div>
</div></blockquote><div><br></div><div>BTW. you can also run the UnifiedPush Server in a WildFly server locally ;-)</div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server#getting-started-with-the-server">https://github.com/aerogear/aerogear-unifiedpush-server#getting-started-with-the-server</a><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div><br></div><div>Miguel<br>
<br>Enviado do meu iPhone</div><div><br>No dia 24/02/2014, às 21:38, Burr Sutter <<a href="mailto:bsutter@redhat.com" target="_blank">bsutter@redhat.com</a>> escreveu:<br><br></div><div><div class="h5"><blockquote type="cite">
<div>OpenShift Online will "sleep" your gears after N hours of non-use. I am not sure if that is 24 or 48 hours. In theory, as soon as the 2nd hit comes in (after sleep) it should be back to life - the 1st hit is what causes it to come back to life but it often errors out.<div>
<br></div><div>In any case, I often use the Restart feature that is on the OpenShift console to get everything back up and running.</div><div><br></div><div><br><div><div>On Feb 24, 2014, at 11:07 AM, Matthias Wessendorf <<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div class="gmail_extra"><br><br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 5:03 PM, Miguel Lemos<span> </span><span dir="ltr"><<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>></span><span> </span>wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">After the reset it's running again. This is indeed a very annoying situation that should never happen...<br>
</div></blockquote><div><br></div><div>Feel free to share your log, we can pass them to the OpenShift guys, to make sure they are aware of that issue.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 3:59 PM, Farah Juma<span> </span><span dir="ltr"><<a href="mailto:fjuma@redhat.com" target="_blank">fjuma@redhat.com</a>></span><span> </span>wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Miguel,<br><br>Just to make sure your MySQL cartridge is still up, try running the following command:<br>
<br>rhc cartridge status -a <APP_NAME> -c mysql<br><br>Farah<br><div><br>----- Original Message -----<br>> From: "Matthias Wessendorf" <<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>><br>
> To: "AeroGear Developer Mailing List" <<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>><br>> Sent: Monday, February 24, 2014 10:52:19 AM<br>> Subject: Re: [aerogear-dev] Issue<br>
><br>> Hey Miguel,<br>><br>><br>> did you reboot the instance ?<br>><br>> I just got back a 200 status-code, using your CURL:<br>><br>><br>> curl -3 -u "00a21ce3-a7d9-4c8c-b583- 9f0210a634e5:941186b3-ec6a-<br>
> 4f48-b26b-2d061eb23d9b" -v -H "Accept: application/json" -H "Content-type:<br>> application/json" -X POST -d '{"message": {"alert":"This", "aviso":"and<br>
> that", "badge":1}}'<span> </span><a href="https://aerogear-metalpush.rhcloud.com/rest/sender" target="_blank">https://aerogear-metalpush.rhcloud.com/rest/sender</a><br>><br>><br>><br>><br>
><br>><br>><br>><br>><br>> On Mon, Feb 24, 2014 at 4:50 PM, Matthias Wessendorf <<span> </span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span> </span>><br>> wrote:<br>
><br>><br>><br>> It asks for a password here<br>><br>><br>><br>> On Mon, Feb 24, 2014 at 4:46 PM, Miguel Lemos <<span> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </span>> wrote:<br>
><br>><br>><br>> I just entered in Openshift with my normal credentials; no problem with the<br>> login, but i get a blank screen here when I'm redirected into here:<br>><br>><span> </span><a href="https://aerogear-metalpush.rhcloud.com/phpmyadmin/" target="_blank">https://aerogear-metalpush.rhcloud.com/phpmyadmin/</a><br>
><br>><br>> On Mon, Feb 24, 2014 at 3:42 PM, Matthias Wessendorf <<span> </span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span> </span>><br>> wrote:<br>><br>><br>><br>
> I just tested your CURL against my hosted instance - worked fine (sure I<br>> changed the credentials)<br>><br>><br>><br>> On Mon, Feb 24, 2014 at 4:36 PM, Miguel Lemos <<span> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </span>> wrote:<br>
><br>><br>><br>> Something's wrong because I can't even login on the console with my<br>> credentials...<br>> I haven't change anything. i also have my PHP code that was working and now<br>> throws the same error...<br>
><br>><span> </span><a href="https://aerogear-metalpush.rhcloud.com/#/login" target="_blank">https://aerogear-metalpush.rhcloud.com/#/login</a><br>><br>><br>> I bet there is some sort of error on your OpenShift instance - the cloud<br>
> offerings.<br>><br>> Can you reboot your instance, via the OpenShift console ?<br>><br>> like here - the red icon (-><span> </span><a href="http://people.apache.org/~matzew/restart_os.png" target="_blank">http://people.apache.org/~matzew/restart_os.png</a><br>
> )<br>><br>><br>><br>><br>> It sounds like that your account has an issue. I am really sorry for that<br>><br>><br>><br>><br>><br>><br>><br>><br>><br>><br>> On Mon, Feb 24, 2014 at 3:32 PM, Sebastien Blanc <<span> </span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span> </span>><br>
> wrote:<br>><br>><br>><br>><br>><br>><br>> On Mon, Feb 24, 2014 at 4:27 PM, Miguel Lemos <<span> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </span>> wrote:<br>
><br>><br>><br>> From the console:<br>><br>> curl -3 -u<br>> "00a21ce3-a7d9-4c8c-b583-9f0210a634e5:941186b3-ec6a-4f48-b26b-2d061eb23d9b"<br>> -v -H "Accept: application/json" -H "Content-type: application/json" -X POST<br>
> -d '{"message": {"alert":"This", "aviso":"and that", "badge":1}}'<br>><span> </span><a href="https://aerogear-metalpush.rhcloud.com/rest/sender" target="_blank">https://aerogear-metalpush.rhcloud.com/rest/sender</a><br>
><br>> Well, that looks correct and since you are using your same backend (<br></div>><span> </span><a href="https://aerogear-metalpush.rhcloud.com/rest/sender" target="_blank">https://aerogear-metalpush.rhcloud.com/rest/sender</a><span> </span>) nothing should have<br>
<div>> changed ...<br>><br>><br>><br>><br>><br>><br>><br>> On Mon, Feb 24, 2014 at 3:24 PM, Sebastien Blanc <<span> </span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span> </span>><br>
> wrote:<br>><br>><br>><br>> Hi Miguel !<br>> Can you send us more details, like the request you are sending ?<br>> Seb<br>><br>><br>><br>> On Mon, Feb 24, 2014 at 4:19 PM, Miguel Lemos <<span> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </span>> wrote:<br>
><br>><br>><br>> Have you changed anything in the server API? Using the same code I've been<br>> using with success the last days now it returns a " The request sent by the<br>> client was syntactically incorrect ()"<br>
><br>> _______________________________________________<br>> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>><br>> _______________________________________________<br>> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>><br>><br>> _______________________________________________<br>
> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>><br>> _______________________________________________<br>> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>><br>><br>> _______________________________________________<br>
> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>><br>><br>> --<br>> Matthias Wessendorf<br>><br>> blog:<span> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>> sessions:<span> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
> twitter:<span> </span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>><br>> _______________________________________________<br>> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>><br>><br>> _______________________________________________<br>
> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
><br>><br>><br>> --<br>> Matthias Wessendorf<br>><br>> blog:<span> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>> sessions:<span> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
> twitter:<span> </span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>><br>><br>><br>> --<br>> Matthias Wessendorf<br>><br>> blog:<span> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
> sessions:<span> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>> twitter:<span> </span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
><br>> _______________________________________________<br>> aerogear-dev mailing list<br>><span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span> </span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></blockquote></div><br></div></div></div><br>_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>--<span> </span><br>Matthias Wessendorf<span> </span><br>
<br>blog:<span> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions:<span> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter:<span> </span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">aerogear-dev mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="mailto:aerogear-dev@lists.jboss.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">aerogear-dev@lists.jboss.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote>
</div><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>aerogear-dev mailing list</span><br><span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a></span><br>
<span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></span></div></blockquote></div></div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>