You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying to Cloud Foundry, the embedded web server (Undertow in my case) must use the port defined in the PORT env variable. Simply deploying the repackaged jar to CF used to work for M2.
After an upgrade to M3, Undertow always starts on its default port 8080, which results in an error: 'Instance (index 0) failed to start accepting connections'. This issue is caused by CF checking if the application listens on the port it defined for it, and if it doesn't, it's an error and the app is killed.
I'm not sure if this is a Boot issue, or maybe Undertow's (I think M3 upgrades Untertow, among others).
The text was updated successfully, but these errors were encountered:
DefaultPropertyNamePatternsMatcher is created with a single name (server), two delimiters (_ and .) and ignoreCase set to false. This causes it to consider SERVER_PORT as not matching so it's not included in the property values used for the binding.
wilkinsona
changed the title
Cannot deploy to Cloud Foundry after upgrade 1.3.0M2 -> M3
Environment variables are not bound properly when unknown fields are not ignored
Aug 13, 2015
When deploying to Cloud Foundry, the embedded web server (Undertow in my case) must use the port defined in the PORT env variable. Simply deploying the repackaged jar to CF used to work for M2.
After an upgrade to M3, Undertow always starts on its default port 8080, which results in an error: 'Instance (index 0) failed to start accepting connections'. This issue is caused by CF checking if the application listens on the port it defined for it, and if it doesn't, it's an error and the app is killed.
I'm not sure if this is a Boot issue, or maybe Undertow's (I think M3 upgrades Untertow, among others).
The text was updated successfully, but these errors were encountered: