Utility : HTTP Time Out
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-03-17 09:56 PM
Hi,
I am working on a process that requests data from the webservice using GET.
Problem is sometimes the response is longer than the 90- 100 seconds that the Blue Prism object allows before giving a time out error.
Is there any way to extend this time so the robot doesn't time out before receiving the response?
Thanks
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-04-17 06:30 PM
I have managed to resolve this, for future reference if anyone has problems in future.
You need to add a line of code on line 2
request.Timeout = 360000
The 360000 is milliseconds , so you can change that to suit your needs.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-02-24 01:10 PM
Hey @paul_fraser , what's up?
I need to increase the timeout time but I'm using the standard blueprism webservices, where are you putting this code?
------------------------------
Lucas Passos
Developer | Controlroom
Hering
Blumenau
48996845408
------------------------------
