Created attachment 596619 [details] screenshot1 Description of problem: When I click the "Enable jenkins build" button to enable jenkins server, and got "Cartridge Error contacting Jenkins server. Could not download https://jenkins-fghdfg.dev.rhcloud.com/jnlpJars/jenkins-cli.jar" error, I got the account in jenkins,but there is no build of my app. Version-Release number of selected component (if applicable): devenv_1876 How reproducible:always Steps to Reproduce: 1.Go to opensihft and login 2.Create an application and click the "Enable jenkins build" button 3. Actual results: Caught error when enable jenkins, details see in attachment. Expected results: The jenkins should be enabled correctly. Additional info:
Created attachment 597094 [details] broker log
The problem is that due to DNS slowness in dev, the web console times out waiting to communicate with Jenkins. The error message needs improved. Assigning to Clayton.
*** Bug 837252 has been marked as a duplicate of this bug. ***
This error indicates that a mis-leading generic cartridge error message seemed to contradict the true status of the Jenkins server app. In the fix, we use a specific error condition to help differentiate between slow propagation of the Jenkins server app's DNS lookup information from actual application error conditions. In the former case, the normal error message is now superceded with a specific comment about slow DNS response. A pull request has been submitted.
(In reply to comment #4) Tested this issue on devenv_1884, did not meet this problem up to now.
(In reply to comment #4) Tested on devenv_1884 again, still will return the same error message, will test this issue on later build.
still seeing the same problem in devenv_1885
Submitted pull request for finalized version of fix + spec test
Disregard previous--different case #
(In reply to comment #9) Tested on devenv-stage_223, it still has this issue.
Fix should be available in next build.
verified on 1892. Still wasn't able to embed jenkins to the app because of dns slowness, but seeing the right error message now. """ The Jenkins server has not yet registered with DNS. Wait a few minutes before trying to add new cartridges to the application. """