ORA-29273: HTTP request failed ORA-06512: at "SYS." UTL_HTTP", line 1130 ORA-29024: certificate validation failure

Hello

I explore APEX so that I can use it for ETL in BIC. I created a RESTful service in http://apex.oracle.com using the Oracle video and available documentation and then created a database application in the apex with form and reports. It is all good but when I run the form and enter the value of the variable I get this error below.

I think it must be something to do with the certificate or user identification information, but where can I create and import the wallet. I'm not trying to access the url outside the site of the apex.  I tried to get some information about Ko, but he talks about the creation of portfolio and import, but it does not make any sense to me.

Hi Anjum Ara,

Anjum Ara wrote:

Hi Kiran

Thank you for your response.

I understand the part of the certificate that you mentioned, but I'm not able to get a clear picture as to where should I create the portfolio and import certificates. I use https://apex.oracle.com , I don't have access to the servers where this forum is hosted. I'm missing something basic here or I've got it all wrong.

.

You must configure the portfolio and ACL to the database instance where you want to consume web services HTTPS.

In this case if you want to consume the web service on an application workspace apex.oracle.com, you must set up the portfolio and ACL on apex.oracle.com.

And as apex.oracle.com is hosted Oracle apex Forum and it is intended for the purpose of demonstration only according to the warning posted on the site I think it is not possible to set up the wallet and the ACL because this requires access to the DBA database.

