NoMethodError at /misc/DFPClick

undefined method `gsub' for nil:NilClass

Ruby /usr/local/lib/ruby/2.4.0/uri/rfc2396_parser.rb: in unescape, line 332
Web GET ad-redirect.mailfixx.com/misc/DFPClick

Jump to:

Traceback (innermost first)

Request information

GET

Variable Value
AdAccount
"94815173"
AdSize
"300x250"
AdUnit
"mm_v4_processing_channel_channel_promo_band_1_mpu_1"

POST

No POST data.

No cookie data.

Rack ENV

Variable Value
GATEWAY_INTERFACE
CGI/1.2
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_CDN_LOOP
cloudflare
HTTP_CF_CONNECTING_IP
3.236.111.234
HTTP_CF_IPCOUNTRY
US
HTTP_CF_RAY
866b11420ed63950-IAD
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CONNECTION
close
HTTP_HOST
ad-redirect.mailfixx.com
HTTP_USER_AGENT
claudebot
HTTP_VERSION
HTTP/1.0
HTTP_X_FORWARDED_FOR
3.236.111.234, 172.70.38.4
HTTP_X_FORWARDED_PROTO
https
HTTP_X_REAL_IP
172.70.38.4
PATH_INFO
/misc/DFPClick
QUERY_STRING
AdUnit=mm_v4_processing_channel_channel_promo_band_1_mpu_1&AdSize=300x250&AdAccount=94815173
REMOTE_ADDR
190.10.0.2
REQUEST_METHOD
GET
REQUEST_PATH
/misc/DFPClick
REQUEST_URI
/misc/DFPClick?AdUnit=mm_v4_processing_channel_channel_promo_band_1_mpu_1&AdSize=300x250&AdAccount=94815173
SCRIPT_NAME
SERVER_NAME
ad-redirect.mailfixx.com
SERVER_PORT
443
SERVER_PROTOCOL
HTTP/1.1
SERVER_SOFTWARE
puma 3.11.4 Love Song
puma.config
#<Puma::Configuration:0x00556920f3f910 @options=#<Puma::UserFileDefaultOptions:0x00556920f37aa8 @user_options={:environment=>"development", :pid=>nil, :Port=>"3000", :Host=>"0.0.0.0", :AccessLog=>[], :config=>"/opt/src/config.ru", :log_requests=>false, :binds=>["tcp://0.0.0.0:3000"], :app=>#<Rack::ContentLength:0x0055692116da20 @app=#<Rack::Chunked:0x0055692116da70 @app=#<Rack::CommonLogger:0x0055692116dac0 @app=#<Rack::ShowExceptions:0x00556921146a38 @app=#<Rack::Lint:0x00556921146a88 @app=#<Rack::TempfileReaper:0x00556921146ad8 @app=#<Rack::Builder:0x00556920f5e220 @warmup=nil, @run=#<AdRedirect:0x00556920f5e108 @publisher_conf={"aspermont"=>{"host"=>"104.248.173.119", "port"=>"9200", "user"=>"elastic", "password"=>"devops", "scheme"=>"http", "name"=>"aspermont"}, "1049707"=>{"host"=>"104.248.173.119", "port"=>"9200", "user"=>"elastic", "password"=>"devops", "scheme"=>"http", "name"=>"aspermont"}, "94815173"=>{"host"=>"104.248.173.119", "port"=>"9200", "user"=>"elastic", "password"=>"devops", "scheme"=>"http", "name"=>"aspermont"}}, @logger=#<GELF::Notifier:0x00556920f97818 @enabled=true, @collect_file_and_line=true, @random=#<Random:0x00556920f977f0>, @level=0, @max_chunk_size=8154, @rescue_network_errors=false, @default_options={"facility"=>"AdRedirect2018", "host"=>"ad-redirect.mailfixx.com", "protocol"=>0, "version"=>"1.0", "level"=>5}, @level_mapping={0=>7, 1=>6, 2=>5, 3=>4, 4=>3, 5=>1}, @sender=#<GELF::Transport::UDP:0x00556920f97430 @addresses=[["stage-graylog.kreatio.info", 12201]]>, @hash={"facility"=>"AdRedirect2018", "host"=>"ad-redirect.mailfixx.com", "protocol"=>0, "version"=>"1.0", "level"=>1, "short_message"=>"AdRedirectError", "msg"=>"404 - Account ID Missing", "full_message"=>{"HTTP_VERSION"=>"HTTP/1.0", "HTTP_X_REAL_IP"=>"172.71.194.76", "HTTP_X_FORWARDED_FOR"=>"3.236.111.234, 172.71.194.76", "HTTP_HOST"=>"ad-redirect.mailfixx.com", "HTTP_CONNECTION"=>"close", "HTTP_ACCEPT_ENCODING"=>"gzip, br", "HTTP_CF_RAY"=>"866b1139d8a13950-IAD", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_CF_VISITOR"=>"{\"scheme\":\"https\"}", "HTTP_ACCEPT"=>"*/*", "HTTP_USER_AGENT"=>"claudebot", "HTTP_CF_CONNECTING_IP"=>"3.236.111.234", "HTTP_CDN_LOOP"=>"cloudflare", "HTTP_CF_IPCOUNTRY"=>"US"}, "Name"=>nil, "Date"=>nil, "AdAccount"=>nil, "AdUnit"=>nil, "UserAgent"=>"claudebot", "file"=>"/opt/src/config.ru", "line"=>56, "timestamp"=>1710826193.0494359}>, @elastic=#<Elasticsearch::Transport::Client:0x007f6d6809bb90 @arguments={:hosts=>[{:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}], :logger=>nil, :tracer=>nil, :reload_connections=>false, :retry_on_failure=>false, :reload_on_failure=>false, :randomize_hosts=>false, :transport_options=>{:headers=>{"Content-Type"=>"application/json"}}, :http=>{:port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http"}, :retry_on_status=>[]}, @send_get_body_as="GET", @transport=#<Elasticsearch::Transport::Transport::HTTP::Faraday:0x007f6d6809b910 @state_mutex=#<Thread::Mutex:0x007f6d6809b898>, @hosts=[{:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}], @options={:hosts=>[{:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}], :logger=>nil, :tracer=>nil, :reload_connections=>false, :retry_on_failure=>false, :reload_on_failure=>false, :randomize_hosts=>false, :transport_options=>{:headers=>{"Content-Type"=>"application/json"}}, :http=>{:port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http"}, :retry_on_status=>[]}, @block=#<Proc:0x007f6d6809b8c0@/usr/local/bundle/gems/elasticsearch-transport-6.0.2/lib/elasticsearch/transport/client.rb:114>, @connections=#<Elasticsearch::Transport::Transport::Connections::Collection:0x007f6d6809a088 @connections=[#<Elasticsearch::Transport::Transport::Connections::Connection:0x007f6d6809a128 @host={:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}, @connection=#<Faraday::Connection:0x007f6d6809b6e0 @parallel_manager=nil, @headers={"Authorization"=>"Basic ZWxhc3RpYzpkZXZvcHM=", "Content-Type"=>"application/json", "User-Agent"=>"Faraday v0.15.0"}, @params={}, @options=#<Faraday::RequestOptions (empty)>, @ssl=#<Faraday::SSLOptions (empty)>, @default_parallel_manager=nil, @builder=#<Faraday::RackBuilder:0x007f6d6809b410 @handlers=[Faraday::Adapter::NetHttp]>, @url_prefix=#<URI::HTTP http://104.248.173.119:9200/>, @manual_proxy=false, @proxy=nil, @temp_proxy=nil>, @options={:resurrect_timeout=>60}, @state_mutex=#<Thread::Mutex:0x007f6d6809a0d8>, @dead=false, @failures=0>], @selector=#<Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin:0x007f6d68099fe8 @connections=#<Elasticsearch::Transport::Transport::Connections::Collection:0x007f6d6809a088 ...>>>, @serializer=#<Elasticsearch::Transport::Transport::Serializer::MultiJson:0x007f6d68099fc0 @transport=#<Elasticsearch::Transport::Transport::HTTP::Faraday:0x007f6d6809b910 ...>>, @protocol="http", @logger=nil, @tracer=nil, @sniffer=#<Elasticsearch::Transport::Transport::Sniffer:0x007f6d68099f98 @transport=#<Elasticsearch::Transport::Transport::HTTP::Faraday:0x007f6d6809b910 ...>, @timeout=1>, @counter=0, @counter_mtx=#<Thread::Mutex:0x007f6d68099f70>, @last_request_at=2024-03-19 05:29:55 +0000, @reload_connections=false, @reload_after=10000, @resurrect_after=60, @max_retries=3, @retry_on_status=[]>>>, @map=nil, @use=[]>>, @content_length=nil>>, @logger=#<IO:<STDERR>>>>>}, @file_options={}, @default_options={:min_threads=>0, :max_threads=>16, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :daemon=>false, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"src", :environment=>"development", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :Verbose=>false, :Silent=>false}>, @plugins=#<Puma::PluginLoader:0x00556920f37a58 @instances=[]>, @user_dsl=#<Puma::DSL:0x00556920f37a08 @config=#<Puma::Configuration:0x00556920f3f910 ...>, @options={:environment=>"development", :pid=>nil, :Port=>"3000", :Host=>"0.0.0.0", :AccessLog=>[], :config=>"/opt/src/config.ru", :log_requests=>false, :binds=>["tcp://0.0.0.0:3000"], :app=>#<Rack::ContentLength:0x0055692116da20 @app=#<Rack::Chunked:0x0055692116da70 @app=#<Rack::CommonLogger:0x0055692116dac0 @app=#<Rack::ShowExceptions:0x00556921146a38 @app=#<Rack::Lint:0x00556921146a88 @app=#<Rack::TempfileReaper:0x00556921146ad8 @app=#<Rack::Builder:0x00556920f5e220 @warmup=nil, @run=#<AdRedirect:0x00556920f5e108 @publisher_conf={"aspermont"=>{"host"=>"104.248.173.119", "port"=>"9200", "user"=>"elastic", "password"=>"devops", "scheme"=>"http", "name"=>"aspermont"}, "1049707"=>{"host"=>"104.248.173.119", "port"=>"9200", "user"=>"elastic", "password"=>"devops", "scheme"=>"http", "name"=>"aspermont"}, "94815173"=>{"host"=>"104.248.173.119", "port"=>"9200", "user"=>"elastic", "password"=>"devops", "scheme"=>"http", "name"=>"aspermont"}}, @logger=#<GELF::Notifier:0x00556920f97818 @enabled=true, @collect_file_and_line=true, @random=#<Random:0x00556920f977f0>, @level=0, @max_chunk_size=8154, @rescue_network_errors=false, @default_options={"facility"=>"AdRedirect2018", "host"=>"ad-redirect.mailfixx.com", "protocol"=>0, "version"=>"1.0", "level"=>5}, @level_mapping={0=>7, 1=>6, 2=>5, 3=>4, 4=>3, 5=>1}, @sender=#<GELF::Transport::UDP:0x00556920f97430 @addresses=[["stage-graylog.kreatio.info", 12201]]>, @hash={"facility"=>"AdRedirect2018", "host"=>"ad-redirect.mailfixx.com", "protocol"=>0, "version"=>"1.0", "level"=>1, "short_message"=>"AdRedirectError", "msg"=>"404 - Account ID Missing", "full_message"=>{"HTTP_VERSION"=>"HTTP/1.0", "HTTP_X_REAL_IP"=>"172.71.194.76", "HTTP_X_FORWARDED_FOR"=>"3.236.111.234, 172.71.194.76", "HTTP_HOST"=>"ad-redirect.mailfixx.com", "HTTP_CONNECTION"=>"close", "HTTP_ACCEPT_ENCODING"=>"gzip, br", "HTTP_CF_RAY"=>"866b1139d8a13950-IAD", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_CF_VISITOR"=>"{\"scheme\":\"https\"}", "HTTP_ACCEPT"=>"*/*", "HTTP_USER_AGENT"=>"claudebot", "HTTP_CF_CONNECTING_IP"=>"3.236.111.234", "HTTP_CDN_LOOP"=>"cloudflare", "HTTP_CF_IPCOUNTRY"=>"US"}, "Name"=>nil, "Date"=>nil, "AdAccount"=>nil, "AdUnit"=>nil, "UserAgent"=>"claudebot", "file"=>"/opt/src/config.ru", "line"=>56, "timestamp"=>1710826193.0494359}>, @elastic=#<Elasticsearch::Transport::Client:0x007f6d6809bb90 @arguments={:hosts=>[{:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}], :logger=>nil, :tracer=>nil, :reload_connections=>false, :retry_on_failure=>false, :reload_on_failure=>false, :randomize_hosts=>false, :transport_options=>{:headers=>{"Content-Type"=>"application/json"}}, :http=>{:port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http"}, :retry_on_status=>[]}, @send_get_body_as="GET", @transport=#<Elasticsearch::Transport::Transport::HTTP::Faraday:0x007f6d6809b910 @state_mutex=#<Thread::Mutex:0x007f6d6809b898>, @hosts=[{:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}], @options={:hosts=>[{:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}], :logger=>nil, :tracer=>nil, :reload_connections=>false, :retry_on_failure=>false, :reload_on_failure=>false, :randomize_hosts=>false, :transport_options=>{:headers=>{"Content-Type"=>"application/json"}}, :http=>{:port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http"}, :retry_on_status=>[]}, @block=#<Proc:0x007f6d6809b8c0@/usr/local/bundle/gems/elasticsearch-transport-6.0.2/lib/elasticsearch/transport/client.rb:114>, @connections=#<Elasticsearch::Transport::Transport::Connections::Collection:0x007f6d6809a088 @connections=[#<Elasticsearch::Transport::Transport::Connections::Connection:0x007f6d6809a128 @host={:host=>"104.248.173.119", :port=>9200, :user=>"elastic", :password=>"devops", :scheme=>"http", :protocol=>"http"}, @connection=#<Faraday::Connection:0x007f6d6809b6e0 @parallel_manager=nil, @headers={"Authorization"=>"Basic ZWxhc3RpYzpkZXZvcHM=", "Content-Type"=>"application/json", "User-Agent"=>"Faraday v0.15.0"}, @params={}, @options=#<Faraday::RequestOptions (empty)>, @ssl=#<Faraday::SSLOptions (empty)>, @default_parallel_manager=nil, @builder=#<Faraday::RackBuilder:0x007f6d6809b410 @handlers=[Faraday::Adapter::NetHttp]>, @url_prefix=#<URI::HTTP http://104.248.173.119:9200/>, @manual_proxy=false, @proxy=nil, @temp_proxy=nil>, @options={:resurrect_timeout=>60}, @state_mutex=#<Thread::Mutex:0x007f6d6809a0d8>, @dead=false, @failures=0>], @selector=#<Elasticsearch::Transport::Transport::Connections::Selector::RoundRobin:0x007f6d68099fe8 @connections=#<Elasticsearch::Transport::Transport::Connections::Collection:0x007f6d6809a088 ...>>>, @serializer=#<Elasticsearch::Transport::Transport::Serializer::MultiJson:0x007f6d68099fc0 @transport=#<Elasticsearch::Transport::Transport::HTTP::Faraday:0x007f6d6809b910 ...>>, @protocol="http", @logger=nil, @tracer=nil, @sniffer=#<Elasticsearch::Transport::Transport::Sniffer:0x007f6d68099f98 @transport=#<Elasticsearch::Transport::Transport::HTTP::Faraday:0x007f6d6809b910 ...>, @timeout=1>, @counter=0, @counter_mtx=#<Thread::Mutex:0x007f6d68099f70>, @last_request_at=2024-03-19 05:29:55 +0000, @reload_connections=false, @reload_after=10000, @resurrect_after=60, @max_retries=3, @retry_on_status=[]>>>, @map=nil, @use=[]>>, @content_length=nil>>, @logger=#<IO:<STDERR>>>>>}, @plugins=[]>, @file_dsl=#<Puma::DSL:0x00556920f37990 @config=#<Puma::Configuration:0x00556920f3f910 ...>, @options={}, @plugins=[]>, @default_dsl=#<Puma::DSL:0x00556920f37940 @config=#<Puma::Configuration:0x00556920f3f910 ...>, @options={:min_threads=>0, :max_threads=>16, :log_requests=>false, :debug=>false, :binds=>["tcp://0.0.0.0:9292"], :workers=>0, :daemon=>false, :mode=>:http, :worker_timeout=>60, :worker_boot_timeout=>60, :worker_shutdown_timeout=>30, :remote_address=>:socket, :tag=>"src", :environment=>"development", :rackup=>"config.ru", :logger=>#<IO:<STDOUT>>, :persistent_timeout=>20, :first_data_timeout=>30, :Verbose=>false, :Silent=>false}, @plugins=[]>>
puma.socket
#<TCPSocket:fd 12>
rack.after_reply
[]
rack.errors
#<Rack::Lint::ErrorWrapper:0x007f6d680a4740 @error=#<IO:<STDERR>>>
rack.hijack
#<Proc:0x007f6d680a49e8@/usr/local/bundle/gems/rack-2.0.1/lib/rack/lint.rb:525>
rack.hijack?
true
rack.input
#<Rack::Lint::InputWrapper:0x007f6d680a4768 @input=#<Puma::NullIO:0x00556920fb8680>>
rack.multiprocess
false
rack.multithread
true
rack.request.cookie_hash
{}
rack.request.query_hash
{"AdUnit"=>"mm_v4_processing_channel_channel_promo_band_1_mpu_1", "AdSize"=>"300x250", "AdAccount"=>"94815173"}
rack.request.query_string
AdUnit=mm_v4_processing_channel_channel_promo_band_1_mpu_1&AdSize=300x250&AdAccount=94815173
rack.run_once
false
rack.tempfiles
[]
rack.url_scheme
http
rack.version
[1, 3]

You're seeing this error because you use Rack::ShowExceptions.