Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

npx laravel-echo-server start #612

Open
zy77777 opened this issue Apr 4, 2023 · 1 comment
Open

npx laravel-echo-server start #612

zy77777 opened this issue Apr 4, 2023 · 1 comment

Comments

@zy77777
Copy link

zy77777 commented Apr 4, 2023

vagrant@homestead:~/code/processmaker$ npx laravel-echo-server start

L A R A V E L E C H O S E R V E R

version 1.6.3

Starting server...

✔ Running at localhost on port 6001
✔ Listening for http events...
[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.
at parseError (/home/vagrant/code/processmaker/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/home/vagrant/code/processmaker/node_modules/redis-parser/lib/parser.js:302:14)
[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.
at parseError (/home/vagrant/code/processmaker/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/home/vagrant/code/processmaker/node_modules/redis-parser/lib/parser.js:302:14)
✔ Listening for redis events...
node:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Redis could not subscribe.".] {
code: 'ERR_UNHANDLED_REJECTION'
}

laravel-echo-server.json
{
"authEndpoint": "/broadcasting/auth",
"clients": [
{
"appId": "0fd1f7a0ce0d527c",
"key": "21a795019957dde6bcd96142e05d4b10"
}
],
"database": "redis",
"databaseConfig": {
"redis": {
"port": 6379,
"host": "192.168.10.10",
"authPass": "homestead"
},
"sqlite": {
"databasePath": "/database/laravel-echo-server.sqlite"
}
},
"protocol": "http",
"socketio": {},
"sslCertPath": "",
"sslKeyPath": "",
"sslCertChainPath": "",
"sslPassphrase": "",
"subscribers": {
"http": true,
"redis": true
},
"apiOriginAllow": {
"allowCors": false,
"allowOrigin": "",
"allowMethods": "",
"allowHeaders": ""
}
}

@shifas-cubet
Copy link

Same error for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants