How to Fix the "RPC failed; HTTP 413 curl 22" Error in Nginx

Understanding the Issue: ‘RPC failed; HTTP 413 curl 22’ If you’ve stumbled upon the error message “RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large,” you’re probably trying to push a rather hefty commit over HTTP to your server running Nginx. This error means that the size of the request you’re trying to send exceeds the limit that the server is willing to accept. So, how do you fix it? ...

12 October 2018 · Shafiq Alibhai

Merging Unrelated Git Histories - A Simple Guide

Are you stuck with two Git repositories or branches that have completely different histories, but you need to merge them? You may be hitting a roadblock because Git is designed to prevent this kind of operation by default. However, there’s a workaround for this, and it’s simpler than you might think. The Problem: Unrelated Git Histories Imagine you’re working on a project where you have a main branch, and someone else has a completely separate project with its own history. Now, you want to combine both projects into a single repository. If you try to perform a regular git merge or git rebase, Git will likely stop you with an error message, something like: ...

4 September 2018 · Shafiq Alibhai

Release Engineering

Release Engineering I’ve been thinking about how we get changes from a laptop into production without someone having to SSH in and type things by hand. The answer, as it turns out, is a pipeline. Nothing fancy. Just a chain of steps that each do one thing and pass the result to the next. Here’s what we’re building. Git Everything starts in a Git repository. Puppet manifests, config files, deployment scripts — all of it. If it’s not in Git, it doesn’t exist. This is the part that matters most and the part people resist the most, because Git means your changes are visible. ...

30 August 2012 · Shafiq Alibhai