Play 2.5 application requests hang

假装没事ソ 提交于 2020-01-06 16:25:53

问题


I'm running a small scala Play application in dev mode on a vagrant box using activator run. When accessing the app from the browser some of the requests hang for what looks like indefinitely.

This seems to be the same issue as described in this question for play 2.0 Play Framework Hanging when hitting app in browser. The solution suggested there however doesn't seem to apply to the latest version of play.

I'm not sure where to start investigating this issue. Any help will be appreciated!


回答1:


So after investigating it for a bit we realised that requests hang on routes that were protected by deadbolt. After replacing deadbolt all went back to normal. We were using deadbolt-scala 2.5.0 if anyone has any idea what might have been the issue there a comment here would be welcomed. But for now we stopped using the library.



来源:https://stackoverflow.com/questions/37514729/play-2-5-application-requests-hang

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!