The best possible alternative is to host your own instance of APEX.

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • Unhandled exception in AXFCustom.launch_command_soap SQLCODE =-29273: ORA-29273: HTTP request failed error when clicking on the EBS Zoom button

    Hello

    I use Oracle EBS, whenever I click on the Zoom button I get the error at the bottom of the page below.

    Unhandled exception in AXFCustom.launch_command_soap SQLCODE =-29273: ORA-29273: HTTP request failed

    When I checked the master.log file I see the error log entry below.

    < SNIP >

    path Wallet AXFCustom.launch_command_soap = file:/u020/dba/wci-wallet/sd12t-wallet 23/03/2015-22:09:44

    23/03/2015-22:09:55 unhandled exception in AXFCustom.launch_command_soap SQLCODE =-29273: ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1130

    ORA-29106: could not import the PKCS #12 wallet.

    ORA-06512: at the 'APPS '. AXF_SOAPCALL', line 14

    23/03/2015-22:09:55 AXFCustom.main: output

    < / SNIP >

    Please provide your input on this.

    Thank you

    Shakeel

    Hi Shakeel,

    This error occurs when there is some value (which is unnecessary) present in the column "AXF_WalletKey."

    To resolve the above error, please follow the steps below.

    1. connect to AXF schema using SQL developer.

    2. run the command AXF diagram below.

    Call fnd_vault.put ('AXF ', 'AXFWalletKey',' ');

    commit;

    3. disconnect the session of EBS log on again and check the Zoom button.

    Kind regards

    Rahul

  • access the web service WSDL (https) - ORA-29273: HTTP request failed

    I use 11g (11.2.0.1.0)

    I've already implemented a function that access a WSDL service, sending a XML request with answer. It is an HTTPS service and I had successfully setup the configuration of the ACL.
    Wallets and certificates were also imported according to the needs.
    However, it has stopped working and I get the following errors, which I can't find out why?

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

    The same service works perfectly for an another database 11g...

    Any ideas?

    AndreasCon wrote:

    ORA-12545: Connect failed because target host or object does not exist

    This error means generally that the socket connect command failed, because the host name has not be resolved to an IP or IP connection failed.

    What is the URL that you use? It contains a host name? If so, how PL/SQL solves that one IP (use utl_inaddr.get_host_address () to determine that)?

    What is a valid IP address for the host? Connectivity to this IP address works of your Oracle (test using telnet on port https to IP) Server?

    Looks like on this server host name resolution is not working / configured correctly (saw that the code works on other servers).

  • Error when creating a Web Service reference. ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    I have a need to call a web service from an APEX application, so I thought I'd try to experience everything first call a web service that is accessible to the public from W3Schools.  The URL of the WSDL that I use is:

    http://www.w3schools.com/webservices/TempConvert.asmx?WSDL

    The 1st thing I try in APEX is to create a Web Service based on the above URL reference.  Problem is that I get the following error:

    ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    Any ideas?

    I even tried with some other URL WSDL and always the same exact error.

    Thanks in advance.

    Hello

    Maybe your database server have firewall that blocks to internet connection?

    Kind regards
    Jari

  • I get the error message like "error - ORA-29273 report: failure of the HTTP ORA-06512: at"SYS. " UTL_HTTP", line 1130 ORA-12535: TNS:operation expired ORA-06512: 37 29273 line. 00000 - "HTTP request failed" * Cause: package UTL_HTTP The Impossible to run

    I have tried the code

    DECLARE

    lv_url VARCHAR2 (1000): = ' http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';

    lc_return BLOB;

    lhttp_url httpuritype.

    Varriables - declared to have written the LOB to pdf file-

    l_file UTL_FILE. TYPE_DE_FICHIER;

    l_buffer RAW (32767).

    l_amount directory: = 32767;

    l_pos INTEGER: = 1;

    l_blob BLOB;

    l_blob_len INTEGER.

    BEGIN

    -create URIs

    lhttp_url: = httpuritype.createuri (lv_url);

    -get the PDF document

    lc_return: = lhttp_url.getblob ();

    -Open the destination file.

    l_file: = UTL_FILE. FOPEN ('MBO_INPUT_DIR', 'MBD.zip', 'wb');

    -Get the total length of the BLOB

    l_blob_len: = DBMS_LOB.getlength (lc_return);

    -Pieces of the BLOB to read and write to the file

    -full up.

    While l_pos < l_blob_len LOOP

    DBMS_LOB. READ (lc_return, l_amount, l_pos, l_buffer);

    UTL_FILE.put_raw (l_file, l_buffer, FALSE);

    l_pos: = l_pos + l_amount;

    END LOOP;

    -Closes the file.

    UTL_FILE. FCLOSE (l_file);

    EXCEPTION

    WHILE OTHERS THEN

    -Close the file if something goes wrong.

    IF UTL_FILE.IS_OPEN (l_file) THEN

    UTL_FILE. FCLOSE (l_file);

    END IF;

    LIFT;

    END;

    But make a mistake like:

    Error report-

    ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1130

    ORA-12535: TNS:operation expired

    ORA-06512: at line 37 level

    29273 00000 - "the HTTP request failed.

    * Cause: The UTL_HTTP package cannot run the HTTP request.

    * Action: Use get_detailed_sqlerrm to check the detailed error message.

    Correct the error and restart the HTTP request.

    Please suggest a solution. Is it possible to download a zip file with the same code?

    [oracle@localhost ~]$ sqlplus scott/tiger
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Apr 6 13:59:09 2015
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> --My Database version
    SQL> ----------------------
    SQL> SELECT * FROM v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  DECLARE
      2        lv_url    VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
      3        lc_return BLOB;
      4        lhttp_url httpuritype;
      5        ---Varriables declared for writing the LOB to pdf file --
      6        l_file     UTL_FILE.FILE_TYPE;
      7        l_buffer   RAW(32767);
      8        l_amount   BINARY_INTEGER := 32767;
      9        l_pos      INTEGER := 1;
    10       l_blob     BLOB;
    11       l_blob_len INTEGER;
    12     BEGIN
    13       --create uri
    14       lhttp_url := httpuritype.createuri(lv_url);
    15       --get the PDF document
    16       lc_return := lhttp_url.getblob();
    17       -- Open the destination file.
    18       l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb');
    19       --Get the total length of the BLOB
    20       l_blob_len := DBMS_LOB.getlength(lc_return);
    21       -- Read chunks of the BLOB and write them to the file
    22       -- until complete.
    23       WHILE l_pos < l_blob_len LOOP
    24         DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer);
    25         UTL_FILE.put_raw(l_file, l_buffer, FALSE);
    26         l_pos := l_pos + l_amount;
    27       END LOOP;
    28       -- Close the file.
    29       UTL_FILE.FCLOSE(l_file);
    30     EXCEPTION
    31       WHEN OTHERS THEN
    32         -- Close the file if something goes wrong.
    33         IF UTL_FILE.IS_OPEN(l_file) THEN
    34           UTL_FILE.FCLOSE(l_file);
    35         END IF;
    36         RAISE;
    37*    END;
    38  /
    DECLARE
    *
    ERROR at line 1:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1130
    ORA-24247: network access denied by access control list (ACL)
    ORA-06512: at line 36
    
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL> ed
    Wrote file afiedt.buf
    
      1  BEGIN
      2    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl         => 'love.xml',
      3                                      description => 'Love ACL',
      4                                      principal   => 'SCOTT',
      5                                      is_grant    => true,
      6                                      privilege   => 'connect');
      7    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl       => 'love.xml',
      8                                         principal => 'SCOTT',
      9                                         is_grant  => true,
    10                                         privilege => 'resolve');
    11    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl  => 'love.xml',
    12                                      host => 'shenzhoufellowship.org');
    13  commit;
    14* END;
    15  /
    
    PL/SQL procedure successfully completed.
    
    SQL> conn scott/tiger
    Connected.
    SQL> ed
    Wrote file afiedt.buf
    
      1  DECLARE
      2        lv_url    VARCHAR2(500) := 'http://shenzhoufellowship.org/main2/files/old/SpecialTopics/TheLoveDare.pdf';
      3        lc_return BLOB;
      4        lhttp_url httpuritype;
      5        ---Varriables declared for writing the LOB to pdf file --
      6        l_file     UTL_FILE.FILE_TYPE;
      7        l_buffer   RAW(32767);
      8        l_amount   BINARY_INTEGER := 32767;
      9        l_pos      INTEGER := 1;
    10       l_blob     BLOB;
    11       l_blob_len INTEGER;
    12     BEGIN
    13       --create uri
    14       lhttp_url := httpuritype.createuri(lv_url);
    15       --get the PDF document
    16       lc_return := lhttp_url.getblob();
    17       -- Open the destination file.
    18       l_file := UTL_FILE.FOPEN('SAUBHIK', 'TheLoveDare.pdf', 'wb');
    19       --Get the total length of the BLOB
    20       l_blob_len := DBMS_LOB.getlength(lc_return);
    21       -- Read chunks of the BLOB and write them to the file
    22       -- until complete.
    23       WHILE l_pos < l_blob_len LOOP
    24         DBMS_LOB.READ(lc_return, l_amount, l_pos, l_buffer);
    25         UTL_FILE.put_raw(l_file, l_buffer, FALSE);
    26         l_pos := l_pos + l_amount;
    27       END LOOP;
    28       -- Close the file.
    29       UTL_FILE.FCLOSE(l_file);
    30     EXCEPTION
    31       WHEN OTHERS THEN
    32         -- Close the file if something goes wrong.
    33         IF UTL_FILE.IS_OPEN(l_file) THEN
    34           UTL_FILE.FCLOSE(l_file);
    35         END IF;
    36         RAISE;
    37*    END;
    38  /
    
    PL/SQL procedure successfully completed.
    
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@localhost ~]$ cd saubhik/
    [oracle@localhost saubhik]$ pwd
    /home/oracle/saubhik
    [oracle@localhost saubhik]$ ls -l *.pdf
    -rw-r--r-- 1 oracle oinstall 60055 Apr  6 14:03 TheLoveDare.pdf
    [oracle@localhost saubhik]$
    

    I love this pdf file. I would like to read this and mean while if you get an error then please post in its entirety and also think that it is an Oracle error or network.

  • HTTP request failed during installation

    Download the free Acrobat Pro and got the error "HTTP request failed.

    Hi email939,

    Please read https://forums.adobe.com/thread/1499014

    -try some steps such as changing browsers and disable your firewall

    -also clear the cache of your browser if you start with a fresh browser

    -check the file hosts for blocked entries https://forums.adobe.com/thread/1912777

    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip.

    https://helpx.Adobe.com/creative-cloud/KB/creative-cloud-desktop-application-failed.html

    http://helpx.Adobe.com/creative-cloud/KB/failed-install-creative-cloud-desktop.html

    or

    A chat session where an agent can remotely look inside your computer can help

    Go to "adobe.com/getsupport" after the signature using Adobe ID, select 'always need help contact us' to the chat session started.

    I would like to know if it works.

    Kind regards

    Christian

  • I am trying to download the trial of Acrobat DC and the error message "HTTP request failed.

    I am trying to download the trial of Acrobat DC and the error message "HTTP request failed.  I have a PC and have tried to use Chrome and IE 11, assured pop - ups are enabled for this site, etc.  Thoughts on how to proceed?

    Kindly try to download Acrobat products | Standard, Pro | DC, XI, X from there.

    Let us know if that helps.

  • The HTTP request failed

    Tricks to work around the error message "HTTP Request Failed" when you download Acrobat Pro on a PC running Windows 7?

    clear your adobe.com cookies or use a different browser.

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • Trigger the error ORA-06512: in SYS. Line SECURE_DML 5

    Hi all
    I am trying to create a procedure that is called by a trigger like this:

    CREATE or REPLACE PROCEDURE SECURE_DML is
    BEGIN
    If (TO_CHAR(SYSDATE, 'DY') IN ('SAB', 'DOM')) OR (TO_CHAR (SYSDATE, 'HH24')
    NOT FROM 08:00 ' 17:00 ') THEN
    RAISE_APPLICATION_ERROR (-20500, ' Insercoes funcionarios only no comercial Monday ');
    end if;
    end;
    /

    CREATE OR REPLACE TRIGGER secure_dml2
    INSERT BEFORE ON SCOTT. EMP2
    BEGIN
    exec SECURE_DML procedure;
    end;
    /
    ALTER SESSION set nls_date_format = 'HH24 DY';
    insert into SCOTT.emp2 (sal, empno, ename, deptno) values (7935, 'SANDRA', 1203, 10);

    The error that is:
    ORA-06512: In SYS. Line SECURE_DML 5
    ORA-06512: In SYS. SECURE_DML2 line 2

    What should I do to remove these erros?
    Thank you

    SQL * Plus still displays the full error stack. You raise an error in the stored procedure that is propagated to trigger that is propagated to SQL * more.

    SY.

  • The following HTTP requests fail in the Simulator, but not on the device (4.2.1)

    Anyone had this problem before?  I do a HTTP request and then according to the return add another to my queue and the other repeatedly fails on the Simulator.  However, I tried to run on the device and everything worked perfectly.  I know this is a pretty vague description, but I was wondering if there was any problem known about.  He could make debugging in the simulator that is very difficult in the future.

    marchywka, I think it has something to do with the WiFi in the Simulator.  It works the first time, but in certain circumstances later fail.

    I couldn't understand it, but I decided to not use WiFi when it is the Simulator and use WiFi on the device.

  • InDesign http request failed: no encryption shared

    Hello

    Of my ExtendScript, I try to call to a server over https:

    var XMLHTTP = new XMLHttpRequest();

    XMLHTTP.open("get",URL,true) ('GET', 'https://***/api/books", true");

    xmlhttp.setRequestHeader ('authorization', 'NDI5MDk base...');

    XMLHTTP. Send (null);

    If (XMLHTTP. Status == 200) {}

    Alert (XMLHTTP. ResponseText);

    }

    The code triggers the following output in the console:

    NET::ERR_SSL_VERSION_OR_CIPHER_MISMATCH

    Monitoring of the content of the application, it seems that ExtendScript uses Version: 3.2 (TLS/1.1) and then Version: 3.1 (TLS/1.0). But in looking at the log of the server on the other side, there is only a single error message:

    2016/09/29 11:25:34 [info] 7048 7048 #: * 4396957 SSL_do_handshake() failed (SSL: error routines: 1408A0C1:SSL: ssl3_get_client_hello:no shared cipher) all client SSL communication protocol: *. **. **. *, server: 0.0.0.0:443

    The web server is very stable and well maintained, works STL 1.2 and supports all secure encryption algorithms:

    443/tcp open https

    | SSL-enum-encryption algorithms:

    |   TLSv1.2:

    |     encryption algorithms:

    |       TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256r1) - has

    |       TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (secp256r1) - has

    |       TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (dh 4096) - has

    |       TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (dh 4096) - has

    |       TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (secp256r1) - has

    |       TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 (secp256r1) - has

    |       TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 (dh 4096) - has

    |       TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 (dh 4096) - has

    |       TLS_RSA_WITH_AES_128_GCM_SHA256 (rsa 2048) - has

    |       TLS_RSA_WITH_AES_256_GCM_SHA384 (rsa 2048) - has

    |       TLS_RSA_WITH_AES_128_CBC_SHA256 (rsa 2048) - has

    |       TLS_RSA_WITH_AES_256_CBC_SHA256 (rsa 2048) - has

    |     compressors:

    |       NULL VALUE

    |     encryption preference: Server

    | _ force less: has

    What happens here? Is there a problem between TLS 1.0/1.1 on the client and 1.2 on the side Server? What would be the best way to deal with this problem?

    Thank you!

    It turns out that InDesign ExtendScript is unable to establish a connection using TLS 1.2. After you enable the TLS 1 and 1.1 on our server (while maintaining our rating of A +), everything worked.

  • The HTTP request failed in installation

    I tried to install Adobe Pro DC twice with the same result.

    Help, please.

    Hi bonnieo1149021 ,

    Please let us know the version of the OS on your system?

    If its windows, please try to run this cleanup tool: Download Adobe Reader and Acrobat tool - Adobe Labs

    Restart the system and install Acrobat pro DC from this link: download and install Acrobat DC subscription

    Also, please try to clear the browser cookies and try again with another browser.

    Let us know if that helps.

    Concerning

    Sarojini

  • Error HTTP REQUEST FAILED when you download Adobe acrobat pro

    Try to download at the bottom of the link:

    Download Adobe Acrobat products. Standard, Pro | DC, XI, X

  • Downloading Adobe Acrobat Pro DC, I get the error message "HTTP request failed."

    I tried enabling windows pop up and activation java script.  I installed the new drive flash as well and it doesn't help either.

    Disable your adobe.com or use another browser.

  • ORA-06512: at "SYS." UTL_HTTP"ORA-29259: end-of-entry available on UTL_HTTP. GET_RESPONSE

    Hi all

    I call using UTL_HTTP and SOAP_API Web services, mentioned below, similarly

    FUNCTION to CREATE or REPLACE add_numbers (p_int_1 in NUMBER, p_int_2 number)

    RETURN NUMBER

    AS

    l_request soap_api.t_request;

    l_response soap_api.t_response;

    l_return VARCHAR2 (32767).

    l_url VARCHAR2 (32767).

    l_namespace VARCHAR2 (32767).

    l_method VARCHAR2 (32767).

    l_soap_action VARCHAR2 (32767).

    l_result_name VARCHAR2 (32767).

    BEGIN

              l_url := ' http://oracle-base.com/webservices/server.php';

    " l_namespace: = ' xmlns =" http://Oracle-base.com/webservices/ "';

    l_method: = 'ws_add ';

    l_soap_action: = ' http://oracle-base.com/webservices/server.php/ws_add';

    l_result_name: = 'back ';

    l_request: = soap_api.new_request (p_method = > l_method,)

    p_namespace = > l_namespace);

    soap_api.add_parameter (p_request = > l_request,)

    p_name = > 'int1 ',.

    p_type = > ' xsd: Integer.

    p_value = > p_int_1);

    soap_api.add_parameter (p_request = > l_request,)

    p_name = > "int2"

    p_type = > ' xsd: Integer.

    p_value = > p_int_2);

    l_response: = soap_api.invoke (p_request = > l_request,)

    p_url = > l_url,

    p_action = > l_soap_action);

    l_return: = soap_api.get_return_value (p_response = > l_response,)

    p_name = > l_result_name,

    p_namespace = > NULL);

    RETURN l_return;

    END;

    It works very well when the number of records is less (the XML output is small), but when the number of records in the source database is passed then I'm not able to get the output XML file.

    I get the error message,

    error code:-29273, msg error: ORA-29273: HTTP request failed

    ORA-06512: at "SYS." UTL_HTTP", line 1369

    ORA-29259: end-of-input reached

    I am gettting error on line,

    L_HTTP_RESPONSE: = UTL_HTTP. GET_RESPONSE (L_HTTP_REQUEST);

    Can someone help me with this problem? Is it possible to increase the size HTTP_RESPONSE?

    Thank you

    Abbas Qureshi

    Hello

    have you checked the end of your XML data? You wrote:

    > Looped it returns two values XML we have a length 32767 and other is 122.
    Perhaps you can see which part of your HTTP response is missing.

    Kind regards

    WoG

Maybe you are looking for