Proxy support

Can I configure Airbrake to send errors through a proxy?

Yes, you can! If your server is not able to directly reach the Airbrake servers you can configure the Airbrake ruby notifier to send errors through your proxy.

Configuring Airbrake to use your proxy is as simple as setting the relevant proxy options in the initializer

Configuring Airbrake V5 to use a proxy

Airbrake.configure do |c|
  c.proxy = {
    host: ''
    port: 8080
    user: 'user'
    password: 'p4ssw0rd'

Configuring the DEPRECATED Airbrake V4 to use a proxy

The Airbrake V4 notifier is deprecated and we highly recommend migrating to Airbrake V5 to get the most out of the Airbrake service and features.

Airbrake.configure do |config|
  config.proxy_host = ''
  config.proxy_port = 8080
  config.proxy_user = 'proxy-mus prime'
  config.proxy_pass = 'tr4nsF0rm3rs'

We have more config options in