Limite de registro por endereço IP

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.

obrigado, essa resposta é boa para mim :grinning:

Olá Jeff,

Relaxe as configurações e também reiniciei a instância, mas ainda estou enfrentando esse erro:

“errors”:{“ip_address”:[“Novos cadastros não são permitidos a partir do seu endereço IP.”]}

Há mais alguma coisa que eu possa tentar? Ou algo para depurar melhor?

Obrigado,
Evan

Você está usando um proxy reverso no seu servidor ou o Cloudflare?

Eu uso o Cloudflare e tenho esse problema.

Adicione o modelo do Cloudflare ao seu app.yml e reconstrua.

Desculpe, o que é o modelo Cloudflare?

Acesse seu servidor via SSH e edite o arquivo app.yml para adicionar o seguinte ao bloco de templates:

- "templates/cloudflare.template.yml"

Certifique-se de que esteja alinhado com os outros templates nesse bloco. O arquivo YML é muito sensível a erros de indentação. Devem haver dois espaços antes do -.

Em seguida, salve e reconstrua.

Obrigado por isso! Nosso site está atrás do Cloudflare - tentei adicionar templates/cloudflare.template.yml ao nosso app.yml, mas ainda estou encontrando a mesma mensagem de erro. O template cloudflare é mutuamente exclusivo com o template web.ratelimited?

Ainda está acontecendo. Estou usando as APIs do Discourse.

Está corrigido agora?

comigo não