Closed 1c7 closed 8 months ago
@1c7 this is some low level network problem (firewall as you already hinted). You can try this
https://gist.github.com/brainlid/2721486
so that Net::HTTP
outputs more debug info.
Thanks for providing help on how to output debug info.
I have a proxy running at 127.0.0.1:1087. and then I set these 2 environment variable (I am using macOS Sonoma 14.2.1)
export http_proxy=http://127.0.0.1:1087;
export https_proxy=http://127.0.0.1:1087;
and then
rails console
Sentry.capture_message("aaa", level: :fatal)
Environment
File
config/initializers/sentry.rb
Expect
Sentry work on my local environment too.
What went wrong
not working, no error is being sent to Sentry
Suspect
Sentry being blocked by China's firewall (just like Youtube/Twitter/Instagram/etc)
Question
How can I debug this and find out why error is not being send to Sentry?