you need to add "client_insecure": true to config.json
{
"secret": "xxx",
"admin_password": "xxx",
"admin_secret": "xxx",
"api_key": "xxx",
"client_insecure": true < ------ THIS OPTION
}
https://github.com/centrifugal/centrifugo/issues/238#issuecomment-511771394