-
Notifications
You must be signed in to change notification settings - Fork 350
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
Failed to publish API #2631
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apiman Version
3.1.2
Apiman Manager Distro
WildFly
Apiman Gateway Distro
Vert.x
Java Version
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-122.04)
OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-122.04, mixed mode, sharing)
Operating System
Ubuntu 22.04
Are you running Apiman in a container, or on an orchestration platform?
Docker Compose
Describe the bug
Hello,
When I try to publish an api, in the manager, I am redirected to the page /apimanui/api-manager/errors/500: "Server Error!
Unexpected Server Error. Please try again." "Failed to published API".
However at the elasticsearch database, I see well the API published on the gateway but on the manager it remains in "ready" status.
On the manager, here is what I have as logs:
WARN [io.apiman.manager.api.war.wildfly8.ApimanTransactionalInterceptor] (default task-5) Transaction has been set as rollback only because of io.apiman.manager.api.rest.exceptions.ActionException: Failed to publish API. (This can occur accidentally if you are using exceptions for control-flow, which can caused the TX to be marked rollback only)
16:04:52,812 WARN [io.apiman.manager.api.war.wildfly8.ApimanTransactionalInterceptor] (default task-5) Transaction has been set as rollback only because of io.apiman.manager.api.rest.exceptions.ActionException: Failed to publish API.. (This can occur accidentally if you are using exceptions for control-flow, which can caused the TX to be marked rollback only)
16:04:52,814 ERROR [io.apiman.manager.api.rest.exceptions.mappers.RestExceptionMapper] (default task-5) Failed to publish API.: io.apiman.manager.api.rest.exceptions.ActionException: Failed to publish API.
..................................
Expected behaviour
No response
Actual behaviour
No response
How to Reproduce
No response
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: