After the update to the Load Balancer Node https://steem.justyy.workers.dev a few days ago, I started to notice the `scriptThrewException` error
scriptThrewException
Number of Errors | 6 |
Number of Requests | 6 |
Number of Sub Requests | 42 |
CPU Time P50 (ms) | 2.11 |
CPU Time P90 (ms) | 3.37 |
CPU Time P99 (ms) | 3.8 |
CPU Time P99.9 (ms) | 3.85 |
After investigation, I found out it is due to Error 1101 thrown by CloudFlare Worker.
This usually happens, when the script throws a Javascript exception, and can be handled by Try-Catch.
Further investigation shows that the error is caused by a rejection in a Promise, which is not handled. Thus, changing to the following (error happens when sending API to RPC node to Get the Version of the Steem Blockchain RPC Node)
1 2 3 4 5 6 | let version = ""; try { version = await getVersion(server); } catch (e) { version = JSON.stringify(e); } |
let version = ""; try { version = await getVersion(server); } catch (e) { version = JSON.stringify(e); }
CloudFlare Technology
- CloudFlare: Change Security Level Value Programmatically for Multiple Domains via PHP/Python/Bash Script
- How to Transfer Domain From Namesilo to CloudFlare Registra?
- A Simple Rate Limiter for CloudFlare Workers (Serverless API) based on KV Stores
- Cloudflare Worker Unexpected High Usage of API Requests - How to Avoid Surprising Billing?
- Tutorial: How to Set Up a API Load Balancer by Using CloudFlare Worker?
- How to Fix CloudFlare Error 1101 (Worker threw exception)?
- Using CloudFlare Worker Serverless Technology to Deploy a Load Balancer (RPC Node) for Steem Blockchain
- Set Up Website Health Checks (Canaries) using CloudFlare
- CloudFlare Internet Summit - Recaps
- Does CloudFlare Cache 403 and 503 By Default?
- The PHP Page Rule Checker of CloudFlare
- Cloudflare Offers Dedicated SSL Certificates
- How to Clear CloudFlare Caches of Multiple URLs using PHP Script with CloudFlare API?
- Does CloudFlare (Cache Everything) Affect the Adsense?
- Posting SQL code on bbForum Triggers Security Rules by CloudFlare
- How to Offload Your Server by Using CloudFlare - Cache Everything?
–EOF (The Ultimate Computing & Technology Blog) —
GD Star Rating
a WordPress rating system
301 wordsa WordPress rating system
Last Post: Python Function to Convert Excel Sheet Column Titles to Numbers
Next Post: Use jQuery Migrate Helper Plugin to Fix the Classic Editor Errors by WordPress 5.5 Update