<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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">matzew@apache.org</a>> wrote:</div><br class="Apple-interchange-newline"><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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="gmail_extra"><br class="Apple-interchange-newline"><br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 5:03 PM, Miguel Lemos<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>></span><span class="Apple-converted-space"> </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 class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 3:59 PM, Farah Juma<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:fjuma@redhat.com" target="_blank">fjuma@redhat.com</a>></span><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </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 class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span class="Apple-converted-space"> </span>><br>> wrote:<br>><br>><br>><br>><br>><br>><br>> On Mon, Feb 24, 2014 at 4:27 PM, Miguel Lemos <<span class="Apple-converted-space"> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="https://aerogear-metalpush.rhcloud.com/rest/sender" target="_blank">https://aerogear-metalpush.rhcloud.com/rest/sender</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>> sessions:<span class="Apple-converted-space"> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>> twitter:<span class="Apple-converted-space"> </span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>><br>> _______________________________________________<br>> aerogear-dev mailing list<br>><span class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>> sessions:<span class="Apple-converted-space"> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>> twitter:<span class="Apple-converted-space"> </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 class="Apple-converted-space"> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>> sessions:<span class="Apple-converted-space"> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>> twitter:<span class="Apple-converted-space"> </span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>><br>> _______________________________________________<br>> aerogear-dev mailing list<br>><span class="Apple-converted-space"> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>><span class="Apple-converted-space"> </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">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 class="Apple-converted-space"> </span><br>Matthias Wessendorf<span class="Apple-converted-space"> </span><br><br>blog:<span class="Apple-converted-space"> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions:<span class="Apple-converted-space"> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter:<span class="Apple-converted-space"> </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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote></div><br></div></body></html>