NotAllowedError:'TCPSocket': Permissions-Policy: direct sockets are disabled.

306 views
Skip to first unread message

Xtralogic

unread,
Apr 24, 2025, 12:53:09 AMApr 24
to iwa-dev
Hi IWA Team,

One of the beta testers of our app of the reporting that they are getting "NotAllowedError:'TCPSocket': Permissions-Policy: direct sockets are disabled." The app was deployed using Google Workspace on a managed device. The app manifest has  direct-sockets and direct-sockets-private in permissions_policy. We do not see this error in our testing.
What would cause this? Any settings in Google Workspace admin console?

Thanks,
Sergey

Simon Hangl

unread,
Apr 28, 2025, 1:06:19 PMApr 28
to Xtralogic, iwa-dev
Hi Sergey,

When was this application first installed? Was this before direct sockets were launched? If so, this might be a known issue and a simple reinstall (removing the IWA from the admin policy; refreshing the policy on the device and waiting until the app is uninstalled; adding the IWA again in the admin panel) will fix the problem permanently. Alternatively, releasing a new update of the IWA (just bumping the version) would also fix this.

If none of this helps, it would be great if you could file a bug (including steps on how to reproduce the issue).

Best regards,
Simon

--
You received this message because you are subscribed to the Google Groups "iwa-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iwa-dev+u...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/iwa-dev/e9bf7d5f-0351-472c-91b2-0d92e6b79efbn%40chromium.org.

Simon Hangl

Software Engineer

sim...@google.com


Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. 

     

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.


Xtralogic

unread,
May 3, 2025, 3:49:49 PMMay 3
to iwa-dev, sim...@google.com, iwa-dev, Xtralogic
Hi Simon,

As long as I know, the app was installed just recently. Unfortunately, we haven't heard back from the customer yet. We don't see this problem in our testing.

Thanksm
Sergey

Reply all
Reply to author
Forward
0 new messages