Sync problem in Graphite

12 posts, 0 answers
  1. Pier Alberto
    Pier Alberto avatar
    16 posts
    Member since:
    Jun 2013

    Posted 24 Jul 2014 Link to this post

    In the last couple of days I'm experiencing strange problems I've never had in the past. I use the Graphite interface in two different PC's, let's name them A and B.
    I did some work on a project using PC A, and when I tried to open a modified file from PC B, it wasn't synced with the cloud, and previous version was shown. This happened for all modified files. So I completely uninstalled Graphite from PC B and reinstalled, and then the project was correctly refreshed. I then worked on PC B to do some further work, did a commit and then went back on PC A, and, to my suprise, here I've seen the same story, the project wasn't synced, old versions of modified files appeared and I wans't able to find a way to sync.
    I don't know if it's a known issue of the new version, for sure this is annoying. My question is: there is a way to force a project to sync with the cloud without having to uninstall and reinstall Graphite?
    Thanks in advance.

    Pier Alberto 
  2. Pier Alberto
    Pier Alberto avatar
    16 posts
    Member since:
    Jun 2013

    Posted 24 Jul 2014 in reply to Pier Alberto Link to this post

    I forgot to mention two important details:

    - The two PC's are on different networks, so the internet connection problems is not a suitable reason for this issue,
    - When I open a file modified on the other PC, it appears the "Syncronizing" message for several minutes before the old version is opened from the local cache. It seems like Graphite is trying to sync and in the end it fails, but no message is displayed.
  3. Pier Alberto
    Pier Alberto avatar
    16 posts
    Member since:
    Jun 2013

    Posted 24 Jul 2014 in reply to Pier Alberto Link to this post

    This is what the log says, it appears to be a network error, but the network is working perfectly in other applications. The same on the other PC from a different network.

    [2014-07-24 23:42:33.221] Log (Exception,High): System.Net.Http.HttpRequestException: SR.net_http_client_execution_error ---> System.Net.WebException: Connessione sottostante chiusa: Una connessione che doveva restare attiva è stata chiusa dal server in modo imprevisto.. ---> System.IO.IOException: Impossibile leggere dati dalla connessione del trasporto: Connessione in corso interrotta forzatamente dall'host remoto. ---> System.Net.Sockets.SocketException: Connessione in corso interrotta forzatamente dall'host remoto
       in System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
       in System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
       in System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
       in System.Net.PooledStream.EndRead(IAsyncResult asyncResult)
       in System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       in Telerik.BlackDragon.Client.ServerClient.HttpClientHandlerBase.GetResponseCallback(IAsyncResult ar)
       --- Fine della traccia dello stack dell'eccezione interna ---
  4. Reckon Mobile
    Reckon Mobile avatar
    4 posts
    Member since:
    Aug 2013

    Posted 24 Jul 2014 Link to this post

    I was just about to post about this when I saw Pier's post.

    We're experiencing the same issue. On one of our larger projects synchronisation has started failing, essentially preventing the team from being able to work in AppBuilder at all. I can see a call to https://app.icenium.com/api/batch when the sync begins, and after five minutes or so the AppBuilder error log explodes with what boils down to a network timeout, and the IDE loads the locally cached version of the file.

    We're back to text editors and Git clones now.
  5. Pier Alberto
    Pier Alberto avatar
    16 posts
    Member since:
    Jun 2013

    Posted 25 Jul 2014 in reply to Reckon Mobile Link to this post

    I've just tried to uninstall Graphite from my home PC, and I deleted the %localappdata%\Telerik\BlackDragon folder too.
    Then I did a fresh install and tried to sync the project. This time all went well, while just before uninstalling I experienced the same problem described above.
    The same I did on the Office PC, and I've seen that reinstalling does not solve the problem, it definitely seems that there is a problem in syncronizing a project already loaded on the PC.

    Pier Alberto
  6. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 29 Jul 2014 Link to this post

    Hi,

    Thanks for your feedback.
    This seems to me like a temporary connection disruption to our server which has prevented file synchronization. It may be caused by some temporary server downtime or connection loss. Normally you should find this indicator in such scenarios.
    Once the connection is restored you just need to reload your project.

    Did you keep both clients simultaneously logged? Logging from different places may cause previous session termination.

    Regards,
    Zdravko
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  7. Pier Alberto
    Pier Alberto avatar
    16 posts
    Member since:
    Jun 2013

    Posted 29 Jul 2014 in reply to Zdravko Link to this post

    Hi Zdravko,

    The two clients weren't simultaneously logged. Tha fact is that the sync problems are still there, in both places. The only way I found to get the project properly synced is to uninstall Graphite and then reinstall. It works, but after closing Graphite and reopening after doing some jobs on the other place, syncing doesn't work anymore, and I have to reinstall again.
    It's happening just now, I'm trying to open on my office PC a file modified yesterday on my Home PC. After waiting several minutes, the old version of the file finally opens, and the indicator appears.
    And while waiting there is little to no network activity coming from the Icenium.Graphite.exe process.

    I suspect this is something related to my account or to the particular project.

    Pier Alberto


  8. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 01 Aug 2014 Link to this post

    Hello Pier,

    Thanks for your reply.
    In order to dig further in your issue I would ask you to capture log using Fiddler when this happens.
    I am not sure whether you have noticed a pattern to reproduce the issue or it happens randomly so it is up to you to start Fiddler at the right moment.

    1. Download Fiddler from here and install it.
    2. Run Fiddler and go to Tools -> Fiddler Options.
    3. On the HTTPS page, verify that Capture HTTPS Connects is enabled.
    4. Verify that Decrypt HTTPS traffic is enabled with the ...from all processes option and minimize Fiddler to tray.
    5. Open your project and attempt to reproduce the issue.
    6. Once reproduced navigate to File -> Save -> All Sessions, save the archive to disk (a SAZ file).
    7. Open a private ticket and send us the saz file.
    Reinstalling the client every time is not a solution so we have to find the culprit. Normally reopening the project should sync the changes if not disconnected from the server.
    Did you try to reopen the client and then open the same project?

    One more thing I want you to try is to clear your project cache. There is a subfolder named as your email address at  %localappdata%\Telerik\BlackDragon folder. Find there your project cache, delete it and check whether your changes will be synced.

    Additionally access your project from our in-browser client where the unsynced project location is and check if the changes are available. Then open the same project in Graphite.

    Regards,
    Zdravko
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  9. Reckon Mobile
    Reckon Mobile avatar
    4 posts
    Member since:
    Aug 2013

    Posted 03 Aug 2014 Link to this post

    FWIW - the AppBuilder 2.4 release last week resolved the sync issues we were experiencing.
  10. Avesh
    Avesh  avatar
    8 posts
    Member since:
    Aug 2007

    Posted 01 Sep 2014 Link to this post

    Hi

    Are there any issues on build services?
    i've checked http://status.telerik.com/ and everything is operational.

    However, i cannot build my apps. Get the same errors mentioned above! SR.net_http_client_execution_error.
    i've tried Build And Deploy and just Build. Both fail and i have no connectivity issues.

    Regards,
    Avesh




  11. Avesh
    Avesh  avatar
    8 posts
    Member since:
    Aug 2007

    Posted 01 Sep 2014 in reply to Avesh Link to this post

    Problem seems have sorted itself out after a few hours
  12. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 01 Sep 2014 Link to this post

    Hi Avesh,

    Thank you for reporting this.

    Recently, we started experiencing some intermittent delays and timeouts with the iOS builds in AppBuilder. We made a sticky thread on that matter in order to inform clients experiencing them. As stated there, the status page is not updated as the matter is present for not all of our customers.

    I hope this helps.

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top