Skip to content

Comment on Turn your singing voice into printable notes (in the browser)

Comments

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.

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...

It works on firefox on linux and android.

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

Brave on Android, same error.

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....

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.