LAB / CATATANLAB / DEVLOG·
NibieRouter dari instance SumoRouterNibieRouter from a SumoRouter instance
Aplikasi SumoRouter di SumoPod, dengan dompet kredit sendiri, bukti QRIS sandbox, dan hostname khusus yang belum bisa diproksi Cloudflare sampai SumoPod menerima namanya.A SumoRouter app on SumoPod, with its own credit wallet, a sandbox QRIS proof, and a custom hostname that Cloudflare will not proxy until SumoPod accepts the name.
InfrastrukturInfrastructureOperasi AIAI OpsTagihanBilling
HasilOutcome
Aplikasi, kunci model, top-up sandbox, prefiks 9router, dan MCP admin jalan di URL SumoPod. router.nibie.app dan QRIS Live belum.The app, model key, sandbox top-up, 9router prefix, and admin MCP work on the SumoPod URL. router.nibie.app and Live QRIS do not.
01
Masalah dan batasanThe Problem & Constraints
- Quick Start menulis http://localhost:3000/v1. Instance ini menjawab di host SumoPod ditambah /v1.Quick Start prints http://localhost:3000/v1. This instance answers on the SumoPod host plus /v1.
- Kunci yang dibatasi $0.00 mengembalikan 402 padahal akun NibieRouter masih punya kredit. Kredit Sumopod AI tidak mengisinya.A key capped at $0.00 returns 402 while the NibieRouter account still has credit. Sumopod AI credit does not refill it.
- router.nibie.app mengembalikan error Cloudflare 1014, dan Custom Domain SumoPod mengembalikan service not found.router.nibie.app returns Cloudflare error 1014, and SumoPod Custom Domain returns service not found.
02
ProsesEngineering Process
- 01.GET /v1/models mengembalikan 200, lalu batas kredit kunci nibie dikosongkan.Confirmed GET /v1/models returns 200, then cleared the nibie key credit cap.
- 02.Webhook sandbox disimpan tanpa titik di akhir. Simulate Payment pada order Rp 10.000 mengkreditkan sekitar $0.55.Saved the sandbox webhook without a trailing dot. Simulate Payment on a Rp 10,000 order credited about $0.55.
- 03.CNAME DNS-only untuk router.nibie.app dan pengecekan MCP admin sudah ditambahkan. Custom domain pada layanan ini masih mati.Added a DNS-only CNAME for router.nibie.app and an admin MCP check. Custom domain on this service is still off.
03
KeputusanKey Architectural Decisions
- Host SumoPod tetap alamat mesin sampai SumoPod mengaktifkan custom domain.Keep the SumoPod host as the machine address until SumoPod enables custom domain.
- Pelanggan nanti memakai https://router.nibie.app. Jangan ubah Site URL sebelum host itu melayani aplikasinya.Customers should use https://router.nibie.app. Do not change Site URL until that host serves the app.
- Sandbox membuktikan jalur pembayaran. Live menunggu KYC, dan email tetap mati tanpa domain pengirim yang terverifikasi.Sandbox proved the payment path. Live waits on KYC, and email stays off without a verified sender domain.
04
Yang saya pelajariWhat I Learned
- Uji /v1/models di host yang akan dipakai. URL contoh di dokumentasi bukan instance ini.Test /v1/models on the host you will ship. The sample base URL in the docs is not this instance.
- 402 dengan pesan this API key has reached its credit limit adalah batas kunci, bukan saldo Sumopod AI yang kosong.402 from this API key has reached its credit limit is the key cap, not an empty Sumopod AI balance.
- CNAME bukan custom domain. SumoPod harus menerima namanya, dan dua saldo kredit tidak saling mengisi.A CNAME is not a custom domain. SumoPod has to accept the name, and the two credit balances do not refill each other.