binary-buildpack | Deploy binaries to Cloud Foundry | Cloud library
kandi X-RAY | binary-buildpack Summary
kandi X-RAY | binary-buildpack Summary
A Cloud Foundry buildpack for running arbitrary binary web servers.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- main is the main entry point for buildpack
- New returns a new Supplier
- Run the finalizer
- Run the Supplier
binary-buildpack Key Features
binary-buildpack Examples and Code Snippets
Community Discussions
Trending Discussions on binary-buildpack
QUESTION
First, I've finaly found out what the problem was but still, I decided to write this question+answer for others (because I spent 6 hours with this issue).
So, what's the problem...
I have a Cloud Foundry app (on public Bluemix) based on binary-buildpack. Two days ago, everything was OK. But not since yesterday. My app crashed (probably during restaging or something similar) and never started again. I tried to push the app again and still the same result. Really frustrating...
Something about the backend... There is a shell script in my instance that runs one binary application. Generaly, the application should connect to database server (also on public Bluemix).
The problem: Everytime I tried to start the app, it crashed immediately. This is what I found in logs: dial tcp: lookup databaseserverdomain.com on 0.0.0.0:53: server misbehaving
.
There are a couple of similar problems on StackOverflow but no answer that would be helpful for me.
So, the error means that something went wrong with TCP connection. Ok, but what exactly? That's the question I'm going to answer myself...
...ANSWER
Answered 2017-Oct-06 at 15:55The solution was actually simple...
I edited my shell script and add ping google.com -count 3
before launching the application to test if there is a stable network connection. This worked.
The application got 2 more seconds and it was enough for network/router/whatever to establish the connection.
Hmm.. It seems that there is something wrong with network routing on Cloud Foundry/Bluemix since yesterday.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install binary-buildpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page