Sentry DSN proxy config using spring sdk

Need Help!!

We have configure sentry dsn with proxy using below ways but we are not successful.

  1. Configured proxy by using sentry.init
    Sentry.init(sentryOptions → {
    SentryOptions.Proxy proxy = new SentryOptions.Proxy(“localhost”,“8585”,

  2. Configured using file

  3. Configured using vm args.
    -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8585

Still not able to connect dsn.

Thanks in advance!!

the docs are here Configuration for Java | Sentry Documentation
can you set the debug=true option and copy/paste the logs? what goes wrong? thanks

Thanks for the answer.
Proxy is only working with http_proxy not with https_proxy.