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

Error timeout #529

Open
thiagonogueira-edilabs opened this issue Dec 23, 2024 · 1 comment
Open

Error timeout #529

thiagonogueira-edilabs opened this issue Dec 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@thiagonogueira-edilabs
Copy link

APIM-CLI version

1.14.8

API-Management version

7.7.0-20230830

Bug description

We are facing an error when calling this endpoint that is being executed via apimcli.
The timeout error.
End point https://apimgr.openapi.tu.teste.internet:443/api/portal/v1.4/proxies/a6192a6f-b852-4e92-bed3-0a7b45c27b6a/applications

logs:

error   23-Dec-2024 12:54:29    �[m�[m2024-12-23 13:53:46,468 [RestAPICall] DEBUG: Http verb:GET and URI: https://apimgr.openapi.tu.teste.internet:443/api/portal/v1.4/proxies/a6192a6f-b852-4e92-bed3-0a7b45c27b6a/applications
error   23-Dec-2024 12:54:29    �[m�[1;31m2024-12-23 13:54:16,482 [APIImportApp] ERROR: Cannot read APIs from API-Manager
error   23-Dec-2024 12:54:29                                     | Error cant load subscribes applications from API-Manager.
error   23-Dec-2024 12:54:29    com.axway.apim.lib.error.AppException: Cannot read APIs from API-Manager
error   23-Dec-2024 12:54:29        at com.axway.apim.adapter.apis.APIManagerAPIAdapter.getAPIs(APIManagerAPIAdapter.java:109)
error   23-Dec-2024 12:54:29        at com.axway.apim.adapter.apis.APIManagerAPIAdapter.getAPI(APIManagerAPIAdapter.java:115)
error   23-Dec-2024 12:54:29        at com.axway.apim.APIImportApp.importAPI(APIImportApp.java:94)
error   23-Dec-2024 12:54:29        at com.axway.apim.APIImportApp.importAPI(APIImportApp.java:52)
error   23-Dec-2024 12:54:29        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
error   23-Dec-2024 12:54:29        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
error   23-Dec-2024 12:54:29        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
error   23-Dec-2024 12:54:29        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
error   23-Dec-2024 12:54:29        at com.axway.apim.cli.APIManagerCLI.run(APIManagerCLI.java:133)
error   23-Dec-2024 12:54:29        at com.axway.apim.cli.APIManagerCLI.main(APIManagerCLI.java:72)
error   23-Dec-2024 12:54:30    Caused by: com.axway.apim.lib.error.AppException: Error cant load subscribes applications from API-Manager.
error   23-Dec-2024 12:54:30        at com.axway.apim.adapter.client.apps.APIMgrAppsAdapter.getAppsSubscribedWithAPI(APIMgrAppsAdapter.java:158)
error   23-Dec-2024 12:54:30        at com.axway.apim.adapter.apis.APIManagerAPIAdapter.addClientApplications(APIManagerAPIAdapter.java:459)
error   23-Dec-2024 12:54:30        at com.axway.apim.adapter.apis.APIManagerAPIAdapter.getAPIs(APIManagerAPIAdapter.java:97)
error   23-Dec-2024 12:54:30        ... 9 more
error   23-Dec-2024 12:54:30    Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
error   23-Dec-2024 12:54:30     at [Source: (String)"

504 Gateway Time-out


error   23-Dec-2024 12:54:30    The server didn't respond in time.
error   23-Dec-2024 12:54:30    
error   23-Dec-2024 12:54:30    "; line: 1, column: 2]
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:2477)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:750)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:674)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:2085)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:808)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4912)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4818)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3772)
error   23-Dec-2024 12:54:30        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3755)
error   23-Dec-2024 12:54:30        at com.axway.apim.adapter.client.apps.APIMgrAppsAdapter.getAppsSubscribedWithAPI(APIMgrAppsAdapter.java:155)

Steps to reproduce

No response

Relevant log output

No response

@thiagonogueira-edilabs thiagonogueira-edilabs added the bug Something isn't working label Dec 23, 2024
@rathnapandi
Copy link
Member

Hi @thiagonogueira-edilabs,

You can increase the timeout via command line parameter timeout. The default value is 30000 milliseconds.

thanks
Rathna

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants