{"id":"XE-0044","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"62","source_url":"https://github.com/xeprotocol/xe/issues/62","reporter_id":19,"title":"XE Testnet Faucet Request Fails","area":"ops-testnet","claimed_tier":null,"assessed_tier":null,"verdict":"support","duplicate_of":null,"tracked":true,"internal_ref":"faucet#10","internal_url":"https://github.com/xeprotocol/faucet/issues/10","status":"closed","closed_reason":"answered","github_state":"closed","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-10-29T13:57:18.945654+00:00","updated_at":"2026-11-10T13:25:16.727595+00:00","source_created_at":"2026-10-26T08:24:01+00:00","told_at":"2026-11-08T20:37:14+00:00","status_changed_at":"2026-10-29T14:22:11.254814+00:00","url":"https://bounty.xe.network/XE-0044","body":"Hi, XE Team \n\nWhile testing the XE wallet, I attempted to request test tokens through the faucet. The request failed and displayed the error  “faucet failed: Failed to fetch.” I checked the activity log and noticed that the request was initiated, but the latest attempt failed.\n\nHere are my five key findings and why they matter.\n\n1. Faucet API Connection Failure\n\nWhen I requested test tokens, the wallet displayed `Failed to fetch`. This usually means the browser could not complete the network request to the faucet service. The endpoint might be unavailable, incorrectly configured, or unreachable.\n\nWhy this matters: If the wallet cannot communicate with the faucet backend, users cannot reliably claim test tokens to explore the network.\n\nWhat needs to be checked: Verify that the faucet API endpoint is correct, the backend is running, and the server is reachable from the wallet.\n\n2. Possible CORS or Browser Network Restrictions\n\nAnother possible cause is a Cross-Origin Resource Sharing (CORS) issue. If the wallet and faucet API use different origins, the server must allow requests from the wallet's origin. Browser security restrictions can block the request if the required headers or preflight responses are missing or incorrect.\n\nWhy this matters: The faucet might be running correctly, but the browser could still prevent the wallet from accessing it.\n\nWhat needs to be checked: Inspect the browser console for CORS errors and verify the API's allowed origins, request methods, and headers. This is a possible cause, not a confirmed finding.\n\n 3. Faucet Backend or Server Configuration Problem\n\nThe failure could also originate from the faucet server, its reverse proxy, DNS configuration, or TLS certificate. If any of these components are misconfigured or unavailable, the wallet may fail to establish a connection.\n\nWhy this matters: Users may repeatedly experience failed claims even when their wallets and internet connections are working correctly.\n\nWhat needs to be checked: Review server and proxy logs, verify DNS resolution and HTTPS connectivity, and confirm that the faucet service is healthy.\n\n 4. Failed Requests and Unclear Error Handling\n\nThe wallet displays a general error message without explaining whether the problem comes from the server, browser, or network. The activity log records the failed request, but it does not reveal the underlying cause.\n\nWhy this matters: Users cannot easily determine whether to retry, check their connection, or report a backend issue. Repeated attempts may also create unnecessary requests.\n\nWhat needs to be checked: Improve error handling to distinguish connection failures, timeouts, HTTP errors, and rejected faucet requests. Provide a safe retry option and prevent duplicate claims where necessary.\n\n\n\n\n","patch_refs":[],"thread":[{"id":19,"source":"github","source_ref":"6413986323","author":"willyoungzy001","team":false,"body":"My XE payout addresss -  040d2665b6244d198f3c6c1f44ede6c9b9a546afc73dc33387a10ec09751e4a8","created_at":"2026-10-26T10:38:50+00:00"},{"id":1214,"source":"github","source_ref":"6726801891","author":"Joseph Denne","team":true,"body":"Thanks for the report. This was the faucet outage of 24–28 October: the faucet service was wedged behind the node and every request failed from the wallet with `Failed to fetch`. It was not a wallet or CORS bug and nothing was wrong on your side. The faucet has been running since; try again and reply here if it still fails. Closing as answered since no code change came out of this one.","created_at":"2026-11-08T20:37:14+00:00"}]}