question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

404 Error ehwn i try to connect matrix-registration on port 5000

See original GitHub issue

How 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:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
paboumcommented, Dec 10, 2022

sounds like you aren’t launching the docker container with that port exposed to the host.

Sounds you can’t tell application layer 404 error code from network layer connection error.

0reactions
williamkraycommented, Dec 11, 2022

sounds like you aren’t launching the docker container with that port exposed to the host.

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 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · zeratax/matrix-registration - GitHub
Issues list ; 404 Error ehwn i try to connect matrix-registration on port 5000 · #97 opened on Aug 31 ; Can't access...
Read more >
Throwing 404 Error with message "Cannot POST /api/users ...
You've configured the API server to use port 5000 by default, and the frontend app is calling port 3000. Make sure you're calling...
Read more >
Error 404: 4 Ways to Fix It - Hostinger
Error 404 is a response code, meaning the server could not locate the requested content. Check this article to learn 4 steps to...
Read more >
How to Fix Error 404 Not Found on Your WordPress Site - Kinsta
The 404 (Not Found) status code indicates that the origin server did not find a current representation for the target resource or is...
Read more >
Mitel MiContact Center Knowledge Base
HotFix KB404909 - Ports becoming stuck in Dialing or Ringing... 1 attachment ... Error 404 page not found when trying to access CCM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found