-
Notifications
You must be signed in to change notification settings - Fork 722
Description
We are experiencing an issue where the client and server connection is not being established. We are using the Swift-NIO library with the following versions:
This is the reference code for the client. the issue the happening after updating Xcode version - 15.1.0 to 16.1.0 for SDK 18 support.
https://github.com/apple/swift-nio/blob/2.40.0/Sources/NIOWebSocketClient/main.swift
SwiftNIO: 2.40.0
SwiftNIOHTTP1: 2.40.0
SwiftNIOWebSocket: 2.40.0
SwiftNIOSSL: 2.19.0
Client-side: Xcode 16.1.0
Expected Behavior
The client should successfully connect to the server without issues.
Actual Behavior
We are getting the upgraderDeniedUpgrade error from errorCaught method of class HTTPInitialRequestHandler
The connection between the client and server fails without any clear errors. We have verified that both sides are running compatible Swift-NIO above versions. any guidance, suggestions, or help diagnosing this issue would be greatly appreciated.