I know this question is more related to the usage of Brave browser, but the chance of getting a relevant answer would be less in brave forums where the general understanding of polkatot-js is less
Connecting to a chain on ws
on localhost fails when running in Brave browser, it used to work up to at least last week but now it get stuck on Initializing connection:
The chain is still running, I verified the connection with both Firefox and Chromium with a link like this: https://polkadot.js.org/apps/?rpc=ws%3A%2F%2F127.0.0.1%3A9943#/accounts
The part of the question relevant in this forum is: Is there anything in the polkadotjs app changed recently which could cause this?
Update:
Here is a transcribed version of above logs if that is a clue:
WS endpoint= ws://127.0.0.1:9943
polkadot.01.10080f3a.js:1 WebSocket connection to 'ws://127.0.0.1:9943/' failed:
connect @ polkadot.01.10080f3a.js:1
main.3405627c.js:2 EventisTrusted: truebubbles: falsecancelBubble: falsecancelable: falsecomposed: falsecurrentTarget: WebSocket {url: 'ws://127.0.0.1:9943/', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}defaultPrevented: falseeventPhase: 0path: []returnValue: truesrcElement: WebSocket {url: 'ws://127.0.0.1:9943/', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}target: WebSocket {url: 'ws://127.0.0.1:9943/', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}timeStamp: 711.3999999985099type: "error"[[Prototype]]: Event
(anonymous) @ main.3405627c.js:2
polkadot.02.9fdc1d48.js:1 2022-11-19 09:32:02 API-WS: disconnected from ws://127.0.0.1:9943: 1006:: Abnormal Closure
m @ polkadot.02.9fdc1d48.js:1
polkadot.01.10080f3a.js:1 Uncaught (in promise) EventisTrusted: truebubbles: falsecancelBubble: falsecancelable: falsecomposed: falsecurrentTarget: WebSocket {url: 'ws://127.0.0.1:9943/', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}defaultPrevented: falseeventPhase: 0path: []returnValue: truesrcElement: WebSocket {url: 'ws://127.0.0.1:9943/', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}target: WebSocket {url: 'ws://127.0.0.1:9943/', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …}timeStamp: 711.3999999985099type: "error"[[Prototype]]: Event
polkadot.01.10080f3a.js:1 WebSocket connection to 'ws://127.0.0.1:9943/' failed:
connect @ polkadot.01.10080f3a.js:1
EventisTrusted: truebubbles: falsecancelBubble: falsecancelable: falsecomposed: falsecurrentTarget: WebSocketbinaryType: "blob"bufferedAmount: 0extensions: ""onclose: nullonerror: nullonmessage: nullonopen: nullprotocol: ""readyState: 3url: "ws://127.0.0.1:9943/"[[Prototype]]: WebSocketdefaultPrevented: falseeventPhase: 0path: []returnValue: truesrcElement: WebSocketbinaryType: "blob"bufferedAmount: 0extensions: ""onclose: nullonerror: nullonmessage: nullonopen: nullprotocol: ""readyState: 3url: "ws://127.0.0.1:9943/"[[Prototype]]: WebSockettarget: WebSocketbinaryType: "blob"bufferedAmount: 0extensions: ""onclose: nullonerror: nullonmessage: nullonopen: nullprotocol: ""readyState: 3url: "ws://127.0.0.1:9943/"[[Prototype]]: WebSockettimeStamp: 711.3999999985099type: "error"[[Prototype]]: EventAT_TARGET: 2BUBBLING_PHASE: 3CAPTURING_PHASE: 1NONE: 0bubbles: (...)cancelBubble: (...)cancelable: (...)composed: (...)composedPath: ƒ composedPath()currentTarget: (...)defaultPrevented: (...)eventPhase: (...)initEvent: ƒ initEvent()path: (...)preventDefault: ƒ preventDefault()returnValue: (...)srcElement: (...)stopImmediatePropagation: ƒ stopImmediatePropagation()stopPropagation: ƒ stopPropagation()target: (...)timeStamp: (...)type: (...)constructor: ƒ Event()AT_TARGET: 2BUBBLING_PHASE: 3CAPTURING_PHASE: 1NONE: 0arguments: nullcaller: nulllength: 1name: "Event"prototype: Event {…}[[Prototype]]: ƒ ()[[Scopes]]: Scopes[0]Symbol(Symbol.toStringTag): "Event"get bubbles: ƒ bubbles()get cancelBubble: ƒ cancelBubble()set cancelBubble: ƒ cancelBubble()get cancelable: ƒ cancelable()get composed: ƒ composed()get currentTarget: ƒ currentTarget()get defaultPrevented: ƒ defaultPrevented()get eventPhase: ƒ eventPhase()get path: ƒ path()get returnValue: ƒ returnValue()set returnValue: ƒ returnValue()get srcElement: ƒ srcElement()get target: ƒ target()get timeStamp: ƒ timeStamp()get type: ƒ type()[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
(anonymous) @ main.3405627c.js:2