<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: IGProd</title>
    <description>The latest articles on DEV Community by IGProd (@igprod).</description>
    <link>https://dev.to/igprod</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4281333%2Fc2616a8e-7198-4328-b8fb-5ef8e8f7c2de.png</url>
      <title>DEV Community: IGProd</title>
      <link>https://dev.to/igprod</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/igprod"/>
    <language>en</language>
    <item>
      <title>I Triggered Cloudflare Error 1015 on Purpose. Here's What Happened.</title>
      <dc:creator>IGProd</dc:creator>
      <pubDate>Thu, 03 Dec 2026 19:59:57 +0000</pubDate>
      <link>https://dev.to/igprod/i-triggered-cloudflare-error-1015-on-purpose-heres-what-happened-1o5e</link>
      <guid>https://dev.to/igprod/i-triggered-cloudflare-error-1015-on-purpose-heres-what-happened-1o5e</guid>
      <description>&lt;p&gt;Cloudflare Error 1015 is easy enough to explain, but I wanted to see what actually happens at the HTTP level when a rate limiting rule kicks in.&lt;/p&gt;

&lt;p&gt;So I tested it on a domain running Cloudflare's Free plan using Ubuntu, curl, and Chrome.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;Nothing complicated. I created a rate limiting rule targeting a single path, &lt;code&gt;/getting-started&lt;/code&gt;, with the following settings:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;5 requests per 10 seconds&lt;/li&gt;
&lt;li&gt;Counting characteristic: IP address&lt;/li&gt;
&lt;li&gt;Action: Block&lt;/li&gt;
&lt;li&gt;Block duration: 10 seconds&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before enabling the rule, all 12 test requests returned HTTP 200.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened after enabling the rule?
&lt;/h2&gt;

&lt;p&gt;I ran a simple test against my own test domain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;for&lt;/span&gt; i &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;$(&lt;/span&gt;seq 1 8&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  curl -s -o /dev/null -w &lt;span class="s1"&gt;'%{http_code} '&lt;/span&gt; \
    https://test.nexaforge.si/getting-started
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first five requests went through. Starting with request number six, Cloudflare returned HTTP 429.&lt;/p&gt;

&lt;p&gt;Checking the blocked response revealed something useful: the &lt;code&gt;Retry-After&lt;/code&gt; header was present, even though the browser's error page didn't display a countdown.&lt;/p&gt;

&lt;p&gt;I also tried opening &lt;code&gt;/changelog&lt;/code&gt; while the original path was blocked. It worked normally.&lt;/p&gt;

&lt;p&gt;After waiting 11 seconds, the original page returned HTTP 200 again.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interesting part: repeated retries
&lt;/h2&gt;

&lt;p&gt;I wanted to check whether repeatedly refreshing the page would make any difference.&lt;/p&gt;

&lt;p&gt;Sending one request every second resulted in 18 blocked requests out of 30.&lt;/p&gt;

&lt;p&gt;With a three-second delay between requests, all 10 requests succeeded under this particular rule.&lt;/p&gt;

&lt;p&gt;For me, this is a good example of why retry logic matters. A client that immediately retries every failed request can end up making the original problem worse.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd check on a production website
&lt;/h2&gt;

&lt;p&gt;Before increasing the rate limit or disabling the rule entirely, I'd look at Cloudflare's Security Events:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which rule triggered the block?&lt;/li&gt;
&lt;li&gt;Is the rule protecting a specific endpoint or the entire website?&lt;/li&gt;
&lt;li&gt;Could legitimate users be sharing the same public IP?&lt;/li&gt;
&lt;li&gt;Are automated clients handling HTTP 429 correctly?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Increasing the threshold without understanding the traffic might simply hide the underlying problem.&lt;/p&gt;

&lt;p&gt;I've documented the full experiment, including dashboard screenshots, HTTP responses, commands, and troubleshooting steps for both visitors and website owners, here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://igprod.net/cloudflare-error-1015" rel="noopener noreferrer"&gt;Cloudflare Error 1015 — Full test and troubleshooting notes&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm also curious how others handle rate limiting on production websites, especially when legitimate users share an IP address.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This write-up is based on our documented tests, with AI assistance in drafting.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloudflarechallenge</category>
      <category>devops</category>
      <category>security</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
