Menu

1 / 4

6 Problems Building a PC Monitor in C, Flask and CrewAI

DEV Community: flask·Yunus Emre Güzel·1 day ago
#bezhAcd8
#devtoflask#devto#dev#crew#server
Long article (2331 words) — no AI summary yet.
Reading 0:00
15s threshold

PC Pulse is a system monitor I built as a browser dashboard. Three parts do the work. A C program judges how healthy the computer is. A Flask server collects the numbers with psutil . A CrewAI crew writes a short health report. The project is on GitHub , and How to Make AI Projects in C shows how it works. This post covers the other half. You'll see the problems that came up, what each one looked like, and the tests that stop it from coming back. The screenshots are from my own PC. I ran the checks on Python 3.14 with GCC 16.1 on Windows (the clean-environment check in problem 1 used Python 3.12).

Problem 1: Failed to Load Page (ERR_CONNECTION_REFUSED)

The browser could not reach 127.0.0.1:5000.

Of the six, this one is the simplest. I opened http://127.0.0.1:5000/ and the browser said Failed to Load Page with ERR_CONNECTION_REFUSED . Don't read that as a broken dashboard. It just means nothing is listening on port 5000. The Flask server isn't running.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.