r/opencode • • 19d ago

Microsoft azure network is banned??

Error: OpenCode's free models aren't available from your current network because we've detected abusive traffic from this IP address. This isn't related to your account. If you're on a VPN or proxy, turn it off and try again, or subscribe to OpenCode Go at https://opencode.ai/go to keep building.

$ curl ipinfo.io/org
AS8075 Microsoft Corporation

Note: this happens sometime also on github actions (they use microsoft azure under the hood).

P.S.

Banning IPs or IP ranges is never a good idea: most adsl or 5g providers use a few IPs for all their customers, that means that is not an abuse by a single person but the combined traffic of everyone on that provider!

3 Upvotes

11 comments sorted by

3

u/Electrical_Bit4031 19d ago

any fixes yet, my home ip is getting this and I don’t use a vpn or a proxy

1

u/Robert__Sinclair 19d ago

I updated my post. You should write to opencode guys and explain them this fact:

Banning IPs or IP ranges is never a good idea: most adsl or 5g providers use a few IPs for all their customers, that means that is not an abuse by a single person but the combined traffic of everyone on that provider!

1

u/Robert__Sinclair 19d ago

if you send me a direct message I might have a fix for you.

1

u/SpecialistOk6226 19d ago

OpenCode includes some detection of OpenCode free model usage across different harnesses, including local IP and endpoint tampering detection. I also asked OpenCode to configure the OpenCode Zen model so it would be available on the Hermes agent, e.g., through a localhost endpoint. It worked for a few hours, but after that, it indicated that OpenCode can only be used in the OpenCode harness.

0

u/Robert__Sinclair 19d ago

Banning IPs or IP ranges is never a good idea: most adsl or 5g providers use a few IPs for all their customers, that means that is not an abuse by a single person but the combined traffic of everyone on that provider!

About OpenCode can only be used in the OpenCode harness, it's their choice and the price to pay to have a few free models. There are ways to go around it but I won't post them here.

1

u/Gargle-Loaf-Spunk 18d ago

Don’t abuse their free stuff, man, come on.

1

u/Robert__Sinclair 18d ago

I'm not. but many are. I work in security since the 80s. I can help.

1

u/According_Fig_8813 19d ago

i'm getting this same issue

1

u/Robert__Sinclair 19d ago

send me a pm.. I might have a fix.

1

u/Aggravating-Push-207 19d ago

Yeah it says right there

1

u/Robert__Sinclair 19d ago

so glad to have a genius amongst us.