This will generate a url like wss://apple.com/asdf:55433 which is not valid for a normal target. For most wss connections the uri should be wss://app.com:443/relativepath assuming the proxy config looks like localhost:55433
Fix: uri = "\(scheme)://\(host):\(port)\(relativePath)"
To Reproduce
Theres a test case that simulates the incorrect result.
Describe the bug
This will generate a url like
wss://apple.com/asdf:55433
which is not valid for a normal target. For most wss connections the uri should bewss://app.com:443/relativepath
assuming the proxy config looks like localhost:55433Fix:
uri = "\(scheme)://\(host):\(port)\(relativePath)"
To Reproduce
Theres a test case that simulates the incorrect result.
Expected behavior
Environment
Additional context
Add any other context about the problem here.