As it stands, it would appear that ‘domains’ property only functions with “all” as its value, and any form of array fails to be parsed. I cannot find any documentation on proper string formatting to get an array to be parsed properly.
End Goal: use websocket to connect to a port on localhost or 127.0.0.1
Invalid Setups (produce a ‘Permission Denied, Manifest Entry Not Found’ error):
As far as I know, there was an error confirmed by someone in Adobe that 127.0.0.1 and localhost are not working due to a bug and meanwhile I can use all as a workaround. I hope it is going to be fixed soon. Unless it got fixed and your options is somehow invalid.
I think my putting all the bad examples in a single code block is not communicating properly. Each of the “requiredPermissions” properties In my post was tried on their own, such that only 1 ‘requiredPermissions’ property ever existed in the manifest at a time. I unloaded and then loaded my plugin six different times, using one of those “requiredPermissions” each time, and the first 5 produced the Permission Denied error.
‘localhost’ is not the same with “127.0.0.1” as regex is used to validate the input URL.
domains property should have a protocol such as ‘ws://127.0.0.1’ or ‘wss://127.0.0.1’ or ‘wss://localhost:8081’.
“127.0.0.1:8001”, “//127.0.0.1:8001/”, "localhost " are not valid.
“domains”: [“ws://127.0.0.1:8001/”] is valid and it should work. Please check if your WebSocket connects to ‘ws:’ than ‘wss:’ as they are not the same.