Giter Club home page Giter Club logo

Comments (7)

CresentMoon avatar CresentMoon commented on June 5, 2024 1

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
##

from self-hosted.

curve1417 avatar curve1417 commented on June 5, 2024

Hello,

Having the same problem :/

from self-hosted.

jrmiller82 avatar jrmiller82 commented on June 5, 2024

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

from self-hosted.

jrmiller82 avatar jrmiller82 commented on June 5, 2024

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.

from self-hosted.

DevilKing3125 avatar DevilKing3125 commented on June 5, 2024
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

from self-hosted.

Arcane-gif avatar Arcane-gif commented on June 5, 2024

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

from self-hosted.

curve1417 avatar curve1417 commented on June 5, 2024

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

from self-hosted.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.