# Matrix won't start with Public Registration enabled

**URL:** https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185
**Category:** Support
**Created:** [July 21, 2022, 2:21am UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185 "2022-07-21T02:21:16Z")
**Posts on this page:** 15
**Page:** 2

<div class="post-metadata">

### Author: ![Frankie](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/frankie/32/865_2.png) [@Frankie](https://discuss.freedombox.org/u/Frankie)
#### Post date: [September 1, 2022, 4:26pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/21 "2022-09-01T16:26:41Z")

</div>

Yes. That is exactly the same issue I am experiencing, and presumably everyone else on FB V22.15.

---

<div class="post-metadata">

### Author: ![l1fe](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/l/f14d63/32.png) [@l1fe](https://discuss.freedombox.org/u/l1fe)
#### Post date: [September 1, 2022, 4:31pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/22 "2022-09-01T16:31:00Z")

</div>

What’s odd is element can’t seem to find my matrix server even with public registration off. I’d expect to connect, and not be allowed to join… Can you connect?

---

<div class="post-metadata">

### Author: ![Frankie](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/frankie/32/865_2.png) [@Frankie](https://discuss.freedombox.org/u/Frankie)
#### Post date: [September 1, 2022, 4:41pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/23 "2022-09-01T16:41:39Z")

</div>

That sounds like a completely different issue entirely.

---

<div class="post-metadata">

### Author: ![l1fe](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/l/f14d63/32.png) [@l1fe](https://discuss.freedombox.org/u/l1fe)
#### Post date: [September 1, 2022, 5:54pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/24 "2022-09-01T17:54:29Z")

</div>

so in your situation element can connect?

---

<div class="post-metadata">

### Author: ![Frankie](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/frankie/32/865_2.png) [@Frankie](https://discuss.freedombox.org/u/Frankie)
#### Post date: [September 1, 2022, 9:40pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/25 "2022-09-01T21:40:33Z")

</div>

Have you tried a project like this?

