logoalt Hacker News

emmelaichlast Tuesday at 1:50 AM6 repliesview on HN

Getting

> A Permissions-Policy header is blocking the microphone Your server is sending a header that switches this feature off for the whole page. Look for Permissions-Policy: microphone=() in your host config and allow microphone=(self) instead.

Despite allowing microphone.


Replies

tantalortoday at 1:53 PM

My guess is this is a warning generated by a library trying desperately to reach the webmaster.

The server response header needs to be fixed:

> permissions-policy: camera=(), microphone=(), geolocation=(), payment=()

It's just really funny/confusing because now visitors to the site are seeing it, and the message is not meant for visitors.

It works in Safari because Safari does not support the header:

https://caniuse.com/mdn-http_headers_permissions-policy_micr...

alex-moontoday at 5:54 PM

Brave on Android, same error.

busssardlast Tuesday at 1:22 PM

It works on firefox on linux and android.

gregsadetskylast Tuesday at 3:20 AM

had the same error - it worked when I switched to desktop safari fyi

kreelmanlast Tuesday at 6:41 AM

I'm using Chromium on Linux and getting the same error.

I'll come back here later and hopefully the answer fairy will give us a gift of some info on how to fix this...

...Confusingly, the error looks/seems like something to do with the server... But I'm all at sea with this one....