vechain / thor-sync.electron

A browser that empowers DApps on VeChain
GNU Lesser General Public License v3.0
55 stars 28 forks source link

Out of Sync #389

Closed dexsword closed 4 years ago

dexsword commented 4 years ago

Just downloaded Sync 1.2.1 Imported wallet from Ledger MAIN is Out of Sync 0% Going to vechain.org fails in my browser (firefox 72.0.2)

dexsword commented 4 years ago

so I am having this odd issue and I've come here to see if anyone has an idea.

I have a cold wallet with my ledger nano I made months ago. Today I tried to download the Sync app on linux, but I had the error MAIN Out of Sync 0%. I tried to access vechain.org in my browser (firefox) and I was unable to connect. I tried to ping vechain in the terminal and it failed all attempts.

I then switched to win 10 and I had the same problem?! I then logged into my router and switch, made sure all firmware was updated. I ran a pin on vechain.org from my router and it works!

I then just went to vechain.org on my android phone on the wifi on the same network as my PC and it works fine. I went to vechain.org on the PC with chrome, and I got a connection rejected error.

I can access the internet fine on the PC. I am writing this post on the PC in question. It is only vechain.org I am having this bizarre issue with. I am very confused that it is the same on windows and linux on the same PC. That points to some odd firewall issue? there are no rules that I see in the configuration.

Anyone have any ideas?

Thanks

libotony commented 4 years ago

@dexsword I just had a quick check, the nodes are working fine. Your issue seems to be a network issue. Could you visit https://sync-mainnet.vechain.org in your browser?

dexsword commented 4 years ago

No i am getting ERR_CONNECTION_REFUSED

-Will L.

On Fri, Feb 7, 2020, 23:47 libotony notifications@github.com wrote:

@dexsword https://github.com/dexsword I just had a quick check, the nodes are working fine. Your issue seems to be a network issue. Could you visit https://sync-mainnet.vechain.org in your browser?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vechain/thor-sync.electron/issues/389?email_source=notifications&email_token=ACE4A7S4PTZBWEADJ3THDGDRBY2ONA5CNFSM4KRXDGP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFJQDI#issuecomment-583702541, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE4A7XMVJVLFGTB5AW6QI3RBY2ONANCNFSM4KRXDGPQ .

libotony commented 4 years ago

If you know about curl, can you try curl -vvv https://sync-mainnet.vechain.org and get back to us?

dexsword commented 4 years ago

I am going to bring my ledger to work and use it there. I was able to remote into work and confirm I can get to vehcain.org from the browser, so the sync app should also work.

I cannot understand what it is on or about my local network that would cause this. I have the sg-1100 with pfSense for my router/firewall. nothing else is broken that I can tell.

dexsword commented 4 years ago

I confirmed I can access the wallet from my work PC. There is something about my LAN that must be causing an issue.

libotony commented 4 years ago

I confirmed I can access the wallet from my work PC. There is something about my LAN that must be causing an issue.

Agree. In the meantime please try https://vethor-node.digonchain.com/ ,if you can access this URL, you can add it to sync as a custom node

dexsword commented 4 years ago

Agree. In the meantime please try https://vethor-node.digonchain.com/ ,if you can access this URL,

I cannot access that URL either. Attempting to add it as a node throws a network error. I will have to thoroughly review my router settings. I have not made any custom modifications so I'm not even sure what to look at specifically.

dexsword commented 4 years ago

I found the problem. I have pfBlockerNG installed to block outbound LAN traffic to suspect locations based on GeoIP. Turning off the filter fixes my issue, however I will continue to leave it on. I am curious why vehcain is being blocked.

dexsword commented 4 years ago
Feb 9 22:11:45 LAN pfB_Top_v4(1770011056) TCP-S   XXXXXXXXXX   47.52.32.121:443unknown HK Country
libotony commented 4 years ago

You can check the IP 103.210.21.121 at https://www.iplocation.net/, it's from the cloud provider UCloud and located at HK

dexsword commented 4 years ago

No worries, I am all set. I will mark this issue closed. It was resolved by re-configuring (or disable) pfBlockerNG on my pfSense router, in case anyone else encounters this problem. Thanks for the help.

cryptogawds commented 4 years ago

I am having the same issue with 0% sync. I don't believe I have a pfBlockerNG so I'm not sure what's wrong with it. I reset my router and no luck, any thoughts?

libotony commented 4 years ago

hi @cryptogawds, please try to visit https://sync-mainnet.vechain.org in your browser to check your connection with the remote node.

cryptogawds commented 4 years ago

It does not seem to work in browser either. It says, your connection is not private.

libotony commented 4 years ago

@cryptogawds might be the network issue, how about https://vethor-node.vechain.com ?

cryptogawds commented 4 years ago

I can now open both on my browser as I fixed some settings in the brave browser, but it still does not sync in the sync wallet.

libotony commented 4 years ago

@cryptogawds please try to open the urls in the sync wallet

cryptogawds commented 4 years ago

Dang, both failed to open in sync wallet search

libotony commented 4 years ago

@cryptogawds could you post screenshots?

libotony commented 4 years ago

If you know curl, could you try curl -vv https://sync-testnet.vechain.org in your terminal?

cryptogawds commented 4 years ago

I don’t know curl :/


