Closed wjhtinger closed 7 years ago
There is no error in the log, all seems fine.
./gradlew bootRun
is used to spin up a local dev version of the code without having to go more trouble, which is exactly what is happening here.
The command won't go in background and won't exit until you press Ctrl+C, if that's where you are blocked.
Could you elaborate on what the issue is exactly?
OK. I see. And test the signing key, works fine.
But now I still cant work it with a synapse homeserver. I have configure the trusted_third_party_id_servers: with - http://localhost:8090 in homeserver.yaml. And get the error of "Untrusted ID server '8090' (Status 400)" in client.
In README.md, said that must run an HTTPS reverse proxy? But how?
Synapse will try to establish a HTTPS connection from my experience, so that's most likely the untrusted error.
As for the reverse proxy, you can do it with Apache or Nginx or HAProxy...
The web server will perform the SSL handling and proxy the HTTP part to the Identity Server.
You can find many tutorial online about this.
OK, thanks. I have run a Nginx, can you give a cofigure demo for this?
It's a bit difficult to provide you with a demo config since it usually requires a non-trivial config (as you need to enable modules, have a certificate, know if synapse runs on the same machine as the mxisd, etc.) and I feel this is out of scope here.
I do agree it's an important part and that you can't get anywhere without it so I'll create a Wiki page in the coming days that will show a deployment example with synapse, mxisd and a reverse proxy for both.
I didn't forget you, I'm still working on the architecture and the integration with Synapse - a bit harder than expected.
Stay tuned...
For anyone interested, we are currently talking design with the Matrix devs on the dedicated Matrix Identity room: #matrix-identity:matrix.org
I've also created a Matrix room for this project: #mxisd:kamax.io
@wjhtinger would you consider using Apache2 as reverse proxy? I could share my current setup
@maxidor Interesting. Please, share you current setup.
@slipeer I'll write a wiki page within the next 24h and ping you then.
Run ./gradlew bootRun, then meet some errors and blocked, the log as below: