[2.2.2 java] Heroku compile timeout for Java Todo list tutorial

192 views
Skip to first unread message

Atif Mansoor

unread,
Apr 9, 2014, 1:29:35 PM4/9/14
to play-fr...@googlegroups.com
Hi, 
I was following (as exactly as I could) this tutorial: http://www.playframework.com/documentation/2.2.x/JavaTodoList 
When it came time to push to Heroku (git push heroku master), I would get the compile timeout error like so:
! Timed out compiling Play 2.x - Java app (15 minutes)
! See https://devcenter.heroku.com/articles/slug-compiler#time-limit
 To g...@heroku.com:frozen-headland-4573.git 
! [remote rejected] master -> master (pre-receive hook declined)

So I talked to Heroku support, and they said it's a known so they extended the compile timeout from 15 minutes to 30 minutes.  After that, I tried 3 times, but that didn't help either:
 
! Timed out compiling Play 2.x - Java app (30 minutes)
! See https://devcenter.heroku.com/articles/slug-compiler#time-limit
To g...@heroku.com:frozen-headland-4573.git
! [remote rejected] master -> master (pre-receive hook declined)

I talked to Heroku support again, and they said they are unable to extend the compile timeout further.   They suggested to remove dependencies to improve compile time. 

However, the only extra dependency I added was for PostgresSql (which was in the tutorial), and I am doubtful that will help.

What are my options at this point if I want to continue with Heroku?
What's a good alternative to Heroku in terms of a cloud service provider?  Although Heroku's process is obviously flawed, I liked the idea of a 1-step deployment (just doing a git push to the Heroku server).

Also, should there be a message in the tutorial addressing this issue?  I did a quick search on google/stackOverflow, and this compile timeout issue seems common enough.

Thanks,
Atif

Michael Slinn

unread,
Apr 9, 2014, 2:01:48 PM4/9/14
to play-fr...@googlegroups.com
I would rate Heroku's Play support as weak.

All you can do is keep trying. I have found that sometimes compiles whiz by, sometimes they stall. I wrote some bash scripts to deploy to Heroku, and to retry as required until they succeed. Not sure if the competition (Cloudbees, etc.) has this problem.

Michael Lajlev

unread,
Apr 9, 2014, 4:01:03 PM4/9/14
to play-fr...@googlegroups.com

Quentin ADAM (waxzce) - Clever Cloud

unread,
Apr 9, 2014, 5:42:28 PM4/9/14
to play-fr...@googlegroups.com
Hi

Disclosure : I'm the CEO of Clever Cloud

But i'm also a play! developer and scala developer. So Clever Cloud is  a PaaS with better performances than heroku, some features like auto scalability and many others cool things :-) (don't want to be commercial). What do you need to know is : there is a lot of play apps in production on top of clever cloud, and part of clever cloud is build with play!

We build this too : http://playframework-cloud.com/

so give a try to http://www.clever-cloud.com/

So, sorry if it was too commercial, but you ask for other providers... so...

Have a good day

Best Regards,

Quentin ADAM
@waxzce

Atif Mansoor

unread,
Apr 21, 2014, 3:52:47 PM4/21/14
to play-fr...@googlegroups.com
Thanks for the replies everyone. To follow-up, after I complained, a Heroku engineer fixed the issue and now builds take like 6 minutes now.
Thanks for the info Quentin; I'll keep that in mind in the future, but right now I need a free service while I'm building out and testing the app.


--
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/JKuNSwfOiJw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages