Let's engineer the world we want to live in.
This is a test pdf.
I noticed a pattern of my Chat App sending a 'socket hang up' error message every couple of days.
pic of UptimeKuma logs
I figured out that this is an exception being thrown by the server, and found this article outlining possible reasons for a socket hang up error when using websockets in node.js and express.js.
Right off the bat, I noticed that my server's source code - which I wrote back in the Spring of last year - is using http. This works fine for running the app locally in port 3000 during development. However, the production app is receiving requests for a https connection. *but then why wouldn't I see this exception all the time in the logs?
Wait a minute, could it be that the hang up is happening on the front - end side somehow? I ask this because uptimekuma is simply grabbing the response being sent to the web browser over the network.
wait a minute, perhaps this is the 'expected heartbeat'. But if that is the case, then why is it taking hours to show 200 OK again after the 'web socket hangup' in the wee hours?
I decided to see if I could monitor the websocket activity in wireshark.Also , I am going to try to manually re-create this the next time I see a 'down' message showing 'socket hang up' from uptimekuma.
10/9/23: I woke up to a 'socket hang up' down message in uptime kuma. I went to where I had the app open in chrome and refreshed the browser. it worked fine. uptimeKuma notifed 'app back up'. ?
A harrowing and detailed account of my first ever attempt at installing Kali Linux on an old Chromebook
Monitor your applications, servers, websites, and more using Uptime Kuma. You can even have it send notifications to your phone!
I just hacked my home network for the first time using some basic tools from nmap, a free open source network security scanning tool
I built a hotel booking app using C#/.NET/Dapper inspired by Tim Corey's C# Masterclass (check it out at iamtimcorey.com)! Read on for some info I've learned recently on both Dapper and Entity Framework.
P.S. Bonus points for anyone who spots the Star Trek reference in one of the gifs! Live long and prosper y'all!
Check out these perfectly imperfect solutions I developed for some LeetCode problems.
Follow the steps in Adrian Cantrill's AWS Client VPN tutorial miniseries to build a Client VPN and view the long-awaited CATBREAD gif.
Learn some basics about reflected XSS (cross site scripting) and how to prevent this common attack as a developer.
Hackable Chat, a tool for understanding the basics of SQL injection.
How will you use your 15 Minutes?