cronos-mainnet: Fix ws-origins rejection of Origin-header WebSocket connections #41
Reference in New Issue
Block a user
Delete Branch "issue-1391"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixed cronos-mainnet
ws-origins=""rejection of WebSocket connections with Origin headers (sent by dshackle), causing 403 Forbidden and head-subscription stalls.Changes
rpc/cronos/scripts/init.sh: AddedJSON_RPC_WS_ORIGINSenv var (default*) with sed persistence under[json-rpc]on every start, matching the existingaddress/ws-addresspattern. Transformsws-origins = ""→ws-origins = "*".Verification
ws-origins = ""→ws-origins = "*"(matching [json-rpc] section)Related
vibe-node issue #1391 (compose generation + context.yml source changes)
Asset commit:
526f125d5a25