Skip to content

Connection to remote SurrealDB instance: problem with authentication #77

@tz-torchai

Description

@tz-torchai

Hi,

Thanks for your work on this tool!

I was trying to use a remote SurrealDB instance, but got:

=====
ResponseError: There was a problem with the database: There was a problem with authentication
    at Surreal.signin (/home/my-user/my-space/my-project/node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/surrealdb/dist/index.cjs:1:45358)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async connectDb (/home/my-user/my-space/my-project/node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@sebastianwessel/surql-gen/dist/index.js:84:3)
    at async main (/home/my-user/my-space/my-project/node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@sebastianwessel/surql-gen/dist/index.js:1072:7)
===

The connection details are correct. I tried both wss with and without /rpc and https, all with same error.

Remote SurrealDB version is 2.3.0

Please let me know if you need any information. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions