unknown error bug: #47

Closed
opened 2026-02-16 12:51:14 -05:00 by yindo · 8 comments
Owner

Originally created by @killforby on GitHub (Jun 29, 2023).

What happened?

Hello, it is impossible for me to install self-hosted revolt I still have an error when registering? Any idea?

image

Originally created by @killforby on GitHub (Jun 29, 2023). ### What happened? Hello, it is impossible for me to install self-hosted revolt I still have an error when registering? Any idea? ![image](https://github.com/revoltchat/self-hosted/assets/94224508/bceb3d08-8568-4ee1-8c6b-5b45b2e3c438)
yindo added the bug label 2026-02-16 12:51:14 -05:00
yindo closed this issue 2026-02-16 12:51:14 -05:00
Author
Owner

@curve1417 commented on GitHub (Jul 4, 2023):

Hello,

Having the same problem :/

@curve1417 commented on GitHub (Jul 4, 2023): Hello, Having the same problem :/
Author
Owner

@jrmiller82 commented on GitHub (Jul 18, 2023):

Same here; same problem here. The documentation needs a large rework, particularly for setting up reverse proxies.

@jrmiller82 commented on GitHub (Jul 18, 2023): Same here; same problem here. The documentation needs a large rework, particularly for setting up reverse proxies.
Author
Owner

@jrmiller82 commented on GitHub (Jul 24, 2023):

I followed the documentation, so if there's a problem it's on the documentation side. I think one of the admins should try getting the container running from scratch and see if they don't run into any issues / update the documentation.

@jrmiller82 commented on GitHub (Jul 24, 2023): I followed the documentation, so if there's a problem it's on the documentation side. I think one of the admins should try getting the container running from scratch and see if they don't run into any issues / update the documentation.
Author
Owner

@ghost commented on GitHub (Aug 1, 2023):

HOSTNAME=:80

# URL to where the Revolt app is publicly accessible
REVOLT_APP_URL=https://name.domain.xxx

# URL to where the API is publicly accessible
REVOLT_PUBLIC_URL=https://name.domain.xxx/api
VITE_API_URL=https://name.domain.xxx/api

# URL to where the WebSocket server is publicly accessible
REVOLT_EXTERNAL_WS_URL=wss://name.domain.xxx/ws

# URL to where Autumn is publicly available
AUTUMN_PUBLIC_URL=https://name.domain.xxx/autumn

# URL to where January is publicly available
JANUARY_PUBLIC_URL=https://name.domain.xxx/january

when i deployed the docker, i also got the error but eventually when i was using a different browser it worked. i got no clue why it was cousing the error, but now i can use it without problem. i am using this outside my network btw, so i am not using this locally

  • update: i just found out that it didint worked because of cookies, when i deleted it and then it worked without problem

i hope this will help with some people with the "networkerror" issue

@ghost commented on GitHub (Aug 1, 2023): ``` HOSTNAME=:80 # URL to where the Revolt app is publicly accessible REVOLT_APP_URL=https://name.domain.xxx # URL to where the API is publicly accessible REVOLT_PUBLIC_URL=https://name.domain.xxx/api VITE_API_URL=https://name.domain.xxx/api # URL to where the WebSocket server is publicly accessible REVOLT_EXTERNAL_WS_URL=wss://name.domain.xxx/ws # URL to where Autumn is publicly available AUTUMN_PUBLIC_URL=https://name.domain.xxx/autumn # URL to where January is publicly available JANUARY_PUBLIC_URL=https://name.domain.xxx/january ``` when i deployed the docker, i also got the error but eventually when i was using a different browser it worked. i got no clue why it was cousing the error, but now i can use it without problem. i am using this outside my network btw, so i am not using this locally - update: i just found out that it didint worked because of cookies, when i deleted it and then it worked without problem i hope this will help with some people with the "networkerror" issue
Author
Owner

@CresentMoon commented on GitHub (Aug 2, 2023):

80 port is banned here, so I had to set the entrance to 5010, but it shows a network error when registering.

Here is the configuration and the rest is just same as the guide page.

.env

## Quark configuration
##

# MongoDB
MONGODB=mongodb://database

# Redis
REDIS_URI=redis://redis/

# Hostname used for Caddy
# This should in most cases match REVOLT_APP_URL
HOSTNAME=:80

# URL to where the Revolt app is publicly accessible
REVOLT_APP_URL=http://replaceblock.myqnapcloud

# URL to where the API is publicly accessible
REVOLT_PUBLIC_URL=http://replaceblock.myqnapcloud/api
VITE_API_URL=http://replaceblock.myqnapcloud/api

# URL to where the WebSocket server is publicly accessible
REVOLT_EXTERNAL_WS_URL=ws://replaceblock.myqnapcloud/ws

# URL to where Autumn is publicly available
AUTUMN_PUBLIC_URL=http://replaceblock.myqnapcloud/autumn

# URL to where January is publicly available
JANUARY_PUBLIC_URL=http://replaceblock.myqnapcloud/january


##
## hCaptcha Settings
##

docker-compose.yml

# Caddy web server
  caddy:
    image: caddy
    restart: always
    env_file: .env
    ports:
      - "5010:80"
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile
      - ./data/caddy-data:/data
      - ./data/caddy-config:/config

----------2023.9.4 Update---------
Now I solved the problem. The env file should add the port along with the docker-compose.yml.

.env

## Quark configuration
##

# MongoDB
MONGODB=mongodb://database

# Redis
REDIS_URI=redis://redis/

# Hostname used for Caddy
# This should in most cases match REVOLT_APP_URL
HOSTNAME=:80

# URL to where the Revolt app is publicly accessible
REVOLT_APP_URL=http://replaceblock.myqnapcloud:5010

# URL to where the API is publicly accessible
REVOLT_PUBLIC_URL=http://replaceblock.myqnapcloud:5010/api
VITE_API_URL=http://replaceblock.myqnapcloud:5010/api

# URL to where the WebSocket server is publicly accessible
REVOLT_EXTERNAL_WS_URL=ws://replaceblock.myqnapcloud:5010/ws

# URL to where Autumn is publicly available
AUTUMN_PUBLIC_URL=http://replaceblock.myqnapcloud:5010/autumn

# URL to where January is publicly available
JANUARY_PUBLIC_URL=http://replaceblock.myqnapcloud:5010/january


##
## hCaptcha Settings
##
@CresentMoon commented on GitHub (Aug 2, 2023): 80 port is banned here, so I had to set the entrance to 5010, but it shows a network error when registering. Here is the configuration and the rest is just same as the guide page. .env ```## ## Quark configuration ## # MongoDB MONGODB=mongodb://database # Redis REDIS_URI=redis://redis/ # Hostname used for Caddy # This should in most cases match REVOLT_APP_URL HOSTNAME=:80 # URL to where the Revolt app is publicly accessible REVOLT_APP_URL=http://replaceblock.myqnapcloud # URL to where the API is publicly accessible REVOLT_PUBLIC_URL=http://replaceblock.myqnapcloud/api VITE_API_URL=http://replaceblock.myqnapcloud/api # URL to where the WebSocket server is publicly accessible REVOLT_EXTERNAL_WS_URL=ws://replaceblock.myqnapcloud/ws # URL to where Autumn is publicly available AUTUMN_PUBLIC_URL=http://replaceblock.myqnapcloud/autumn # URL to where January is publicly available JANUARY_PUBLIC_URL=http://replaceblock.myqnapcloud/january ## ## hCaptcha Settings ## ``` docker-compose.yml ``` # Caddy web server caddy: image: caddy restart: always env_file: .env ports: - "5010:80" volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./data/caddy-data:/data - ./data/caddy-config:/config ``` ----------2023.9.4 Update--------- Now I solved the problem. The env file should add the port along with the docker-compose.yml. .env ```## ## Quark configuration ## # MongoDB MONGODB=mongodb://database # Redis REDIS_URI=redis://redis/ # Hostname used for Caddy # This should in most cases match REVOLT_APP_URL HOSTNAME=:80 # URL to where the Revolt app is publicly accessible REVOLT_APP_URL=http://replaceblock.myqnapcloud:5010 # URL to where the API is publicly accessible REVOLT_PUBLIC_URL=http://replaceblock.myqnapcloud:5010/api VITE_API_URL=http://replaceblock.myqnapcloud:5010/api # URL to where the WebSocket server is publicly accessible REVOLT_EXTERNAL_WS_URL=ws://replaceblock.myqnapcloud:5010/ws # URL to where Autumn is publicly available AUTUMN_PUBLIC_URL=http://replaceblock.myqnapcloud:5010/autumn # URL to where January is publicly available JANUARY_PUBLIC_URL=http://replaceblock.myqnapcloud:5010/january ## ## hCaptcha Settings ## ```
Author
Owner

@Arcane-gif commented on GitHub (Aug 4, 2023):

Hello,
Having the same problem :/
I tried different options but no result. How to decide?
image

@Arcane-gif commented on GitHub (Aug 4, 2023): Hello, Having the same problem :/ I tried different options but no result. How to decide? ![image](https://github.com/revoltchat/self-hosted/assets/141409992/926aeea8-b034-4423-b68e-383a1b8b6597)
Author
Owner

@curve1417 commented on GitHub (Aug 12, 2023):

Okay I got it to work. revolt-database doesn't support the processor type kvm64, switched it to host and this solved my problem.

@curve1417 commented on GitHub (Aug 12, 2023): Okay I got it to work. revolt-database doesn't support the processor type kvm64, switched it to host and this solved my problem.
Author
Owner

@insertish commented on GitHub (Nov 13, 2024):

Documentation has been updated, please feedback if any issues persist.

@insertish commented on GitHub (Nov 13, 2024): Documentation has been updated, please feedback if any issues persist.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/self-hosted#47