BitShares Forum

Main => Technical Support => Topic started by: jbperez808 on June 29, 2017, 06:30:30 pm

Title: Failed to sync with the API server
Post by: jbperez808 on June 29, 2017, 06:30:30 pm
When running my self-compiled witness_node (the process of which also had certain issues I had to tediously correct manually) and pointing the Bitshares Light Client to it, I get a "Failed to sync with the API server" message.

The computer clocks are correct.

How do I fix this?

Is the message showing up because the blockchain has yet to sync to the latest available blocks?
Title: Re: Failed to sync with the API server
Post by: sahkan on June 30, 2017, 02:58:16 am
When running my self-compiled witness_node (the process of which also had certain issues I had to tediously correct manually) and pointing the Bitshares Light Client to it, I get a "Failed to sync with the API server" message.

The computer clocks are correct.

How do I fix this?

Is the message showing up because the blockchain has yet to sync to the latest available blocks?
Wait till your node syncs with the network then when you open your Light Wallet you should see an output from your node that it has opened a new DB or something similar. That way you will know that you connected to your node.
Title: Re: Failed to sync with the API server
Post by: jbperez808 on June 30, 2017, 08:52:48 am
Ok, looks like I had to wait till the entire blockchain was synced before the "Failed to sync with the API server" goes away. 

I think it would be good if that error message was modified to aid newbies who aren't sure what's going on.
Title: Re: Failed to sync with the API server
Post by: bench-sitter on July 10, 2017, 02:07:32 pm
Hi, I'm also new here having a similar problem!

I installed the bitshares application about a week ago and so far everything was fine. When I opened bitshares2-light this morning everything was still working fine. I even did some transactions.
Until a few hours later when I was logged in to a VPN client, I got that "Failed to sync with the API server" screen. I closed the VPN, tried different Wifi's, tried different API Servers, tried reset settings, I synced my clock, restarted my laptop, nothing is working. I'm having this problem for a couple of hours now. One API (Public Testnet Server (Frankfurt, Germany)) did open the application, but not my account and functions like exchange were not available. I could only set up a new account.

I also read the thread about this problem from about a year ago https://bitsharestalk.org/index.php?topic=23273.0 (https://bitsharestalk.org/index.php?topic=23273.0), but I couldn't get anything useful out of it. I'm not a Techie so I don't understand all of it...

And now the application opens again after some time of loading, but not with my account. I can only create a new one or sign it with a password, but since there's no account loaded it doesn't recognise my account name...

I'm glad for any help! Thank you.
Title: Re: Failed to sync with the API server
Post by: jbperez808 on July 10, 2017, 06:15:17 pm
I'm also having the same problem now. None of the listed Full Node API servers are working. All are giving the "failed to sync with the API" error message.

It looks like https://bitshares.org/wallet has the same problem...

UPDATE: Hmm... very annoying...

I had to adjust date/time on my Windows machine by turning off "set time automatically" then turning it on again...

It then started working again.
Title: Re: Failed to sync with the API server
Post by: paliboy on July 10, 2017, 06:19:10 pm
https://steemit.com/bitshares/@ash/bitshares-entered-unplanned-maintenance-mode
Title: Re: Failed to sync with the API server
Post by: sahkan on July 10, 2017, 06:19:35 pm
I'm also having the same problem now. None of the listed Full Node API servers are working. All are giving the "failed to sync with the API" error message.
There was an issue with the network couple hours ago. It's coming back up, my FULL node is being rebuild and should be back up shortly.
Title: Re: Failed to sync with the API server
Post by: bench-sitter on July 10, 2017, 06:42:53 pm
Ok, I hope it'll work again soon!

It now looks like this:

(https://preview.ibb.co/iK5gPa/screenshot_140.png)
Title: Re: Failed to sync with the API server
Post by: bench-sitter on July 10, 2017, 06:50:31 pm
Ok was working again! After I hit retry about 5 times, but i can't log in, incorrect pw...
Title: Re: Failed to sync with the API server
Post by: jbperez808 on July 10, 2017, 08:06:19 pm
Stopped working on my end, now failing to sync again. :(
Title: Re: Failed to sync with the API server
Post by: bench-sitter on July 10, 2017, 08:10:02 pm
Stopped working on my end, now failing to sync again. :(
Same here! I can open it though by clicking on retry 10times or more, but can't log in then  :-\
Title: Re: Failed to sync with the API server
Post by: fav on July 11, 2017, 07:42:51 am
Stopped working on my end, now failing to sync again. :(
Same here! I can open it though by clicking on retry 10times or more, but can't log in then  :-\

select another API node
Title: Re: Failed to sync with the API server
Post by: bench-sitter on July 11, 2017, 08:06:29 am
Stopped working on my end, now failing to sync again. :(
Same here! I can open it though by clicking on retry 10times or more, but can't log in then  :-\

select another API node

Thank you! It's been working fine since this morning, without me doing anything.