5 Replies Latest reply on Jul 2, 2012 1:07 AM by CD Aurelian

    Synchronization Rhoconnect timeout



      We have a Rhoconnect application that connects to WebService and this call is quite slow (it consumes more than a minute).


      So, when we synchronize a Terminal using dosync function it doesn’t work because of Rhoconnect timeout. Our Terminal doesn’t receive an error, only an empty result (because the WebServices doesn’t finish yet!)


      We reproduce this behaviour doing your Rhoconnect example and adding a sleep 60 at Rhoconnect application.


      def query(params)


                  puts "Start"

                  sleep 60

                  puts "Finish"


          @result = {






      When the Terminal call the dosync function, it returns anything because of sleep, and if you change it and you write sleep 30, it works!