@xtccc
2016-07-25T14:27:04.000000Z
字数 702
阅读 2203
Akka
[WARN] Configured registration timeout of 1 second expired, stopping
参考:
Sanity check: Configured registration timeout of 1 second expired, stopping
The warning indicates that after a connection attempt was made your HttpService didn't respond in 1 second. In many cases this is a sign that you may suffer from thread starvation. Are you doing blocking calls in your HttpService or in any other actor on the same akka dispatcher as your HttpService?
You can try setting the spray.can.server.registration-timeout
setting higher, but that is probably more a cure for the symptom than a real solution.
The Configured registration timeout of 1 second expired, stopping warning from the HTTP-level ServerConnection actors tell you that, for some reason, they are not receiving the Http.Register
message.