[Webkit-unassigned] [Bug 66465] WebKit won't create WebSocket with IPv6 address

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 7 22:23:53 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=66465

James Diacono <diachedelic at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |diachedelic at gmail.com

--- Comment #6 from James Diacono <diachedelic at gmail.com> ---
I am experiencing this problem in Safari Technical Preview 15.4, release 135.

In my case, attempting to open a WebSocket connection to a server with a literal IPv6 address fails with

    WebSocket network error: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 1.)

The address is ws://[::]:3589, which Chrome connects to without error. Safari succeeds when I use the equivalent IPv4 address, ws://localhost:3589.

The reason I ran into this is that I am attempting to debug a web application on my iPhone. I am serving the application from my laptop, which is connected to my phone via a USB personal hotspot. This hotspot only assigns my laptop an IPv6 address. I do not think I can alter my phone's /etc/hosts file to give my laptop's IPv6 address a domain name, so I am forced to use an IPv6 URL.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220208/feb538b1/attachment-0001.htm>


More information about the webkit-unassigned mailing list