Questions tagged [cors]
The cors tag has no usage guidance.
4
questions
2
votes
0
answers
41
views
How can I use the --rpc-cors flag properly?
I m attempting to use the --rpc-cors flag to specify certain domains that are allowed to send requests to my chain (localhost - substrate-node-template). However, regardless of how I use this flag, I ...
0
votes
0
answers
50
views
Using the --rpc-cors flag with anything besides 'all' gives rejected connection
I'm trying to use the --rpc-cors flag in a remote VM, behind a ssl enabled nginx proxy. When connecting using the Polkadot UI passing 'all' as parameter, it connects without problem in wss://...
6
votes
0
answers
186
views
How to use the default Substrate CLI rpc-cors values without using rpc-cors=all for a Collator node and connect from Polkadot.js Apps
I want to be able to connect a collator node using https://polkadot.js.org/apps that is based on the substrate-parachain-template using branch 'polkadot-v0.9.18' and is being run as a parachain in ...
2
votes
1
answer
201
views
Sometimes Polkadot JS won't connect to the local node, unless I enable rpc-cors all
I am using the polkadot js appimage and sometimes while connecting to my node, I see this :
Blocked connection to WebSockets server from untrusted origin: Some("file://").
I've tried running ...