Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scatter can't connect in a new blank Tab #134

Open
icelanDesert opened this issue Aug 19, 2019 · 5 comments
Open

Scatter can't connect in a new blank Tab #134

icelanDesert opened this issue Aug 19, 2019 · 5 comments

Comments

@icelanDesert
Copy link

Scatter always can't connect when my dapp open a new black tab,
after refresh page some times, it may be connected well.
This problem appeared after I Scatter desktop update to v11.0.0

ScatterJS.scatter.connect('dapp').then(connected => {
        if (!connected) {
          return false
        }
        if (!this.$store.state.isPC) {
          const requiredFields = {
            accounts: [ NETWORK ]
          }
          ScatterJS.scatter.getIdentity(requiredFields).then(() => {
            this.$store.dispatch('setScatter', { scatter: ScatterJS.scatter })
          })
        }
      })

this is my code to connect Scatter
is there some thing wrong?

@nsjames
Copy link
Contributor

nsjames commented Aug 24, 2019

This was a problem in 11.0.0 which was fixed in 11.0.1. Check if you've updated since then

@icelanDesert
Copy link
Author

thanky you, new version works good

@icelanDesert
Copy link
Author

This was a problem in 11.0.0 which was fixed in 11.0.1. Check if you've updated since then

There is another problem. Same code
Scatterjs just can't connect in some people's computer, authorization window won't appear , even they use the latest Scatter desktop.
But if I use websock manually, it could be connected.

image

@nsjames
Copy link
Contributor

nsjames commented Oct 11, 2019

I'd update your packages. There was a connection bug which might have been affecting you.

@ifunsu
Copy link

ifunsu commented Apr 3, 2020

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 on 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants