You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom port is not respected by default transport.
I assume the problem is in the http transport class
server = URI(@dsn.server)
use_ssl = server.scheme == "https"
port = use_ssl ? 443 : 80
This probably need to be changed in
server = URI(@dsn.server)
use_ssl = server.scheme == "https"
port = server.port
Reproduction Steps
Use custom dsn with custom port.
Expected Behavior
Connection should respect custom port. Instead it is enforced to 80.
Actual Behavior
ERROR -- sentry: exception happened in background worker: Failed to open TCP connection to 75.81.74.93:80 (Connection refused - connect(2) for "75.81.74.93" port 80)
Issue Description
Custom port is not respected by default transport.
I assume the problem is in the http transport class
This probably need to be changed in
Reproduction Steps
Use custom dsn with custom port.
Expected Behavior
Connection should respect custom port. Instead it is enforced to 80.
Actual Behavior
ERROR -- sentry: exception happened in background worker: Failed to open TCP connection to 75.81.74.93:80 (Connection refused - connect(2) for "75.81.74.93" port 80)
Ruby Version
3.0.2p107
SDK Version
5.0.1
Integration and Its Version
rails 6.1.4.4
Sentry Config
The text was updated successfully, but these errors were encountered: