When attempting to establish an initial connection to SurrealDB using a WebSocket URL, the connection fails silently. No connection is established, and no error is thrown or reported. The application appears unresponsive with regards to the database connection attempt
Steps to reproduce
Establish a connection to SurrealDB using a WebSocket URL
import { Surreal } from 'surrealdb.js';
const db = new Surreal();
try {
await db.connect('ws://localhost:8000/rpc');
} catch (error) {
console.error('Connection error:', error);
}
Expected behaviour
Successful Connection: The application should establish a connection to the SurrealDB instance..
Error Handling: If the connection fails, an error should be thrown or returned instead of nothing...
SurrealDB version
1.5.4 for macos on aarch64
JavaScript SDK version
0.0.1-beta.4
Contact Details
No response
Is there an existing issue for this?
[X] I have searched the existing issues
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Describe the bug
When attempting to establish an initial connection to SurrealDB using a WebSocket URL, the connection fails silently. No connection is established, and no error is thrown or reported. The application appears unresponsive with regards to the database connection attempt
Steps to reproduce
Establish a connection to SurrealDB using a WebSocket URL
Expected behaviour
SurrealDB version
1.5.4 for macos on aarch64
JavaScript SDK version
0.0.1-beta.4
Contact Details
No response
Is there an existing issue for this?
Code of Conduct