<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">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>&gt;</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&#39;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&#39;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 &lt;<a href="mailto:bsutter@redhat.com" target="_blank">bsutter@redhat.com</a>&gt; escreveu:<br><br></div><div><div class="h5"><blockquote type="cite">
<div>OpenShift Online will &quot;sleep&quot; 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 &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt; 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">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>&gt;</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&#39;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">&lt;<a href="mailto:fjuma@redhat.com" target="_blank">fjuma@redhat.com</a>&gt;</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 &lt;APP_NAME&gt; -c mysql<br><br>Farah<br><div><br>----- Original Message -----<br>&gt; From: &quot;Matthias Wessendorf&quot; &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;<br>
&gt; To: &quot;AeroGear Developer Mailing List&quot; &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 &quot;00a21ce3-a7d9-4c8c-b583- 9f0210a634e5:941186b3-ec6a-<br>
&gt; 4f48-b26b-2d061eb23d9b&quot; -v -H &quot;Accept: application/json&quot; -H &quot;Content-type:<br>&gt; application/json&quot; -X POST -d &#39;{&quot;message&quot;: {&quot;alert&quot;:&quot;This&quot;, &quot;aviso&quot;:&quot;and<br>
&gt; that&quot;, &quot;badge&quot;:1}}&#39;<span> </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> </span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span> </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> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </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&#39;m redirected into here:<br>&gt;<br>&gt;<span> </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> </span><a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a><span> </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> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </span>&gt; wrote:<br>
&gt;<br>&gt;<br>&gt;<br>&gt; Something&#39;s wrong because I can&#39;t even login on the console with my<br>&gt; credentials...<br>&gt; I haven&#39;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> </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> </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> </span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span> </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> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </span>&gt; wrote:<br>
&gt;<br>&gt;<br>&gt;<br>&gt; From the console:<br>&gt;<br>&gt; curl -3 -u<br>&gt; &quot;00a21ce3-a7d9-4c8c-b583-9f0210a634e5:941186b3-ec6a-4f48-b26b-2d061eb23d9b&quot;<br>&gt; -v -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X POST<br>
&gt; -d &#39;{&quot;message&quot;: {&quot;alert&quot;:&quot;This&quot;, &quot;aviso&quot;:&quot;and that&quot;, &quot;badge&quot;:1}}&#39;<br>&gt;<span> </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> </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>&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> </span><a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a><span> </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> </span><a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a><span> </span>&gt; wrote:<br>
&gt;<br>&gt;<br>&gt;<br>&gt; Have you changed anything in the server API? Using the same code I&#39;ve been<br>&gt; using with success the last days now it returns a &quot; The request sent by the<br>&gt; client was syntactically incorrect ()&quot;<br>
&gt;<br>&gt; _______________________________________________<br>&gt; aerogear-dev mailing list<br>&gt;<span> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span> </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> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt;<span> </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> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span> </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> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt;<span> </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> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span> </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> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>&gt; sessions:<span> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter:<span> </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> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt;<span> </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> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<span> </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> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>&gt; sessions:<span> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
&gt; twitter:<span> </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> </span><a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
&gt; sessions:<span> </span><a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>&gt; twitter:<span> </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> </span><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>&gt;<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>