Comments (7)
Your base_url: 'https://matrix.sleser.de/element/register'
is wrong.
It should be base_url: '/element'
for https://matrix.sleser.de/element/register
I'm not sure weather this is the core issue, but try changing that
from matrix-registration.
Hey, thanks for your fast replay.
I changed it to '/element' but i still got the same error
root@vmd76330:~# matrix-registration --config-path /etc/matrix-synapse/registration/config.yaml serve
Traceback (most recent call last):
File "/usr/local/bin/matrix-registration", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/flask/cli.py", line 586, in main
return super(FlaskGroup, self).main(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/flask/cli.py", line 426, in decorator
return __ctx.invoke(f, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/matrix_registration/app.py", line 58, in run_server
serve(app, host=config.config.host, port=config.config.port, url_prefix=config.config.base_url)
File "/usr/local/lib/python3.9/dist-packages/waitress/__init__.py", line 12, in serve
server = _server(app, **kw)
File "/usr/local/lib/python3.9/dist-packages/waitress/server.py", line 81, in create_server
last_serv = TcpWSGIServer(
File "/usr/local/lib/python3.9/dist-packages/waitress/server.py", line 239, in __init__
self.bind_server_socket()
File "/usr/local/lib/python3.9/dist-packages/waitress/server.py", line 368, in bind_server_socket
self.bind(sockaddr)
File "/usr/local/lib/python3.9/dist-packages/waitress/wasyncore.py", line 398, in bind
return self.socket.bind(addr)
OSError: [Errno 99] Cannot assign requested address
i had to change the bind_addresses in my homerserver.yaml config: ['::1', '127.0.0.1'] to 'localhost', otherwise the server did not start, can it be a similar problem? In the matrix-registration config its host = 'localhost', but maybe in another module?
from matrix-registration.
Ok so the error serve(app, host=config.config.host, port=config.config.port, url_prefix=config.config.base_url)
indicates that you have problems in either:
- host (try changing that to the ip that
ping localhost
gives you or 0.0.0.0) - port (is 5000 still free?)
- base_url (you fixed that)
from matrix-registration.
ping localhost
gave me 127.0.0.1 and i changed it.
Now it works and i can open http://localhost:5000/register.
Thank you very much.
Now I just need to make it accessible via the domain, that doesn't work yet. So neither from the server nor from the computer.
I have so far no firewall, maybe an idea what it could be?
from matrix-registration.
I found the error, is because I use https, adjusted the Ngnix Matrix.conf and now I get to the page, however I can not interact with it.
from matrix-registration.
You set base_url: '/element'
but you seem to want it to be https://matrix.sleser.de/register?lang=de not https://matrix.sleser.de/element/register?lang=de right? (judjing from your location ~ ^/(static|register)
nginx config)
If so you need to set it to base_url: ''
from matrix-registration.
Okay i guess i understand it now..
I changed it and now it works fine, thank you very much, you saved my evening.
Thank you for your patience :)
from matrix-registration.
Related Issues (20)
- docker healthcheck fails after running for a while
- Errors by exec "matrix-registration"
- home_server field in registration response is deprecated HOT 3
- No such option --config-path HOT 3
- Broken with SQLAlchemy 2+
- synapse's password policy is ignored/circumvented HOT 4
- All Requests Respond with 404 After Upgrade HOT 2
- Add Support for deleting tokens from the database via API HOT 1
- Remote IP not captured correctly HOT 9
- Not compatible with flask-limiter >= 2.0.1, but `setup.py` will cause it to be installed anyways HOT 4
- Are you still updating the docker images? HOT 2
- Generated token is not recognized HOT 2
- API does not working? HOT 5
- arm64 docker image HOT 1
- Can't access registration page on port 5000 HOT 8
- install error on Ubuntu 22.04 HOT 2
- How to change Website language? HOT 1
- 404 Error ehwn i try to connect matrix-registration on port 5000 HOT 5
- Is this project dead? HOT 2
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 matrix-registration.