Commit Graph

59 Commits

Author SHA1 Message Date
eko 998d8b3b31 serve from file instead of object 2025-12-02 16:13:28 +07:00
eko ea72b74447 serve from file instead of object 2025-12-02 16:12:01 +07:00
eko 7fd4342405 serve from file instead of object 2025-12-02 16:10:05 +07:00
eko 805d19451c serve from file instead of object 2025-12-02 16:08:22 +07:00
eko 44d23f6e73 remove unnecessary check 2025-11-27 22:18:13 +07:00
eko 0e85aa93a2 fix 2025-11-27 19:00:42 +07:00
riz 9bf393fee8 Add immediate test response and enhanced debugging
- Return immediate response for root path to test if fetch handler is called
- Add step-by-step debugging through request processing pipeline
- This will isolate exactly where the hanging occurs in the complex logic

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 02:29:56 +00:00
riz cf461171e3 Add minimal test server to isolate Bun.serve networking issue
- Create simple test server on port 3001 to test Bun.serve functionality
- If test server works, issue is in complex application logic
- If test server hangs, issue is in Bun.serve or container networking
- This will isolate the root cause of the hanging requests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 02:13:21 +00:00
riz 3c1346bd1a Add comprehensive request debugging to isolate hanging
- Log every incoming request with method, URL, and headers
- Add try-catch around entire fetch handler with stack traces
- Force development mode to false for production behavior
- This will show exactly where requests are failing or hanging

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 02:06:04 +00:00
riz cd3fc84db5 Add response debugging to isolate hanging issue
- Debug createResponse response object properties
- Replace with basic Response object to test if service-srv is the cause
- This will help identify if the hang is in createResponse or Bun.serve

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 01:49:22 +00:00
riz e137b1df7f Disable real-time compression to fix hanging requests
- Set high_compression: false in createResponse to prevent hanging
- The Brotli compression in service-srv createResponse was causing requests to hang
- Sites will now load instantly without compression overhead

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 01:17:52 +00:00
riz 26f277893f Fix Bun.serve port binding and error handling
- Add explicit hostname: '0.0.0.0' to bind all interfaces
- Add try/catch around server creation with proper error logging
- Add server error handler for runtime exceptions
- Add verification timeout to confirm server is actually listening
- Enhanced debugging to identify port binding issues

Fixes issue where server claimed success but wasn't actually listening on port 3000.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 01:14:27 +00:00
riz 177db0d3e5 Add debugging to serveWeb to identify slow response generation
- Add debug logs for serveWeb calls and timing
- Measure content length and response creation time
- Help identify if createResponse is the bottleneck
- Debug Bad Gateway timeout issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 00:29:02 +00:00
riz d8e05e58cb Add comprehensive debugging to createServer function
- Add debug logs for API directory scanning
- Add debug logs for server creation phases
- Add debug logs for Bun.serve startup
- Help identify where server startup fails
- Debug potential hanging issues in createServer

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 00:13:23 +00:00
Rizky a09cf17451 fix record 2024-12-11 16:38:22 +07:00
Rizky 4687513434 fix 2024-12-11 13:18:21 +07:00
Rizky e93779ebf7 fixing compression 2024-12-11 11:17:14 +07:00
Rizky f3d020b031 fix 2024-12-04 14:45:05 +07:00
Rizky 949b61a05a fix 2024-11-14 21:34:15 +07:00
Rizky 6f31086970 fix 2024-11-14 21:33:04 +07:00
Rizky e0c4ce8d01 checkpoint 2024-11-14 21:15:12 +07:00
Rizky 72c9212d9e fix 2024-08-19 20:17:23 +07:00
Rizky ff139e3846 fix 2024-08-15 21:35:52 +07:00
Rizky 69d2a57d07 fix 2024-08-15 21:32:24 +07:00
Rizky bc2a454bd0 fix restart delay 2024-08-15 06:05:01 +07:00
Rizky 02239da2e2 fix restart delay 2024-08-15 06:04:23 +07:00
Rizky b9c5108384 fix pub data 2024-08-15 05:23:36 +07:00
Rizky c33e081841 fix 2024-08-08 14:45:18 +07:00
Rizky 1f15dbe2bb fixing hex 2024-07-29 17:58:55 +07:00
Rizky 332061d5d0 fix 2024-06-28 00:25:38 +07:00
Rizky 904585868a fix 2024-06-28 00:15:23 +07:00
Rizky 5e90332489 fix 2024-06-28 00:14:06 +07:00
Rizky 4367723a46 fix brotli cached 2024-06-28 00:09:21 +07:00
Rizky 6c78dc838a fix 2024-06-27 21:56:09 +07:00
Rizky d781756ab9 fix brotli cache 2024-06-26 16:32:24 +07:00
Rizky 2d6d3fd7a9 fix 2024-06-21 18:02:27 +07:00
Rizky 15c0ef6977 fix 2024-06-20 12:19:53 +07:00
Rizky 6595e85b98 fix 2024-06-20 12:15:12 +07:00
Rizky 239b6d489e fix 2024-06-18 13:50:00 +07:00
Rizky 42343a3af9 fix deploy index 2024-04-26 06:20:43 +07:00
Rizky b3b3bc9288 fix 2024-04-25 15:35:25 +07:00
Rizky 98333a82a8 fix 2024-04-25 15:32:14 +07:00
Rizky 08bc51b752 fix params 2024-04-18 12:12:42 +07:00
Rizky 2e6b5d12ce fix 2024-04-17 20:14:36 +07:00
Rizky 80db2618fc wip fix 2024-03-21 11:37:02 +07:00
Rizky 084675a811 wip fix 2024-03-07 16:28:15 +07:00
Rizky 9ea7e373d8 wip fix 2024-03-07 11:09:44 +07:00
Rizky a9fbf2d3ca wip fix 2024-02-27 19:36:26 +07:00
Rizky 825a380856 wip fix 2024-02-27 07:22:04 +07:00
Rizky f011fab5ec wip fix 2024-02-26 13:38:12 +07:00