Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update codenvy config and update of Codenvy version hung up on https://<hostname> address #459

Closed
dmytro-ndp opened this issue Jul 26, 2016 · 1 comment
Assignees
Milestone

Comments

@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Jul 26, 2016

Codenvy update from binaries command hung up on because there is wrong url of checking aliveness of codenvy on-prem API server:

return "http://localhost/api";

There should be:

return "$host_protocol://$host_url/api";

We need to use dns of Codenvy instead of localhost in case of using https protocol when verifying Codenvy aliveness so as SSL-certificate signed to these one.
Use next command instead of HttpTransport:request() method class to avoid hanging up in time of requesting when Codenvy on-prem installed behind the proxy and dns is'not real.

curl -X OPTIONS {host_protocol}//:{host_url}/api/

Another possible solution: to change method OPTIONS on GET in request to https://codenvy.onprem/api/

Codenvy version: <= 4.6.0-SNAPSHOT
Problem can be reliably reproduced: Yes

@dmytro-ndp dmytro-ndp self-assigned this Jul 26, 2016
@dmytro-ndp dmytro-ndp changed the title Update from binaries hung up on https://codenvy-stg.com Update codenvy config and update from binaries hung up on https://codenvy-stg.com Aug 5, 2016
@dmytro-ndp dmytro-ndp changed the title Update codenvy config and update from binaries hung up on https://codenvy-stg.com Update codenvy config and update from binaries hung up on https://<hostname> address Aug 5, 2016
@dmytro-ndp dmytro-ndp changed the title Update codenvy config and update from binaries hung up on https://<hostname> address Update codenvy config and update of Codenvy version hung up on https://<hostname> address Aug 5, 2016
dmytro-ndp pushed a commit that referenced this issue Aug 5, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Aug 5, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
@bmicklea
Copy link
Contributor

bmicklea commented Aug 5, 2016

@vkuznyetsov shouldn't this issue have a sprint/... label?

dmytro-ndp pushed a commit that referenced this issue Aug 6, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Aug 6, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Aug 9, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Aug 9, 2016
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
dmytro-ndp pushed a commit that referenced this issue Aug 9, 2016
(#459) fix requesting to Codenvy API throught HTTPS
@dmytro-ndp dmytro-ndp added this to the 4.7.0 milestone Aug 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants