You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, we call transportCommands in the connectTransport method of the SQLiteCloudTlsConnection class.
However, the transport method requires this.socket to be defined here:
transportCommands(commands: string |SQLiteCloudCommand,callback?: ResultsCallback): this{// connection needs to be established?if(!this.socket){callback?.call(this,newSQLiteCloudError('Connection not established',{errorCode: 'ERR_CONNECTION_NOT_ESTABLISHED'}))returnthis}// ...
I think this may be the issue.
To replicate, create a file that imports Database and try to instantiate a connection
The text was updated successfully, but these errors were encountered:
Current Behavior
I tried to initialize a connection with the driver on my local.
It kept failing with this output:
I tracked down the issue to connection-tls. In connection-tls,
As you can see, we call transportCommands in the connectTransport method of the SQLiteCloudTlsConnection class.
However, the transport method requires this.socket to be defined here:
I think this may be the issue.
To replicate, create a file that imports Database and try to instantiate a connection
The text was updated successfully, but these errors were encountered: