Centrifuge is a simple server for real-time messaging in web applications.
Questions tagged [centrifuge]
7 questions
2
votes
1 answer
Centrifuge not using MongoDB?
I just installed centrifuge (https://centrifuge.readthedocs.org/en/latest/) and created a configuration.json file and placed it in /var/www/ folder.
When I try to run centrifuge centrifuge config = /var/www/configuration.json, the server starts.…

user3003018
- 53
- 4
1
vote
0 answers
How to call Constants Declared in Metadata Of substrate Node
I am using this library https://github.com/centrifuge/go-substrate-rpc-client where we fetch Latest Metadata via this call in my gloang code api.RPC.State.GetMetadataLatest(). This will return me metaData result for the connected substrate node from…

Anirudh Singh
- 11
- 2
1
vote
0 answers
Unable to connect to Centrifugo v2.4.0 from client application nodeJS
Here is my client code.
let Centrifuge = require("centrifuge");
var SockJS = require('sockjs-client');
var jwt = require('jsonwebtoken');
var info = { "sub": "1", "exp": 300,"info": '{ "name": "Venkat" }' }
var secret =…

Venkat
- 3,447
- 6
- 42
- 61
1
vote
1 answer
Setup Centrifugo server with apache virtual host and ssl
I know most people do it backwards (apache to nginx), but the server where this project is hosted has other projects with particular configurations so... it's better to stick with what we have
What I'm trying to accomnplish is migrate an nginx…

Luis Tena
- 21
- 4
1
vote
0 answers
Fatal Exception: java.lang.UnsatisfiedLinkError centrifuge-android
We use centrifuge lib to communicate with Sockets. Everything works well but
this code :
val credentials = Centrifuge.newCredentials(
getCurrentUserId(),
webSocketToken.timestamp,
EMPTY_STRING,
…

Nurseyit Tursunkulov
- 8,012
- 12
- 44
- 78
0
votes
0 answers
How can you use centrifugo with oauth2 bearer token?
I'm using centrifugo in conjunction with React + Laravel using the centrifugo/centrifugo docker image. It connects to centrifugo itself, but a problem appears, on the client side I use oauth2 bearer token instead of the usual jwt and pass it as…

UKRman
- 404
- 3
- 16
0
votes
1 answer
Centrifuge + React
In our app we use centrifuge as a web socket connection + react.
When it is time to refresh token, I use config function - onRefresh, then I receive new token and set it.
refreshHeaders: { Authorization: `Bearer ${localStorage.getItem("act")}` },
…

Stasy
- 1