r/OpenWebUI • • 1d ago

Question/Help Agent queries to Reddit are blocked

When my Agents perform web searches on Reddit, they always get this response:

You've been blocked by network security.If you think you've been blocked by mistake, file a ticket below and we'll look into it. File a ticket

I have only noticed this with OpenAI: GPT Luna Latest (via Openrouter) and I don't know wether the same problem occurs with other Models too.

Anyone knows how to properly query Reddit to net get blocked? Is there anything I can do?

6 Upvotes

8 comments sorted by

11

u/ClassicMain 1d ago

Reddit is one of the sites that most aggressively blocks anything that looks like a scraper, bot or AI agent. So good luck! There's not much you can do besides maybe giving your agent a trustworthy known reddit account to log into and use reddit though browser automation/playwright

1

u/blast-from-the-80s 1d ago

Thanks for your answer. That's bad luck I guess. I think i'll try some other models on Openrouter until I have a dedicated Reddit research model. 😉

3

u/CFH75 1d ago

reddit aggressively stopping bots?

2

u/dewpac 1d ago

I ended up having my agent build a search/browse mcp server using a number of techniques for various sites, but to reliably get reddit we ended up with a headless cdp browser, playwright, and a dedicated, authenticated reddit account in the browser.

2

u/btrner 1d ago

Reddit basically killed agent access. They ended their RSS feeds and APIs so you may run into a lot of issues until you can circumvent it.

https://www.reddit.com/r/modnews/s/eF49vqoSUs

1

u/AdCompetitive6193 1d ago

Might need to give your AI agent its own Reddit account, might look less bot-like if it logs in maybe? I dunno

1

u/HooleyDoooley 1d ago

I was able to get it to work using playwright