1

Heroku after Scheduling in the SpringBoot app throw the following exceptions:

[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...

System: Heroku, SpringBoot, org.springframework.scheduling.annotation.EnableScheduling

I interrupted it via restart.

What does it mean in my context and how to fix it?

Thanks!

mavs
  • 13
  • 2

1 Answers1

3

This isn't an exception that's thrown from your app. It's a warning that the Heroku Exec process cannot connect to the proxy that allows you to run commands like heroku ps:exec or heroku java:jconsole. There are many reasons this can happen (network blips, etc).

It's safe to ignore this, as long as you don't those commands. Otherwise you can disable by running:

$ heroku features:disable runtime-heroku-exec
codefinger
  • 10,088
  • 7
  • 39
  • 51