UTL_HTTP.REQUEST Returns ORA-29273 and ORA-12545

(Doc ID 1066934.1)

Last updated on AUGUST 30, 2017

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.
***Checked for relevance on 30-Aug-2017***


A simple SELECT statement using UTL_HTTP.REQUEST Fails with:

ORA-29273: HTTP request failed


For Example:

SELECT UTL_HTTP.REQUEST('http://www.oracle.com') FROM DUAL;

error in line 1:
ORA-29273: HTTP request failed
ORA-06512: in "SYS.UTL_HTTP", line 1577
ORA-12545: "Connect failed because target host or object does not exist"
ORA-06512: in line 1

Accessing the same URL in the browser is successful.


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