Registration Limit from IP Address

My users are getting the following when they try to signup:

“New registrations are not allowed from your IP address (maximum limit reached). Contact a staff member.”

I didn’t set a limit that I know of, so not sure why this is happening. We are all at the same three IP address because the forum is for a company intranet.

Either relax the limit in site settings or make sure there is at least one staff member from each IP.

What is that setting called though? I can’t find it.

Go to Settings and search for ‘registration’ - have a look for “max new accounts per registration ip”

It’s in the ‘spam’ menu item in Admin > Settings.

If I make it 0 will it be unlimited?

Not sure - make it six nines to be safe (don’t go too high or it might overflow)

We protect against overflows in settings because this has happened many times before.

I changed the option to 100 and I still have the issue. Does it take some time to be taken into account?

Ok sorry my IP was blocked. I authorized it and it’s now working.

ありがとうございます、この返信は私にとってとても役に立ちました :grinning:

こんにちは、ジェフさん。

設定を緩和し、インスタンスも再起動しましたが、まだこのエラーが発生しています。

“errors”:{“ip_address”:[“New registrations are not allowed from your IP address.”]}

他に試せることはありますか?あるいは、より良いデバッグ方法はありますか?

よろしくお願いいたします、
エバン

サーバーでリバースプロキシを使用していますか、それとも Cloudflare を使用していますか?

Cloudflare を使用しており、この問題が発生しています。

app.yml に Cloudflare テンプレートを追加して、再ビルドしてください。

すみません、Cloudflare テンプレートとは何ですか?

サーバーに SSH で接続し、app.yml ファイルを編集して、templates ブロックに以下を追加してください:

- "templates/cloudflare.template.yml"

他のテンプレートと同じインデントに合わせる必要があります。YML ファイルはインデントエラーに非常に敏感です。- の前にスペースを2つ入れる必要があります。

その後、保存して再ビルドしてください。

ありがとうございます!当社のサイトはCloudflareの背後にあります。app.ymltemplates/cloudflare.template.ymlを追加してみましたが、同じエラーメッセージが表示されます。cloudflareテンプレートはweb.ratelimitedテンプレートと排他的ですか?

まだ発生しています。Discourse APIを使用しています。

修正されましたか?

私とは違う