My Oracle Support Banner Perl Script Failing With Errors "502 Bad Gateway" And "The request could not be processed. An invalid response was received by the proxy or gateway server" (Doc ID 2997432.1)

Last updated on JANUARY 16, 2024

Applies to:

Oracle Enterprise Command Center Framework - Version 12.2.12 and later
Information in this document applies to any platform.


Performed new ECC installation by following (Doc ID 2495053.1), EBS is setup with TLS. While running to Import Enterprise Command Center Applications, it is failing with errors.

The same errors reported while accessing ECC Developer after login to EBS application.

Errors from patchEccFiles.out:

Importing application /u01/ecc/stage/ap/12.0.0/patch/115/ecc/applications/
ECC Application File:/u01/ecc/stage/ap/12.0.0/patch/115/ecc/applications/
ERROR: Failed with status 502 for url https://EBS_MIDDLETIER_HOST_FQDN:EBSTLSPORT/ecc/user/import/applications?gfmString=JPDe3tk6YYI8QZSDdlcuXg..
Please check the log: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<title>502 Bad Gateway</title>
<h1>Bad Gateway</h1>
<p>The request could not be processed.  An invalid response was received by the proxy or gateway server.</p>
 in ECC instance for error details
java.lang.Exception: https://EBS_MIDDLETIER_HOST_FQDN:EBSTLSPORT/ecc/user/import/applications?gfmString=JPDe3tk6YYI8QZSDdlcuXg.. failed with HTTP status: 502
        at oracle.ecc.client.util.FileUploader.finish(

Errors from EBS OHSlog*.log file:

[2024-01-03T11:12:37.0802-06:00] [OHS] [ERROR:32] [] [core.c] [host_id: ECCHOSTNAME.domain.corp] [host_addr:] [tid: 140598619133696] [user: patchapp] [ecid: 0063WqqlI_bC8xxMwAjc6G0097jb00009x] [rid: 0] [VirtualHost: <ebshostname.xx.xx>:0] (20014)Internal error:  proxy: pass request body failed to (<ecchostname.xx.xx>)

[2024-01-03T11:12:37.0802-06:00] [OHS] [ERROR:32] [] [core.c] [host_id: ebspatch.domain.corp] [host_addr:] [tid: 140598619133696] [user: patchapp] [ecid: 0063WqqlI_bC8xxMwAjc6G0097jb00009x] [rid: 0] [VirtualHost: <ebshostname.xx.xx>:0]  proxy: pass request body failed to (<ecchostname.xx.xx>) from

Errors from ecc-web-*.log file:

2024-01-04 15:26:55.576 [pool-7-thread-1] ERROR o.e.i.u.m.CollectionRegistration - Dataset activity-audit registration failed with error IOException occurred when talking to server at: https://<ecchostname.xx.xx>:eccTLSPort/core_ecc
org.apache.solr.client.solrj.SolrServerException: IOException occurred when talking to server at: https://<ecchostname.xx.xx>:eccTLSPort/core_ecc

The issue can be reproduced at will with the following steps:

1. Performed ECC as new installation by following (Doc ID 2495053.1)
2. Completed Create EBS JNDI and also Integrate ECC with EBS
3. When tried to run script in EBS system, it is failing with "502 Bad Gateway"
4. ECC Developer access also reported same errors


 This is a new ECC v10 installation


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.