IP Address (-Range) Blocked by Cloudflare

Hi,

I’m facing a recurring issue, where requests coming from our companies servers are denied with Access Denied errors:
```
curl “https://api.groq.com/openai/v1/chat/completions”
-X POST
-H “Content-Type: application/json”
-H “Authorization: Bearer ${GROQ_API_KEY}”
-d ‘{
“messages”: [
{
“role”: “user”,
“content”: “Hi”
}
],
“model”: “openai/gpt-oss-20b”,
“temperature”: 1,
“max_completion_tokens”: 8192,
“top_p”: 1,
“stream”: true,
“reasoning_effort”: “medium”,
“stop”: null
}’

{“error”:{“message”:“Access denied. Please check your network settings.”}}
```

After some back and forth with my IT and your support chat I was told that neither can my IT change our public IP addresses, nor can Groq Whitelist specific IP addresses in the Cloudflare configuration.
Now this is obviously an unsatisfactory situation and I’m wondering firstly, how did our IP range even get blocked in Cloudflare and secondly are there other users facing similar issues? I was recommended to ‘connect to a different network’ but that is not something I can do with our CI/CD runners.

Do you maybe have other suggestions on how to resolve the issue?

Kind Regards
Enrico

Hi Enrico,

I apologize for this; could you reach back out to support@groq.com and log the response.headers with the cf-rayId so we can resolve your issue.

Best,
Jan

Hi Jan,

Thanks for getting back to me. Today the issue appears to be resolved, so I can’t reproduce the error or capture the headers at the moment. Since it seemed to fix itself before only to return later, I expect it may happen again. When that happens, I’ll make sure to send you the requested details right away.

Kind regards,
Enrico

Hi Enrico,

We’ve been working with our Cloudflare contacts behind the scenes, but please email our support again with the data asap if it happens again; the details help us trace down what Cloudflare is doing behind the scenes.

Best,
Jan

1 Like

Happens all the time with Proton VPN. Anyone working out of a coffee shop that uses VPN can’t use apps that use Groq!

Yeah we’ve put some abuse protections in place, but we’re reviewing this policy right now. Stay tuned.

1 Like

hi , i am also facing the same issue . {“error”:{“message”:“Access denied. Please check your network settings.”}} on my company server. i contacted support team but that say to change my ip which is currently infeasible for me so can you provide any other solution.

What IP / location are you in?

(This happens with VPNs and certain IP ranges, but sometimes Cloudflare does this in error so we have to lodge a report)

Location: India (Ahmedabad). Currently using a public IP in the 103.24.x.x range.

thanks for sharing, I’ll escalate this with support — make sure that you don’t have any VPNs turned on, that’s usually the main reason this is triggered (sometimes including company VPNs/firewalls or service provider VPNs)

edit: could you please share your cf-ray headers (more info here: Cloudflare HTTP headers · Cloudflare Fundamentals docs)

The issue appears to be resolved today. Thank you for your prompt response and support.

1 Like

I’m glad it worked! We raised it with Cloudflare — please post again if it fails

1 Like

Hi team! I’m getting blocked by Cloudflare when trying to use the Groq API and enter the developer console. I have to write this on my phone because I can’t sign in to this community chat without getting the access denied message. I tried on my normal connection, then a few VPNs.

Error:

  • HTTP 403: “Access denied. Please check your network settings.”

CF-Ray headers:

  • 9a30b37b1c3f1624-MRS (2025-11-23 12:34:30 GMT)
  • 9a309ed22e54f134-BCN (2025-11-23 12:20:24 GMT)
  • 9a30873c5ef8cc4a-BCN (2025-11-23 12:04:17 GMT)

Location: Barcelona, Spain

Endpoints affected:

  • /openai/v1/chat/completions
  • /openai/v1/models

Happy to share my IP privately if a team member needs it for investigation.

Thanks!!

Thank you for sharing CF Ray headers; we’ve filed a ticket with Cloudflare

BTW Proton VPN and Cloudflare don’t seem to mix. Consistently get denied errors from Groq!

Yes, we block VPNs for fraud prevention

Hi Yawn,

Is there any possibilities for allowing to stay with VPN?

We’re considering adjusting our abuse policies at some point, but as for now, we don’t allow VPN use.

Usability with a VPN would be great. I do not use wifi connections other than at my home without a VPN, and even at home for ad blocking reasons.
The ability to use or not use your services with a VPN would play a big role in the decision making process to switch from free to a paid plan.

+1 (NordVPN used here).
I won’t be able to use groq for my product (mac app) if blocked :face_with_raised_eyebrow: (and cannot predict what VPN my users will use).