When I run my Play app (Play v2.4.3) on my laptop, everything is fine, but on a remote server, I get this cryptic message and the play-authenticate auth does not work:
2015-09-15 15:18:59 +0000 [INFO] from play.api.Play in main - Application started (Prod)
2015-09-15 15:19:00 +0000 [INFO] from play.core.server.NettyServer in main - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
2015-09-15 15:19:00 +0000 [INFO] from play.core.server.NettyServer in main - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
2015-09-15 15:19:09 +0000 [INFO] from be.objectify.deadbolt.java.TemplateFailureListenerProvider in application-akka.actor.default-dispatcher-2 - No custom TemplateFailureListener found, falling back to no-op implementation
2015-09-15 15:19:09 +0000 [INFO] from be.objectify.deadbolt.java.ViewSupport in application-akka.actor.default-dispatcher-2 - Default timeout period for blocking views is [130000]ms
I tried changing my deadbolt.conf file to this, but it didn't make any difference:
deadbolt {
java {
blocking = true # JPA doesn't support non-blocking
cache-user = true # For the rest of the request
handler = auth.MyDeadboltHandler
view-timeout=130000 # Default 1000
blocking-timeout=2000
}
}
When I run my Play app (Play v2.4.3) on my laptop, everything is fine, but on a remote server, I get this cryptic message and the play-authenticate auth does not work:
I tried changing my deadbolt.conf file to this, but it didn't make any difference:
My build.sbt file has these two lines: