Límite de registro por dirección 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.

Gracias, esta respuesta me viene bien :grinning:

Hola Jeff,

He relajado la configuración y también reiniciado la instancia, pero aún tengo este error:

“errors”:{“ip_address”:[“No se permiten nuevos registros desde tu dirección IP.”]}

¿Hay algo más que pueda probar? ¿O alguna forma de depurar mejor?

Gracias,
Evan

¿Estás utilizando un proxy inverso en tu servidor o Cloudflare?

Uso Cloudflare y tengo este problema.

Agrega la plantilla de Cloudflare a tu app.yml y vuelve a compilar.

Lo siento, ¿qué es la plantilla de Cloudflare?

Conéctate a tu servidor mediante SSH y edita el archivo app.yml para agregar lo siguiente al bloque de plantillas:

- "templates/cloudflare.template.yml"

Asegúrate de que esté alineado con las otras plantillas en ese bloque. El archivo YML es muy sensible a cualquier error de sangría. Deben haber dos espacios antes del -.

Luego, guarda y reconstruye.

¡Gracias por esto! Nuestro sitio está detrás de Cloudflare. Intenté agregar templates/cloudflare.template.yml a nuestro app.yml pero sigo encontrando el mismo mensaje de error. ¿La plantilla cloudflare es mutuamente excluyente con la plantilla web.ratelimited?

Todavía está sucediendo. Estoy usando las API de Discourse.

¿Ya está arreglado?

conmigo no