> **[matrix-registration | Matrix.org](https://matrix.org/docs/projects/other/matrix-registration/)**
>
> A token based Matrix registration api

---

<div class="post-metadata">

### Author: ![l1fe](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/l/f14d63/32.png) [@l1fe](https://discuss.freedombox.org/u/l1fe)
#### Post date: [September 4, 2022, 12:53pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/26 "2022-09-04T12:53:20Z")

</div>

I have not, thanks for the recommendation.

Please answer this for me in your situation, if you run the matrix server with public registration off, can you connect to it? If so when you type in your dynamic domain in any browser what happens? does a matrix portal show itself? or does nothing show itself?

Because when I turn public registration off, the app runs but I cannot connect to the domain through a browser or the element chat program.

---

<div class="post-metadata">

### Author: ![neil](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/n/839c29/32.png) [@neil](https://discuss.freedombox.org/u/neil)
#### Post date: [September 24, 2022, 6:41pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/27 "2022-09-24T18:41:26Z")

</div>

Do you have the following in /etc/matrix-synapse/homeserver.yaml?

enable\_registration\_without\_verification: true

enable\_registration: true

---

<div class="post-metadata">

### Author: ![Frankie](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/frankie/32/865_2.png) [@Frankie](https://discuss.freedombox.org/u/Frankie)
#### Post date: [September 25, 2022, 2:39am UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/28 "2022-09-25T02:39:04Z")

</div>

Thanks Neil. I feel kind of silly now. The server starts no problem. Thank You! It seems I cannot yet register however:

![Screenshot_20220924_193648](https://discuss.freedombox.org/uploads/default/original/1X/1c0c651e5b2c17108c7de8a136faf3b1c7991fbc.png)

I guess I just need to read up on how to create a site key if I want to use Captchas.

---

<div class="post-metadata">

### Author: ![Frankie](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/frankie/32/865_2.png) [@Frankie](https://discuss.freedombox.org/u/Frankie)
#### Post date: [September 25, 2022, 5:38pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/29 "2022-09-25T17:38:02Z")

</div>

Okay, added the private and public keys into the homeserver.yaml. For some reason it still refused to work until I unchecked 'Verify the origin of re CAPTCHA solutions" for in the Google settings.

Now it’s working.

On to the next problem.

---

<div class="post-metadata">

### Author: ![eboelens](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/e/bb73d2/32.png) [@eboelens](https://discuss.freedombox.org/u/eboelens)
#### Post date: [October 8, 2022, 6:06pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/30 "2022-10-08T18:06:03Z")

</div>

Can somebody help please ?  
I modified the yaml , see below but Matrix wont start anymore

## Registration

# Enable registration for new users.

# 

enable\_registration\_without\_verification: true  
enable\_registration: true

## Captcha

# See docs/CAPTCHA\_SETUP.md for full details of configuring this.

# This Home Server’s ReCAPTCHA public key.

recaptcha\_public\_key: “6Lf7S2YiAA\*\*\*\*\*\*r73OXerUKlyv6wIjWE\_ma5”

# This Home Server’s ReCAPTCHA private key.

recaptcha\_private\_key: “6Lf7S2YiA\*\*\*\*\*\*\*6wvp74wWgUfZP6fNC-”

# Enables ReCaptcha checks when registering, preventing signup

# unless a captcha is answered. Requires a valid ReCaptcha

# public/private key.

enable\_registration\_captcha: true

 ![Screenshot 2022-10-08 at 20.04.43](https://discuss.freedombox.org/uploads/default/original/1X/30e1ae439c1cf827b33460e5d97988736615e0de.jpeg)  
 ![Screenshot 2022-10-08 at 20.06.16](https://discuss.freedombox.org/uploads/default/original/1X/83807ada6055da302911727dcc90f918bdc1c596.jpeg)

---

<div class="post-metadata">

### Author: ![Sunil](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/sunil/32/8_2.png) [@Sunil](https://discuss.freedombox.org/u/Sunil)
#### Post date: [October 9, 2022, 3:01am UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/31 "2022-10-09T03:01:48Z")

</div>

Could you please try turning off public registration? We seem to be facing issue with it currently.

Edit: Nevermind, I didn’t see the previous discussion.

---

<div class="post-metadata">

### Author: ![Frankie](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/frankie/32/865_2.png) [@Frankie](https://discuss.freedombox.org/u/Frankie)
#### Post date: [October 9, 2022, 4:16pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/32 "2022-10-09T16:16:20Z")

</div>

Are you using the Google reCAPTCHA service?

---

<div class="post-metadata">

### Author: ![mudflap](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@mudflap](https://discuss.freedombox.org/u/mudflap)
#### Post date: [October 19, 2022, 2:53pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/33 "2022-10-19T14:53:23Z")

</div>

I have the same issue. with “public registration enabled”, I get a bunch of “fails” in the diagnostics. I turned off public registration, and I no longer get the failures in diagnostics.

---

<div class="post-metadata">

### Author: ![Frankie](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/frankie/32/865_2.png) [@Frankie](https://discuss.freedombox.org/u/Frankie)
#### Post date: [October 22, 2022, 1:51pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/34 "2022-10-22T13:51:44Z")

</div>

Hey, did you get this sorted out. I think it’s editing the YAML and adding google captcha options as described earlier in this thread that fixed it for me.

---

<div class="post-metadata">

### Author: ![mudflap](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@mudflap](https://discuss.freedombox.org/u/mudflap)
#### Post date: [November 10, 2022, 4:47pm UTC](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185/35 "2022-11-10T16:47:36Z")

</div>

Hi Frankie -  
No, I haven’t looked since then - let me review this thread, and then find some time to try this. Thanks!

[Previous page](https://discuss.freedombox.org/t/matrix-wont-start-with-public-registration-enabled/2185.md?page=1)
