Frontend: CSP blocks Solana WebSocket (ws://localhost:8900) — deposit fails #75
Labels
No labels
agent:implement
agent:ready
backend
bug
cannot-reproduce
confirmed
desktop
docs
documentation
duplicate
enhancement
feature
frontend
good first issue
help wanted
high-risk
in-review
invalid
mobile
needs-triage
P0-critical
P1-high
P2-medium
P3-low
qa
QA
question
ready
report
responsive
security
security-escalate
smart-contract
solana
tablet
test-pass
ux
wallet-issue
wallet:keplr
wallet:metamask
wallet:station
wallet:walletconnect
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-bridge-monorepo#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Content Security Policy directive blocks ws://localhost:8900 connection needed for Solana transaction confirmation. CSP allows 'wss:' and 'http://localhost:' but not 'ws://localhost:'. Deposit attempt fails silently.
Console error: Connecting to 'ws://localhost:8900/' violates the following Content Security Policy directive: connect-src 'self' https: wss: http://localhost:* http://127.0.0.1:*
Fix: add ws://localhost:* and ws://127.0.0.1:* to CSP connect-src for dev mode.
mentioned in issue #73
mentioned in issue #67
mentioned in commit
a271fa1d8d@brouie CSP fix for local Solana WebSocket (ws://localhost:8900) is on
feat/solana-integration(commita271fa1). Please review when you have a chance — leaving this issue open until you confirm.Verified — CSP connect-src now includes ws://localhost:* and ws://127.0.0.1:*. Commit
a271fa1.