Executing UTL_HTTP.REQUEST Fails on the Second Invocation With: ORA-29273

(Doc ID 1414923.1)

Last updated on JULY 17, 2017

Applies to:

Oracle Net Services - Version and later
PL/SQL - Version and later
IBM AIX on POWER Systems (64-bit)


Executing a call to UTL_HTTP.REQUEST and passing a URL fails with an ORA-29273 on the second invocation.

For Example:

Set serveroutput on
  req UTL_HTTP.req;
  resp UTL_HTTP.resp;
  value VARCHAR2 (32000);
  value := UTL_HTTP.request ('www.somehost.com/page');
  DBMS_OUTPUT.put_line ('OK1');

  value := UTL_HTTP.request ('www.somehost.com/page');
  DBMS_OUTPUT.put_line ('OK2');

Exception Stack:

ERROR at line 1:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", ...
ORA-12535: TNS:operation timed out
ORA-06512: at line 5


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms