GetScatter / scatter-js

Importable JavaScript library that allows web applications to directly interface with Scatter Desktop, Classic and Mobile.
MIT License
262 stars 148 forks source link

Can't connect to scatter from browser #167

Open ifunsu opened 4 years ago

ifunsu commented 4 years ago

Hi, I have something to show. Here is the detail: 1 Server page from tomcat embeded in spring boot. 2 Windows 10+chrome browser connect Scatter desktop client(v12 updated from v9 then v11). Scatter connect faild, error promot due to "NET::ERR_CERT_DATE_INVALID".(availabled until 19/03/2020, maybe I install v9 at 19/09/2019), I can't find way to delete that pem from system. I have try to uninstall then install, same result is got. I don't know the result beyond v12 because I don't go that far then. 3 Ubuntu 18.04.03 LTS with Scatter v11 work fine. 4 Ubuntu 18.04.04 LTS with Scatter v11 work faild. Then I install v12, it still fail again. Through install I delete .config/scatter to make sure that it's a fresh install. I can telnet to port 50006 from terminal but I can't connect to https://local.get-scatter.com:50006 by Firefox(version by system). It said "The connection was reset." I try to disable IPV6 but netstat show that it still listen on port 50006 at tcpv6.

Js code like "ScatterJS.scatter.connect('dapp').then(connected => { ..." as sample code.

Thanks.