Loading

Application Using Secure Properties and Deployed to MuleSoft CloudHub Returns 502 Bad Gateway

Date de publication: Mar 4, 2026
Description

When an application has Secure Properties and deployed to CloudHub, a "502 Bad Gateway" error is returned along with "We couldn't find any Cloudhub application listening on this API" when trying to access the application, as shown below:

Résolution

When an application has a Secure Properties file and is deployed to MuleSoft CloudHub which results in a 502 Bad Gateway error trying to access the application, the likely cause is that the http.port value is not set to 8082.

When the http.port is in a secure properties file, the http.port value must be 8082 when deployed to CloudHub. This property is reserved in CloudHub, as per CloudHub Reserve Properties.

Numéro d’article de la base de connaissances

001120350

 
Chargement
Salesforce Help | Article