Try the fastest and simplest way to install ONLYOFFICE

Callback URL retry

Integration questions/issues

Callback URL retry

Postby ckinsey » Fri Jan 27, 2017 5:36 am

If the request to the callback URL fails (does not return {'error': 0}), will the document server attempt to try again? I would like to be able to resend the callback in case of an unexpected error with our application/server/network/etc. I can see that the doc_callback entry in postgresql still exists, so this should be possible?
ckinsey
 
Posts: 5
Joined: Wed Aug 19, 2015 9:10 pm

Re: Callback URL retry

Postby Maxim » Fri Jan 27, 2017 12:34 pm

Hello ckinsey!
For now it's not possible. The Document Server won't try again to make the request to the Callback URL. We have decided to solve that after 4.3 release.
Maxim
 
Posts: 777
Joined: Tue Oct 11, 2016 2:34 pm

Re: Callback URL retry

Postby ckinsey » Fri Jan 27, 2017 4:00 pm

Thank you. In the mean time, how can I detect this condition? In my tests it looks as if the failed callback remains in the doc_callbacks table and there are no results related to that document key with status code 8 in the task_results table, but I cannot be sure that is correct.
ckinsey
 
Posts: 5
Joined: Wed Aug 19, 2015 9:10 pm


Return to API

Who is online

Users browsing this forum: Bing [Bot] and 1 guest