From: libotony notifications@github.com Sent: Tuesday, June 30, 2020 10:30:47 PM To: vechain/thor-sync.electron thor-sync.electron@noreply.github.com Cc: cryptogawds benjaminmgnt@outlook.com; Mention mention@noreply.github.com Subject: Re: [vechain/thor-sync.electron] Out of Sync (#389)

If you know curl, could you try curl -vv https://sync-testnet.vechain.org in your terminal?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/vechain/thor-sync.electron/issues/389#issuecomment-652200444, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQCSJH3J2YXYI5ANHE2TT6LRZLCYPANCNFSM4KRXDGPQ.

libotony commented 4 years ago

I can now open both on my browser as I fixed some settings in the brave browser, but it still does not sync in the sync wallet.

Could you tell me what steps did you perform on solving it on brave browser?

cryptogawds commented 4 years ago

I just had to press advanced once the error popped up and it has the option to proceed to the “unsafe” page


From: libotony notifications@github.com Sent: Wednesday, July 1, 2020 7:50:42 PM To: vechain/thor-sync.electron thor-sync.electron@noreply.github.com Cc: cryptogawds benjaminmgnt@outlook.com; Mention mention@noreply.github.com Subject: Re: [vechain/thor-sync.electron] Out of Sync (#389)

I can now open both on my browser as I fixed some settings in the brave browser, but it still does not sync in the sync wallet.

Could you tell me what steps did you perform on solving it on brave browser?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/vechain/thor-sync.electron/issues/389#issuecomment-652749093, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQCSJHZNUJFOIZRTL3HUZQ3RZPYYFANCNFSM4KRXDGPQ.

libotony commented 4 years ago

I forgot to ask, is there any proxy or VPN in your system running? And the problem is not with the public node, most possible something wrong in your local environment

libotony commented 4 years ago

@cryptogawds Please reveal the certificate in your Brave Browser and take a screenshot of the certificate(as detailed as possible). Follow the instructions in the screenshots.

Steps

Screen Shot 2020-07-03 at 10 57 16 AM

Example of Certificate

Screen Shot 2020-07-03 at 11 00 06 AM
cryptogawds commented 4 years ago

I actually do have a VPN, which may be causing issues. Sync still says 0% in wallet when turning VPN off. I’m going to try that brave method right now


From: libotony notifications@github.com Sent: Thursday, July 2, 2020 8:04:17 PM To: vechain/thor-sync.electron thor-sync.electron@noreply.github.com Cc: cryptogawds benjaminmgnt@outlook.com; Mention mention@noreply.github.com Subject: Re: [vechain/thor-sync.electron] Out of Sync (#389)

Please reveal the certificate in your Brave Browser and take a screenshot of the certificate(as detailed as possible). Follow the instructions in the screenshots.

Steps

[Screen Shot 2020-07-03 at 10 57 16 AM]https://user-images.githubusercontent.com/8411962/86427371-9e40c400-bd1c-11ea-9c49-cd553f241a23.png

Example of Certificate

[Screen Shot 2020-07-03 at 11 00 06 AM]https://user-images.githubusercontent.com/8411962/86427380-a26ce180-bd1c-11ea-88b8-419a9f9bf694.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/vechain/thor-sync.electron/issues/389#issuecomment-653313302, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQCSJH27ZGH3ZT4KM5OALDLRZVDDDANCNFSM4KRXDGPQ.

libotony commented 4 years ago

@cryptogawds What is the version your macOS ?

cryptogawds commented 4 years ago

OS X El Capitan

libotony commented 4 years ago

I think I know why. Your system contains an expired ca root certificate AddTrust External CA Root which issues the certificate of our HTTPS certificates. The recommended way is upgrading your system to the latest one. Below is some links that might be useful:

cryptogawds commented 4 years ago

Cool got you, thanks for your help I really appreciate it.


From: libotony notifications@github.com Sent: Thursday, July 2, 2020 9:16:06 PM To: vechain/thor-sync.electron thor-sync.electron@noreply.github.com Cc: cryptogawds benjaminmgnt@outlook.com; Mention mention@noreply.github.com Subject: Re: [vechain/thor-sync.electron] Out of Sync (#389)

I think I know why. Your system contains an expired ca root certificate AddTrust External CA Root which issues the certificate of our HTTPS certificates. The recommended way is upgrading your system to the latest one. Below is some links that might be useful:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/vechain/thor-sync.electron/issues/389#issuecomment-653335785, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQCSJH2XMXLCIHOUSI5BHSDRZVLQNANCNFSM4KRXDGPQ.

libotony commented 4 years ago

Welcome, hope you get synced :-)

cryptogawds commented 4 years ago

It looks like I have to get a new computer to update that specific addtrust external root because I can’t update the software any further. I was planning on doing so anyways. Quick question, in order to connect my sync account on my new computer with my ledger, would I just connect my ledger and import to gain access to my wallet? Thank you for your help!!


From: libotony notifications@github.com Sent: Thursday, July 2, 2020 10:23:41 PM To: vechain/thor-sync.electron thor-sync.electron@noreply.github.com Cc: cryptogawds benjaminmgnt@outlook.com; Mention mention@noreply.github.com Subject: Re: [vechain/thor-sync.electron] Out of Sync (#389)

Welcome, hope you get synced :-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/vechain/thor-sync.electron/issues/389#issuecomment-653355898, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQCSJH3SRHUS3PPUNTT6P53RZVTN3ANCNFSM4KRXDGPQ.

libotony commented 4 years ago

Yes