Commit Graph

33 Commits

Author SHA1 Message Date
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 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 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 4687513434 fix 2024-12-11 13:18:21 +07:00
Rizky e93779ebf7 fixing compression 2024-12-11 11:17:14 +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 4367723a46 fix brotli cached 2024-06-28 00:09:21 +07:00
Rizky d781756ab9 fix brotli cache 2024-06-26 16:32:24 +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 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 1b77a5851d wip fix prasi api 2024-02-22 04:55:01 +07:00
Rizky c916e47150 wip fix 2024-02-18 08:05:07 +07:00
Rizky 645f6d1739 wip fix 2024-02-17 20:15:53 +07:00
Rizky 7e3134d5c0 wip fix 2024-02-15 06:30:16 +07:00
Rizky 3b553b8349 wip fix 2024-02-14 21:40:12 +07:00
Rizky a71b32a9a8 wip fix 2024-02-13 20:32:27 +07:00
Rizky aa6cdbf539 wip fix 2024-02-10 15:58:04 +07:00
Rizky 1bd21cf6a7 wip fix 2024-01-23 23:03:13 +07:00