حد التسجيل من عنوان 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.

إعجاب واحد (1)

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.

3 إعجابات

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.

إعجابَين (2)

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.

إعجابَين (2)

thankq this replay is good for me :grinning:

مرحبًا جيف،

لقد خففت الإعدادات وأعدت تشغيل المثيل، لكنني ما زلت أواجه هذا الخطأ

“errors”:{“ip_address”:[“لا يُسمح بالتسجيلات الجديدة من عنوان IP الخاص بك.”]}

هل هناك أي شيء آخر يمكنني تجربته؟ أو كيف يمكنني تحسين عملية التصحيح؟

شكرًا لك،
إيفان

إعجاب واحد (1)

هل تستخدم وكيلًا عكسيًا على خادمك، أم Cloudflare؟

إعجابَين (2)

أستخدم Cloudflare وأواجه هذه المشكلة.

أضف قالب Cloudflare إلى ملف app.yml وأعد البناء.

عذرًا، ما هو قالب كلاودفلير؟

اتصل بخادمك عبر SSH وقم بتحرير ملف app.yml لإضافة هذا إلى كتلة القوالب:

- "templates/cloudflare.template.yml"

تأكد من محاذاة هذا السطر مع القوالب الأخرى في تلك الكتلة. ملف YML حسّاس جدًا لأي أخطاء في المسافات البادئة. يجب أن يكون هناك مسافتان قبل السمة -.

ثم احفظ الملف وأعد البناء.

إعجابَين (2)

شكراً لك! موقعنا خلف Cloudflare - حاولت إضافة templates/cloudflare.template.yml إلى ملف app.yml الخاص بنا ولكن ما زلت أواجه نفس رسالة الخطأ. هل القالب cloudflare حصري مع القالب web.ratelimited؟

إعجاب واحد (1)

لا يزال يحدث. أنا أستخدم واجهات برمجة تطبيقات discourse.

هل تم إصلاحه الآن؟

ليس معي