Comments (15)
Are you reverse proxying it? I have mine behind caddy and am running into the same issue
from self-hosted.
@DANW999 Check to make sure you aren't already using any of the ports from revolt in other docker containers on your host. ie if you have Portainer running 8000/9000 may be occupied. You can change them in the docker-compose.yml
I just ran into this issue.
from self-hosted.
Getting the same thing. Not sure why this error would fire out of the box. All ports are available/separate from Portainer's/etc and no reverse proxy involved.
from self-hosted.
Ah. Issue for me was i didnt set a vapid key. revoltchat/server was panicking. After adding that, things to be mostly working as intended.
from self-hosted.
I generated new keys but am still getting the network error. None of the containers/logs seem to be throwing errors either, so I'm stumped as to what's going on.
from self-hosted.
I have the same issue when trying to create an account. No errors in logs. (Using Traefik if that's of use).
from self-hosted.
@elightcap I am not running behind proxy and @engineeringsys I am not running on used ports (docker would provent me from spinning up the container in the first place otherwise). How would I go about generating keys? As that does not appear to be mentioned the documentation page, unless I missed it. All help is appreciated, thank you.
from self-hosted.
@Jimmy-SafeCash Can you post your docker-compose.yml with traefik setup?
from self-hosted.
@DANW999 If you do a quick search there's quite a few utilities online to generate valid Vapid keys. Or in the .env-example file there's a link
from self-hosted.
I’m sure this has been said or done, if not, try checking the browsers web console if you haven’t. if it’s a proxy issue, I made a PR for those who wish to use NGINX as an easier proxy since it would just need editing/adding of nginx.conf and a proxy through cloud-flare for ssl.
It will also redirect most to port 80 and for the specified sub/domain. It will keep localhost (127.0.0.1 or whatever) accessible for you on locally.
from self-hosted.
The default configuration is intended for your local machine only, you have to configure the endpoints for it to work outside of your local machine.
from self-hosted.
@Jimmy-SafeCash Can you post your docker-compose.yml with traefik setup?
Hi @Jimmy-SafeCash sorry for the late reply. I have not changed anything from the original file. Here is it:
version: '3.8'
services:
MongoDB database
database:
image: mongo
restart: always
volumes:
- ./data/db:/data/db
Redis server
redis:
image: eqalpha/keydb
restart: always
REVOLT API server (Delta)
api:
image: revoltchat/server
env_file: .env
depends_on:
- database
- redis
environment:
- REVOLT_MONGO_URI=mongodb://database
- REVOLT_REDIS_URI=redis://redis/
ports:
- "8000:8000"
- "9000:9000"
restart: always
REVOLT Web App
web:
image: revoltchat/client:master
env_file: .env
ports:
- "5000:5000"
restart: always
S3-compatible storage server
minio:
image: minio/minio
command: server /data
env_file: .env
volumes:
- ./data/minio:/data
ports:
- "10000:9000"
restart: always
Create buckets for minio.
createbuckets:
image: minio/mc
depends_on:
- minio
env_file: .env
entrypoint: >
/bin/sh -c "
while ! curl -s --output /dev/null --connect-timeout 1 http://minio:9000; do echo 'Waiting minio...' && sleep 0.1; done;
/usr/bin/mc alias set minio http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD;
/usr/bin/mc mb minio/attachments;
/usr/bin/mc mb minio/avatars;
/usr/bin/mc mb minio/backgrounds;
/usr/bin/mc mb minio/icons;
/usr/bin/mc mb minio/banners;
exit 0;
"
REVOLT file hosting service (Autumn)
autumn:
image: revoltchat/autumn
env_file: .env
depends_on:
- database
- createbuckets
environment:
- AUTUMN_MONGO_URI=mongodb://database
ports:
- "3000:3000"
restart: always
REVOLT metadata and image proxy (January)
january:
image: revoltchat/january
ports:
- "7000:3000"
restart: always
from self-hosted.
The default configuration is intended for your local machine only, you have to configure the endpoints for it to work outside of your local machine.
That does not sound right. Docker port forwards exposed ports by default, unless I am missing something here?
from self-hosted.
@DANW999 If you do a quick search there's quite a few utilities online to generate valid Vapid keys. Or in the .env-example file there's a link
Right thanks. I have left everything as default at the moment as I wish to test it first before making custom configurations.
from self-hosted.
In an effort to clean up the global issue tracker, I'm currently consolidating all issues regarding self-hosting into #25 (comment).
from self-hosted.
Related Issues (20)
- Local offline dev spinup not working HOT 6
- ❗ Self-Hosting Support
- feature request: screenshare HOT 2
- no matching manifest for linux/arm64/v8 in the manifest list entries HOT 5
- bug: Revolt docker container cannot talk to postfix smtp server at localhost:25 HOT 7
- bug: cant run "docker-compose up -d" HOT 2
- feature request: 32bit support HOT 1
- unknown error bug: HOT 7
- bug: Unable to friend or direct message users due to missing discriminator HOT 2
- bug: curl missing from latest release of minio/mc, causes errors starting. HOT 5
- bug: Network error HOT 2
- bug: serving pterodactyl behind reverse proxy causes DOMException: The operation is insecure. HOT 3
- bug: in Debian Bullseye VM in docker january says 'GLIBC_2.29 not found required by ./january' HOT 4
- feature request: Add server minimum specifications HOT 9
- bug: s3Error HOT 1
- bug: Vapid Keys guide is down HOT 1
- bug: revolt api doesn't proccess website embeds HOT 3
- bug: Not reading from REVOLT_EXTERNAL_WS_URL HOT 5
- DOMException: The operation is insecure on login HOT 1
- bug: no invite code for server HOT 3
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 self-hosted.