Hi there,
I am having an issue with the WebSocket API on UXP, specifically on Windows and InDesign version 20.
Any WebSocket I create will remain in the “CONNECTING” state indefinitely and send/receive no data. No entry appears in the Network tab logs either when debugging.
Is anyone else experiencing this issue, or knows of a fix?
I have the domains and protocols listed in the manifest.json as well:
"requiredPermissions": {
"launchProcess": {
"schemes": ["http", "https", "wss"],
},
"network": {
"domains": ["mydomain.com"]
}
}
I have tried the following variants of “domains” too:
"domains": ["wss://mydomain.com"]
"domains": "all"
The WebSockets work on Mac InDesign 20, Windows Photoshop, and previous versions of Windows InDesign.