Skip to content

[Bug]: MindsDbError: The request was made but no response was received. #39

@MinuraPunchihewa

Description

@MinuraPunchihewa

When I try to run some operations on MindsDB using the SDK such as a simple connect(), I run into the following error,

MindsDbError: The request was made but no response was received. Something may be wrong on our end. Please try again.
    at MindsDbError.fromAxiosError (/home/minura/Documents/work/open_source/the-issue-is/node_modules/mindsdb-js-sdk/dist/errors.js:78:20)
    at MindsDbError.fromHttpError (/home/minura/Documents/work/open_source/the-issue-is/node_modules/mindsdb-js-sdk/dist/errors.js:89:33)
    at SqlRestApiClient.<anonymous> (/home/minura/Documents/work/open_source/the-issue-is/node_modules/mindsdb-js-sdk/dist/sql/sqlRestApiClient.js:144:53)
    at step (/home/minura/Documents/work/open_source/the-issue-is/node_modules/mindsdb-js-sdk/dist/sql/sqlRestApiClient.js:48:23)
    at Object.throw (/home/minura/Documents/work/open_source/the-issue-is/node_modules/mindsdb-js-sdk/dist/sql/sqlRestApiClient.js:29:53)
    at rejected (/home/minura/Documents/work/open_source/the-issue-is/node_modules/mindsdb-js-sdk/dist/sql/sqlRestApiClient.js:21:65)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

After a while, if I keep executing the code, it runs successfully. I don't quite understand if this is a bug with the SDK or if there is something wrong with the cloud instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions