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

Mock endpoints not working when used in API products #3436

Open
Manasha11 opened this issue Dec 10, 2024 · 0 comments
Open

Mock endpoints not working when used in API products #3436

Manasha11 opened this issue Dec 10, 2024 · 0 comments
Labels

Comments

@Manasha11
Copy link

Description

Below error is observed when using APIs with mock implementation endpoints in API Products.

[2024-12-09 16:50:07,732] WARN - ConnectCallback Connection refused or failed for : localhost/127.0.0.1:80
[2024-12-09 16:50:07,735] WARN - EndpointContext Endpoint : TestProduct--v1.0.0--9f1c985c-d8b5-4579-af77-43195a27bd0c_APIproductionEndpoint with address http://localhost will be marked SUSPENDED as it failed
[2024-12-09 16:50:07,735] WARN - EndpointContext Suspending endpoint : TestProduct--v1.0.0--9f1c985c-d8b5-4579-af77-43195a27bd0c_APIproductionEndpoint with address http://localhost - last suspend duration was : 30000ms and current suspend duration is : 30000ms - Next retry after : Mon Dec 09 16:50:37 BRT 2024
[2024-12-09 16:50:07,735] INFO - LogMediator {api:TestProduct:v1.0.0} STATUS = Executing default 'fault' sequence, ERROR_CODE = 101503, ERROR_MESSAGE = Error connecting to the back end

Steps to Reproduce

  • Create an API with a mock implementation endpoint
  • Test and confirm that the API is working as expected
  • Add a resource from the new API and create an API Product
  • Invoke the resource in API Product

Version

4.1.0

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant