<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>OpenShift maybe likes to sleep far too much... &nbsp;:-(</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><br></div><div>This should be a top priority, because for production such situation shouldn't never happen.</div><div><br></div><div>Miguel<br><br>Enviado do meu iPhone</div><div><br>No dia 24/02/2014, às 21:38, Burr Sutter &lt;<a href="mailto:bsutter@redhat.com">bsutter@redhat.com</a>&gt; escreveu:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1">OpenShift Online will "sleep" your gears after N hours of non-use. &nbsp;I am not sure if that is 24 or 48 hours. &nbsp;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 &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; 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">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>&gt;</span><span class="Apple-converted-space">&nbsp;</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>&nbsp;</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">&nbsp;</span><span dir="ltr">&lt;<a href="mailto:fjuma@redhat.com" target="_blank">fjuma@redhat.com</a>&gt;</span><span class="Apple-converted-space">&nbsp;</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 &lt;APP_NAME&gt; -c mysql<br><br>Farah<br><div><br>----- Original Message -----<br>&gt; From: "Matthias Wessendorf" &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;<br>&gt; To: "AeroGear Developer Mailing List" &lt;<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a>&gt;<br>&gt; Sent: Monday, February 24, 2014 10:52:19 AM<br>&gt; Subject: Re: [aerogear-dev] Issue<br>&gt;<br>&gt; Hey Miguel,<br>&gt;<br>&gt;<br>&gt; did you reboot the instance ?<br>&gt;<br>&gt; I just got back a 200 status-code, using your CURL:<br>&gt;<br>&gt;<br>&gt; curl -3 -u "00a21ce3-a7d9-4c8c-b583- 9f0210a634e5:941186b3-ec6a-<br>&gt; 4f48-b26b-2d061eb23d9b" -v -H "Accept: application/json" -H "Content-type:<br>&gt; application/json" -X POST -d '{"message": {"alert":"This", "aviso":"and<br>&gt; that", "badge":1}}'<span class="Apple-converted-space">&nbsp;</span><a href="https://aerogear-metalpush.rhcloud.com/rest/sender" target="_blank">https://aerogear-metalpush.rhcloud.com/rest/sender</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 4:50 PM, Matthias Wessendorf &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span class="Apple-converted-space">&nbsp;</span>&gt;<br>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; It asks for a password here<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 4:46 PM, Miguel Lemos &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space">&nbsp;</span>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; I just entered in Openshift with my normal credentials; no problem with the<br>&gt; login, but i get a blank screen here when I'm redirected into here:<br>&gt;<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://aerogear-metalpush.rhcloud.com/phpmyadmin/" target="_blank">https://aerogear-metalpush.rhcloud.com/phpmyadmin/</a><br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 3:42 PM, Matthias Wessendorf &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span class="Apple-converted-space">&nbsp;</span>&gt;<br>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; I just tested your CURL against my hosted instance - worked fine (sure I<br>&gt; changed the credentials)<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 4:36 PM, Miguel Lemos &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space">&nbsp;</span>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; Something's wrong because I can't even login on the console with my<br>&gt; credentials...<br>&gt; I haven't change anything. i also have my PHP code that was working and now<br>&gt; throws the same error...<br>&gt;<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://aerogear-metalpush.rhcloud.com/#/login" target="_blank">https://aerogear-metalpush.rhcloud.com/#/login</a><br>&gt;<br>&gt;<br>&gt; I bet there is some sort of error on your OpenShift instance - the cloud<br>&gt; offerings.<br>&gt;<br>&gt; Can you reboot your instance, via the OpenShift console ?<br>&gt;<br>&gt; like here - the red icon (-&gt;<span class="Apple-converted-space">&nbsp;</span><a href="http://people.apache.org/~matzew/restart_os.png" target="_blank">http://people.apache.org/~matzew/restart_os.png</a><br>&gt; )<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; It sounds like that your account has an issue. I am really sorry for that<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 3:32 PM, Sebastien Blanc &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span class="Apple-converted-space">&nbsp;</span>&gt;<br>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 4:27 PM, Miguel Lemos &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space">&nbsp;</span>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; From the console:<br>&gt;<br>&gt; curl -3 -u<br>&gt; "00a21ce3-a7d9-4c8c-b583-9f0210a634e5:941186b3-ec6a-4f48-b26b-2d061eb23d9b"<br>&gt; -v -H "Accept: application/json" -H "Content-type: application/json" -X POST<br>&gt; -d '{"message": {"alert":"This", "aviso":"and that", "badge":1}}'<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://aerogear-metalpush.rhcloud.com/rest/sender" target="_blank">https://aerogear-metalpush.rhcloud.com/rest/sender</a><br>&gt;<br>&gt; Well, that looks correct and since you are using your same backend (<br></div>&gt;<span class="Apple-converted-space">&nbsp;</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">&nbsp;</span>) nothing should have<br><div>&gt; changed ...<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 3:24 PM, Sebastien Blanc &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span class="Apple-converted-space">&nbsp;</span>&gt;<br>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; Hi Miguel !<br>&gt; Can you send us more details, like the request you are sending ?<br>&gt; Seb<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Mon, Feb 24, 2014 at 4:19 PM, Miguel Lemos &lt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span class="Apple-converted-space">&nbsp;</span>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; Have you changed anything in the server API? Using the same code I've been<br>&gt; using with success the last days now it returns a " The request sent by the<br>&gt; client was syntactically incorrect ()"<br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Matthias Wessendorf<br>&gt;<br>&gt; blog:<span class="Apple-converted-space">&nbsp;</span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>&gt; sessions:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>&gt; twitter:<span class="Apple-converted-space">&nbsp;</span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Matthias Wessendorf<br>&gt;<br>&gt; blog:<span class="Apple-converted-space">&nbsp;</span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>&gt; sessions:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>&gt; twitter:<span class="Apple-converted-space">&nbsp;</span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Matthias Wessendorf<br>&gt;<br>&gt; blog:<span class="Apple-converted-space">&nbsp;</span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>&gt; sessions:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>&gt; twitter:<span class="Apple-converted-space">&nbsp;</span><a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</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">&nbsp;</span><br>Matthias Wessendorf<span class="Apple-converted-space">&nbsp;</span><br><br>blog:<span class="Apple-converted-space">&nbsp;</span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions:<span class="Apple-converted-space">&nbsp;</span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter:<span class="Apple-converted-space">&nbsp;</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></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">aerogear-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></span></div></blockquote></body></html>