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

An unexpected error occurred. Please report this if the issue persists. (HTTP 500) #38180

Open
1 task done
amadirimov opened this issue May 14, 2024 · 3 comments
Open
1 task done
Labels
area/api Related to the api community team/compose type/bug Something isn't working

Comments

@amadirimov
Copy link

amadirimov commented May 14, 2024

Connector Name

docker-registry.nl2.exadel.com/elms/exadel-learning-management-system/destination-talent-lms

Connector Version

0.0.58

What step the error happened?

Other

Relevant information

I have upgraded Airbyte version from 0.40.32 to 0.59.1 ater that I started getting an error when I click to my connections (the issue is for not all my connections one connection looks good)

when I finish configuring connection in the end I am getting that error. (destination and source both are custom)
I am getting that error when I click on tho connection from Admin Airbyte UI.
image

Relevant log output

Sorry, something went wrong.
An unexpected error occurred. Please report this if the issue persists. (HTTP 500)

Error details:
{
  "url": "https://elms-airbyte.dev.exadel.dev/workspaces/5442e295-af53-487d-b189-9eb76b12a7ba/connections/d7d07984-a346-4890-997f-3efdecbf5889",
  "airbyteVersion": "0.59.1",
  "errorType": "HttpError",
  "errorConstructor": "Xy",
  "error": {
    "i18nKey": "errors.http.internalServerError",
    "i18nParams": {
      "status": 500
    },
    "name": "HttpError",
    "requestId": "a3w6TG23MXT78f7jGipK8",
    "request": {
      "url": "/api/v1/web_backend/connections/get",
      "method": "post",
      "headers": {
        "Content-Type": "application/json"
      },
      "data": {
        "connectionId": "d7d07984-a346-4890-997f-3efdecbf5889",
        "withRefreshedCatalog": false
      }
    },
    "status": 500,
    "response": {
      "message": "Internal Server Error: Index 0 out of bounds for length 0",
      "exceptionClassName": "java.lang.IndexOutOfBoundsException",
      "exceptionStack": [
        "java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0",
        "\tat java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)",
        "\tat java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)",
        "\tat java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)",
        "\tat java.base/java.util.Objects.checkIndex(Objects.java:385)",
        "\tat java.base/java.util.ArrayList.get(ArrayList.java:427)",
        "\tat io.airbyte.commons.server.handlers.helpers.CatalogConverter.ensureCompatibleDestinationSyncMode(CatalogConverter.java:404)",
        "\tat io.airbyte.commons.server.handlers.ConnectionsHandler.lambda$getConnectionAirbyteCatalog$3(ConnectionsHandler.java:816)",
        "\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1596)",
        "\tat io.airbyte.commons.server.handlers.ConnectionsHandler.getConnectionAirbyteCatalog(ConnectionsHandler.java:815)",
        "\tat io.airbyte.commons.server.handlers.WebBackendConnectionsHandler.webBackendGetConnection(WebBackendConnectionsHandler.java:370)",
        "\tat io.airbyte.server.apis.WebBackendApiController.lambda$webBackendGetConnection$2(WebBackendApiController.java:107)",
        "\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:28)",
        "\tat io.airbyte.server.apis.WebBackendApiController.webBackendGetConnection(WebBackendApiController.java:97)",
        "\tat io.airbyte.server.apis.$WebBackendApiController$Definition$Exec.dispatch(Unknown Source)",
        "\tat io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461)",
        "\tat io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4232)",
        "\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271)",
        "\tat io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488)",
        "\tat io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:465)",
        "\tat io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87)",
        "\tat io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211)",
        "\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)",
        "\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)",
        "\tat java.base/java.lang.Thread.run(Thread.java:1583)"
      ]
    }
  },
  "stacktrace": "HttpError: errors.http.internalServerError\n    at BEe (https://elms-airbyte.dev.exadel.dev/assets/core-MpcFfYhE.js:119:8356)",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36",
  "featureFlags": {}
}

Contribute

  • Yes, I want to contribute
@davigs
Copy link

davigs commented May 16, 2024

I have a same problem.

@amadirimov
Copy link
Author

I hope someone from the Airbyte team will resolve it soon.

@marcosmarxm
Copy link
Member

Hello all, I raised this problem to the team responsible for the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Related to the api community team/compose type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants