Comments (5)
Turns out there was another file(config/broadcasting.php
) that needed to be manually edited. I pushed an update, removing the need for manual editions. Just pull latest code, enter only .env
values and you're good to go. (notice a PUSHER_CLUSTER
key has been added to .env.example).
P.S: in case you're going to broadcast notifications, you should also edit this file as I explained. See if your can find a fix for it (so the manual edit wouldn't be needed) and let me know of it. thanks
from voten.
You must enter pusher info in both .env
file and bootstrap.js
(I should later refactor it so .env
would be enough). Have you done this?
from voten.
Yes, I did it already but still got that error.
from voten.
Please leave me the info your .env and bootstrap.js files. (the pusher sections)
from voten.
.env
PUSHER_APP_ID=367728
PUSHER_KEY=06c41f61970777fdxxxx
PUSHER_SECRET=6a8493659157863xxxx
PUSHER_CLUSTER=us2
and bootstrap.js
if (Laravel.env == 'local') {
window.Echo = new Echo({
broadcaster: 'pusher',
key: '06c41f61970777fdxxxx',
cluster: 'us2'
});
} else if (Laravel.env == 'production') {
window.Echo = new Echo({
broadcaster: 'pusher',
key: '2801f0d58cd36d94xxxx',
cluster: 'us2'
});
} else {
window.Echo = new Echo({
broadcaster: 'socket.io',
host: 'https://echo.voten.dev:6001',
auth:
{
headers:
{
'Authorization': 'Bearer ' + 'nb35mdq2ca9928qgl4sgjf3imil5811sn41qsmcaph0p3h6sa5ht8hoktdeg'
}
}
});
}
from voten.
Related Issues (20)
- Installation Steps Questions HOT 6
- Login request fails HOT 1
- Login/Signup with Google doesn't work
- The request has not been applied because it lacks valid authentication credentials for the target resource. HOT 1
- Notifications dont work
- Button "down-vote" HOT 1
- Don't work load avatar and any file HOT 2
- Notification have error (Pusher) HOT 3
- Notification and Message (0)
- Change title
- Voten.co is down for few days now. I wanted to check it out, but it seems to be always dead with cloudflare saying server is down. HOT 2
- Federation/ActivityPub support
- Data output from MYSQL to template HOT 2
- Abandoned? HOT 2
- Website is OFF! HOT 1
- Show channel for guest
- Img submission in home page and full submission
- Guest API get error 401 when trying to go to the user's page, submission, channel
- Site down! HOT 2
- translation for persian farsi language HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voten.