-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I'm hitting Cloudflare blocks when trying to place orders. My code was working fine and this suddenly started happening. Other methods(get_balance_allowance etc are working fine). I've tried using various proxies (residential, lots of locations) and even tried routing the request through Playwright without being able to fix it.
Have anyone else experienced this? It is annoying as the whole point of the library is to develop bots, yet they have setup Cloudflare to block that exact behaviour.
Could the devs remove/reduce level of Cloudflare on Clob end points?
order_args = OrderArgs(price=price, size=amount, side=BUY, token_id=token_id)
signed_order = client.create_order(order_args)
client.post_order(signed_order)
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
<head>
<title>Attention Required! | Cloudflare</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" /><![endif]-->
<style>body{margin:0;padding:0}</style>
<!--[if gte IE 10]><!-->
<script>
if (!navigator.cookieEnabled) {
window.addEventListener('DOMContentLoaded', function () {
var cookieEl = document.getElementById('cookie-alert');
cookieEl.style.display = 'block';
lauferomer
Metadata
Metadata
Assignees
Labels
No labels