Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Multicast sample has invalid permissions. #119

mckoss opened this Issue · 4 comments

5 participants

Mike Koss Robbert Broersma François Beaufort Vincent Scheib Renaud Paquay
Mike Koss

On Chrome version 27 (stable), I can't get this sample to load properly.

Could not load extension from '/Users/<username>/src/chrome-app-samples/multicast'. Invalid value for 'permissions[socket]'.

If I remove the socket['udp-multicast-membership'] permission, the app will load (though I don't think it works properly).

Robbert Broersma
"sockets": {
  "udp": {
    "bind": "*",
    "send": "*",
    "multicastMembership": ""

The empty string value for "multicastMembership" isn't obvious at all, I had to resort to reading the C++ unit tests to find out the correct value.

The manifest.json documentation states the value requires a "host:port" value, but "*" and any other valid host:port value is regarded invalid.

These are unit tests:

François Beaufort

@robbert Thank you for your feedback.

@ikarienator It looks this sample App still uses the old chrome.socket API with the deprecated way of setting permission ;( Would you have time to upgrade this App?

@rpaquay May you update the official documentation at so that it's more clear regarding the multicastMembership value?

Vincent Scheib scheib added the bug label
Renaud Paquay rpaquay was assigned by scheib
François Beaufort

@robbert The "multicastMembership" option is now shown at

I will update soon the mutilcast sample app based on @rpaquay's work.

François Beaufort

For info, there is an issue on Chrome OS:
The firewall seems to block chrome.sockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.