I’ve attached my test project to FB21240977. Thanks for that. I did some poking around and I believe this error is being triggered by the echoed pong frame containing no data. If I change this line: try await connection.ping(Data()) { to this: try await connection.ping(Data(hello.utf8)) { I don’t see the error. ps It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Networking
Tags: