manuthu opened a new issue #5267:
URL: https://github.com/apache/cloudstack/issues/5267
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
UI, API
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
4.15.1.0
~~~
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
```
[root@cloudstack ~]# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)
```
##### SUMMARY
<!-- Explain the problem/feature briefly -->
We recently upgraded our cloudstack environment from v4.13.0.0 to v4.15.1.0.
The error we currently are experiencing is when login. An error is raised
`Exception caught while discovering features`
This prevents users from accessing the portal.
On inspecting the network, the `listApis` call made during the Login
discovery phase returns a `504 - Gateway timeout error. `
This is also reproducable while using cloudmonkey.
```
🐱 > set display text
🐱 > list apis
[debug] ExecLine line:list apis
[debug] ExecCmd args: list, apis
[debug] NewAPIRequest API request
URL:https://portal.nbo.angani.co/client/api?apiKey=xxxxxx&command=listApis&response=json&signature=xxxx
[debug] NewAPIRequest response status code:504
[debug] NewAPIRequest response body:<html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.12.0</center>
</body>
</html>
🙈 Error: failed to decode response
```
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
🐱 > set display text
🐱 > list apis
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
A `HTTP 200` from the server.
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
[debug] NewAPIRequest response body:<html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.12.0</center>
</body>
</html>
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]