<div dir="ltr">







<p class="">Update: I found out that it works when I use normal scotty, but not when I use scottyTLS. When I use scottyTLS, it prints "starting up", but doesn't get to "getting here". No error messages<br></p><img src="cid:ii_14ad6f73126b5afd" alt="Inline image 1" width="561" height="181"><p class=""><br></p><p class="">@Konstantine: Just learned how to do Docker - very cool! Here's my image - it's an ubuntu 14.04. <a href="https://registry.hub.docker.com/u/sportanova/starme/">https://registry.hub.docker.com/u/sportanova/starme/</a></p><p class="">To run, do these commands:</p><p class="">source /root/.profile</p><p class="">







</p><p class="">/starme/StarMe/dist/dist-sandbox-2c59b82/build/starz/starz "test.key" "test.cert"</p><p class=""><br></p><p class="">@Brandon: I tried running     sudo strace <executable>, but I got the error:</p><p class="">trace: test_ptrace_setoptions_followfork: PTRACE_TRACEME doesn't work: Permission denied</p><p class="">








</p><p class="">strace: test_ptrace_setoptions_followfork: unexpected exit status 1</p><p class=""><br></p>







<p class="">Thanks Konstantine +  Brandon!<br></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 10, 2015 at 4:28 AM, Konstantine Rybnikov <span dir="ltr"><<a href="mailto:k-bx@k-bx.com" target="_blank">k-bx@k-bx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Also, just for making this super-clear to reproduce, I would advice to express a problem as a Dockerfile that lets you reproduce the problem in a one command.<br><br></div>Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Jan 10, 2015 at 4:02 AM, Stephen Portanova <span dir="ltr"><<a href="mailto:sportano@gmail.com" target="_blank">sportano@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><span style="font-size:13px">I'm having trouble running my Scotty binary on amazon web services...</span><div style="font-size:13px"><br></div><div style="font-size:13px">I'm using Ubuntu 15.04, this gist (<a href="https://gist.github.com/yantonov/10083524" target="_blank">https://gist.github.com/yantonov/10083524</a>) to install the haskell platform dependencies, and then I do a git pull to my repo and build my binary.</div><div style="font-size:13px"><br></div><div style="font-size:13px">Everything compiles, but when I do ./cabal-sandbox/bin/app or <p>./dist/build/app/app, nothing happens. No error messages or anything - the terminal just goes to the next line and hangs (on my Mac development machine the server starts up fine and prints a startup message).</p><p>Any ideas or experience with deploying Scotty / Haskell apps would be really appreciated, thanks!</p></div><span><font color="#888888"><div><br></div>- Stephen
</font></span></div>
<br></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Stephen Portanova<div>(480) 495-2634</div></div></div>
</div>