"You can't login from that IP address"

I am getting error while login to my account

You can't login from that IP address.

How to fix it.

You have blacklisted an IP address, which prevents users from logging in using that IP address – check Admin → Logs → Screened IPs.

Search for the IP or IP range that is being blocked and press the Allow button

Thanks, system has blocked this particular IP range automatically!

It’s due to spam deletions. If you press “delete and block” or “delete spam” this happens automatically.

I was experimenting with my system: I’m admin. I invited myself with another mail and I responded. Now, my admin account is blocked from this IP. So I cannot just unblock it as I only have one admin account in this forum.

The /users/admin-login page will work, it will email you a one-use token.

That’s neat. Is this documented somewhere? It’s the first I see of it existing.

I am having a similar problem logging in using the app on my phone. Logging in using my phone or laptop browser works just fine,

Your phone does not have a stable IP, so you will need to disable admin login IP filtering (this is what I would do) or use a VPN on your phone to access the forum.

I encountered the same problem.

And My admin account can not log in to it also.

How can I just change it? like form ssh?

Fine. I’ve done that. I don’t really know but I got on directly by url:8888 and changed the admin>>logs>> spam ips and changed the restriction.

Now it’s done.

I got this error today trying to log in to an admin account with ‘use admin ip whitelist’ disabled, I’ve had this issue before but couldn’t figure out what was wrong. My IP was not on the logs → screened IPs block list (or in an ip range, which I’m not using).

On v2.2.5 I had a list of blocked IPs from spammers, after looking up more info on these IP addresses (https://whatismyipaddress.com/). It showed that a lot of them are owned by Cloudflare. So it must be due to Cloudflare proxying.

Just a heads up for people using Cloudflare (exluding DNS only mode), this might be causing your issue.

I believe the real IP can be obtained from Cloudflare using CF-Connecting-IP or X-Forwarded-For headers: https://support.cloudflare.com/hc/en-us/articles/200170986-How-does-Cloudflare-handle-HTTP-Request-headers-

Correct, there’s a template you need to add to your YML file if you’re using Cloudflare.

in templates: add:

- templates/cloudflare.template.yml

Perfect! Will add it now. Thanks @Stephen, appreciate it! :slight_smile:

감사합니다. 제 문제는 바로 그거였어요. 명확성을 위해 Admin:Logs:Screened IPs 아래에 있는 규칙을 수정해야 했어요.

경로가 /u/admin-login으로 변경된 것 같고, 일회용 토큰이 IP 주소 확인을 우회하지 못하고 있습니다. 이 문제를 해결할 다른 방법이 있을까요? 현재 포럼에 접속할 수 없고, 저만이 유일한 관리자입니다.

네, VPN을 통해 해결했습니다. 제 IP 주소가 어떻게 차단되었는지 알려 주실 수 있으신가요? 다시 이런 일이 일어나지 않도록 방지하고 싶습니다.

“관리자 로그인 허용” 유형의 필터링된 IP 주소가 추가되면, 관리자는 관리자 로그인이 허용된 IP 주소 목록에 포함된 IP 주소에서만 로그인할 수 있습니다.

안녕하세요. 사용자로서 문제를 겪고 있습니다. sharetribe 포럼(https://www.sharetribe.com/community)에 로그인하려고 하는데, 휴대폰, 업무용 컴퓨터, 노트북 어디에서든 로그인이 되지 않습니다. VPN을 사용하면 정상적으로 작동합니다. sharetribe 지원팀에 IP 주소를 전달했는데, 차단된 것이 아니며 오류 원인을 모른다고 답변했습니다.

해결 방법은 위 주제에 게시되어 있습니다:

관리자 → 로그 → 차단된 IP.

차단 중인 IP를 검색한 후 허용 버튼을 누르세요