404 Error ehwn i try to connect matrix-registration on port 5000
See original GitHub issueHow did you install matrix-registration?
docker
What python version are you running?
What version of matrix-registration are you running?
0.9.2-dev2
Your config.yml
server_location: “http://localhost:8008” server_name: “matrix..” registration_shared_secret: “—” # see your synapse’s homeserver.yaml admin_api_shared_secret: “—” # to generate tokens via the web api base_url: “/register” # e.g. “/element” for https://example.tld/element/register client_redirect: “https://app.element.io/#/login” client_logo: “static/images/element-logo.png” # use ‘{cwd}’ for current working directory db: “sqlite:////data/db.sqlite3” host: “0.0.0.0” port: 5000 rate_limit: [“100 per day”, “10 per minute”] allow_cors: false ip_logging: false logging: disable_existing_loggers: false version: 1 root: level: DEBUG handlers: [console, file] formatters: brief: format: ‘%(name)s - %(levelname)s - %(message)s’ precise: format: ‘%(asctime)s - %(name)s - %(levelname)s - %(message)s’ handlers: console: class: logging.StreamHandler level: INFO formatter: brief stream: ext://sys.stdout file: class: logging.handlers.RotatingFileHandler formatter: precise level: INFO filename: /data/m_reg.log maxBytes: 10485760 # 10MB backupCount: 3 encoding: utf8
password requirements
password: min_length: 8
username requirements
username: validation_regex: [] #list of regexes that the selected username must match. Example: ‘[a-zA-Z].[a-zA-Z]’ invalidation_regex: [] #list of regexes that the selected username must NOT match. Example: ‘(admin|support)’
Your error log
waitress - INFO - Serving on http://0.0.0.0:5000
Area of your issue?
installation
What happened
When i creat a container with config, there no errors in logs, but when i try to connect internal to my server to check registration page it shows:Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Steps to reproduce
No response
cant execute to console of container. in logs - 2022-09-01 08:13:02,279 - waitress - INFO - Serving on http://0.0.0.0:5000/
But in web interface - Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
Issue Analytics
- State:
- Created a year ago
- Comments:5
Sounds you can’t tell application layer 404 error code from network layer connection error.
You were very rude to me when I was trying to help you, so good luck troubleshooting this obviously user-error problem. You can still get a 404 if you’re serving something else on your hosts port 5000.
I’ve identified your problem by the way, so that should give you a clue that the solution is available based on the conversation here. Have fun 😉