---
title: "Posts — Page 3 - Benjamin"
description: "A curious software engineer based in Skopje, North Macedonia, solving engineering problems, building products people use, and sharing what I learn along the way. Page 3 of 11."
url: "/page/3"
canonical_url: "https://bfzli.com/page/3"
source_url: "https://bfzli.com/page/3.md"
type: "prose"
updated: "2026-11-06"
---

> Markdown copy of https://bfzli.com/page/3. Append `.md` to any page path on bfzli.com for its markdown twin. Full index: https://bfzli.com/llms.txt

# Posts — page 3 of 11

- [Remix Reads `process.env` in a Route Loader but the Variable Is Undefined in Production](https://bfzli.com/remix-reads-process-env-in-a-route-loader-but-the-variable-is-undefined-in-production.md) — Fix route loaders and actions that work locally but lose environment values after deployment or adapter changes.
- [Nginx Closes a WebSocket Connection After the Upgrade Because the Timeout Is Too Low](https://bfzli.com/nginx-closes-a-websocket-connection-after-the-upgrade-because-the-timeout-is-too-low.md) — Fix an Nginx reverse proxy that accepts a WebSocket upgrade but drops the socket during idle periods.
- [FastAPI Rejects a JSON Request with 422 Because the Pydantic Model Does Not Match the Payload](https://bfzli.com/fastapi-rejects-a-json-request-with-422-because-the-pydantic-model-does-not-match-the-payload.md) — Fix a FastAPI validation error caused by field names, types, or nesting that do not match the incoming JSON body.
- [Cargo Builds a Rust CLI but the Installed Command Never Appears in PATH](https://bfzli.com/cargo-builds-a-rust-cli-but-the-installed-command-never-appears-in-path.md) — Fix a Rust package that compiles but does not install a runnable binary because the crate metadata is incomplete.
- [Go Fails to Accept Local Requests Because net/http Listens on the Wrong Interface](https://bfzli.com/go-fails-to-accept-local-requests-because-net-http-listens-on-the-wrong-interface.md) — Fix a Go server that starts cleanly but refuses local connections because it bound to the wrong host or port.
- [Next.js Server Components Return Stale Data After a Mutation Because the Cache Was Not Invalidated](https://bfzli.com/next-js-server-components-return-stale-data-after-a-mutation-because-the-cache-was-not-invalidated.md) — Fix stale server-rendered data in Next.js after a write operation by revalidating the affected path or tag.
- [Cloudflare Workers Fails to Serve a Custom Domain After the Route Is Missing in wrangler.toml](https://bfzli.com/cloudflare-workers-fails-to-serve-a-custom-domain-after-the-route-is-missing-in-wrangler-toml.md) — Fix a Worker that deploys but never answers traffic on its custom domain because the route binding is absent.
- [Bun Locks a SQLite Database During a Migration and Other Requests Stall](https://bfzli.com/bun-locks-a-sqlite-database-during-a-migration-and-other-requests-stall.md) — Explain why Bun migrations can block SQLite access and how to avoid long exclusive locks.
- [Astro Proxies a Cross-Origin API Request but Drops Cookies and Authorization Headers](https://bfzli.com/astro-proxies-a-cross-origin-api-request-but-drops-cookies-and-authorization-headers.md) — Fix an Astro endpoint that forwards cross-origin requests without preserving credentials or auth headers.
- [Bun Starts a Package Binary but the Command Is Not Found in `node_modules/.bin`](https://bfzli.com/bun-starts-a-package-binary-but-the-command-is-not-found-in-node-modules-bin.md) — Why a Bun-installed CLI fails to launch from a package binary and how to expose the executable correctly.
