Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

REST API throws "408 Request Time-out" error (1 Comment)

$
0
0

Topic by Anurag Mittal

Content

My client is using RESP API to create record in OSvC from EBS. They have loop which call POST operation to create each Orgs record in OSvC. According to them everything goes well for few record and then they start getting "408 Request Time-out" error. 

When they rerun their program it works for failed record. 

Here is the header, they have added Keep-alive

req := utl_http.begin_request(v_url, v_method, 'HTTP/1.1'); -- 'POST',
utl_http.set_header(req, 'user-agent', 'mozilla/4.0');
utl_http.set_header(req, 'Accept', 'application/json'); -- 'application/json'
utl_http.set_header(req, 'Content-Language', 'en-US');
utl_http.set_header(req, 'messageType', 'TEXT');
utl_http.set_header(req, 'content-type', 'application/json;charset=UTF-8');
utl_http.set_header (req, 'Keep-Alive', '3000');
UTL_HTTP.set_header(req,'Connection','Keep-Alive');
utl_http.set_response_error_check(FALSE);

Any suggestion how to fix this one ??

 

Version

Aug 2016

Viewing all articles
Browse latest Browse all 2504

Trending Articles