在SpringBoot应用程序中调度后,Heroku会抛出以下异常:
[heroku-exec] ERROR: Could not connect to proxy! Waiting 10 seconds before retry...
[heroku-exec] ERROR: Could not connect to proxy! Waiting 20 seconds before retry...系统: org.springframework.scheduling.annotation.EnableScheduling、SpringBoot、Heroku
我通过重新启动中断了它。
它在我的上下文中意味着什么,以及如何修复它?
谢谢!
发布于 2019-05-21 23:47:36
这不是你的应用抛出的异常。这是一个警告,提示Heroku Exec process无法连接到允许您运行heroku ps:exec或heroku java:jconsole等命令的代理。发生这种情况的原因有很多(网络信号,等等)。
忽略这一点是安全的,只要您不使用这些命令。否则,您可以通过运行以下命令来禁用:
$ heroku features:disable runtime-heroku-exechttps://stackoverflow.com/questions/56240773
复制相似问题