valters / play-acme-protocol Goto Github PK
View Code? Open in Web Editor NEWInstantly set up Let's Encrypt HTTPS certificate for your PlayFramework app and start serving HTTPS.
License: Apache License 2.0
Instantly set up Let's Encrypt HTTPS certificate for your PlayFramework app and start serving HTTPS.
License: Apache License 2.0
Hi, I'm trying to use this project but in the sample (and in my project with the dependency) throws this exception:
java.util.NoSuchElementException: key not found: new-reg at scala.collection.MapLike$class.default(MapLike.scala:228) at scala.collection.AbstractMap.default(Map.scala:59) at scala.collection.MapLike$class.apply(MapLike.scala:141) at scala.collection.AbstractMap.apply(Map.scala:59) at io.github.valters.acme.AcmeProtocol.package$Directory.get(AcmeProtocol.scala:746) at io.github.valters.acme.AcmeProtocol.package$AcmeServer.<init>(AcmeProtocol.scala:755) at io.github.valters.acme.AcmeController$$anonfun$io$github$valters$acme$AcmeController$$cer $1.apply(AcmeController.scala:166) at io.github.valters.acme.AcmeController$$anonfun$io$github$valters$acme$AcmeController$$cer $1.apply(AcmeController.scala:164) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl. a:121) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 2017-12-19 18:57:22,739 [error] - Failure on all levels: java.util.concurrent.TimeoutException: Futures timed out after [200 seconds] java.util.concurrent.TimeoutException: Futures timed out after [200 seconds] at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:219) at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223) at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:190) at scala.concurrent.impl.ExecutionContextImpl$DefaultThreadFactory$$anon$2$$anon$4.block(ExecutionContextImpl.scala:48) at scala.concurrent.forkjoin.ForkJoinPool.managedBlock(ForkJoinPool.java:3640) at scala.concurrent.impl.ExecutionContextImpl$DefaultThreadFactory$$anon$2.blockOn(ExecutionContextImpl.scala:45) at scala.concurrent.Await$.result(package.scala:190) at io.github.valters.acme.AcmeController.finishChallenge(AcmeController.scala:325) at io.github.valters.acme.AcmeController.io$github$valters$acme$AcmeController$$certify(AcmeController.scala:182) at io.github.valters.acme.AcmeController$$anonfun$certify$1$$anonfun$apply$1.apply$mcV$sp(AcmeController.scala:135)
Any plans to add Scala 2.12 and Play 2.6 support?
I tried importing the project to my 2.12/2.6 project, and it compiled with 18 warnings.
/cert API fails however due to Future timeout (200 seconds). Not sure if it's 2.12/2.6 issue or not.
Thanks for your work anyway!
Hi Valters,
Really like what you've done with the set up -- would you be able to generalize this into Play itself, so that Play applications could use https automatically as a sample project? What do you think would be the best way to set up a Play application?
Ideally we'd put this into the starters and seeds at Play: https://playframework.com/download#seeds so it could be something that people could disable as need be, but would be "secure by default".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.