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

adding server adress makes it stop listening for redis #82

Closed
larsemil opened this issue Dec 4, 2016 · 1 comment
Closed

adding server adress makes it stop listening for redis #82

larsemil opened this issue Dec 4, 2016 · 1 comment

Comments

@larsemil
Copy link

larsemil commented Dec 4, 2016

As soon as i add

"redis": {
			"port": "6397",
			"host": "http://localhost"
		},

The port and host part in redis section I no longer get Listening for Redis events when starting server..
why is this?

My full config file looks like this:

{
	"appKey": "omitted",
	"authHost": "example.com",
	"authEndpoint": "/broadcasting/auth",
	"database": "redis",
	"databaseConfig": {
		"redis": {
			"port": "6379",
			"host": "http://127.0.0.1"
		},
		"sqlite": {
			"databasePath": "/database/laravel-echo-server.sqlite"
		}
	},
	"devMode": false,
	"host": "exxample.com",
	"port": "6001",
	"referrers": [],
	"socketio": {},
	"sslCertPath": "",
	"sslKeyPath": ""
}

and when i start it it states:

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

Starting server...

✔ Running at example.com on port 6001
✔ Channels are ready.
✔ Listening for http events...

what am I missing?

@tsacks
Copy link

tsacks commented Dec 9, 2016

I just had this same issue, and managed to fix it.

Remove the "http://" from your host line. I have no idea why they put that there in the documentation. It isn't correct.

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