If you are anything like me and enjoy the occasional flight simulator like space truck simulator, then you may have heard of the VKB series of FlightSim products. They have a reputation in the community for producing high-quality and aesthetically pleasing flightsticks, which makes them a widely sought after peripheral. The result is a disproportional supply to an ever increasing demand, often leaving these peripherals out-of-stock with players waiting patiently for the restock notification. Of course, this creates the ideal conditions for scalpers to swoop in with their bots and buy out the entire stock of these devices, hoping to sell them at a hefty premium.
Such was the case on the 24th of February 2021, when the long awaited restock notification arrived. Quite predictably, many rushed to place an order for one of the VKB NXT sticks, however, the scalpers already had their bots in operation. This influx of visitors led to a Denial of Service for everyone on the site, with many suspecting the source being a large number of scalper bots.
The error returned is 502, which typically means that the server is running out of memory due to having to handle a large number of active connections. If I continually try to connect to the server (via refreshing), eventually I should be able to start a connection and open the page.
After loading the page and selecting the product, I was able to add the product to my local cart by clicking the button.
Again I was greeted by a 502 error, which required me to continuously refresh as before.
Eventually the product was added to my cart and I wanted to proceed to the checkout.
Once I was happy with what I had in the cart, it was time to checkout and pay. This was again a very slow process.
Eventually I saw the final checkout window with my billing information. All that was for me to do was confirm and pay. However, due to server latency at the time, elements of the page were stuck in a loading loop and I was unable to click on the final button to submit my order.
name="terms" that can be used to identify it.
The HTML for the submission form showed a field value of
// find the submit button on the page buy = document.getElementsByName('woocommerce_checkout_place_order'); // 'click' on the button to submit the order buy.click();
What it looks like in the inspector
A few minutes after successful submission, I received my order confirmation email!