surrealdb / surrealdb.go

SurrealDB SDK for Golang
https://surrealdb.com
Apache License 2.0
244 stars 66 forks source link

Bug: relate timeout #148

Open wokito opened 2 months ago

wokito commented 2 months ago

Describe the bug

When I use the SDK of Go to execute the RELATE on version 2.0 of DB. Timeout will occur. But version 1.53 can be used normally. The error message is as follows: sending request failed for method 'query': timeout"

Steps to reproduce

use the SDK of Go to execute the RELATE on version 2.0 of DB.

Expected behaviour

timeout

SurrealDB version

2.0.1

Contact Details

No response

Is there an existing issue for this?

Code of Conduct

jinrenjie commented 1 month ago

When I upgraded SurrealDB to 2.0.1, I encountered the same situation. I always timed out when creating records. The error was: sending request failed for method 'create': timeout.

bidamat commented 1 month ago

I get this error: sending request failed for method 'query': timeout

HilkopterBob commented 1 month ago

Error: panic: sending request failed for method 'create': timeout

Code:


UserInsertionData, err := db.DB.Create("user", NewUser)
    if err != nil {
        panic(err)
    }

Newest SDK commit && surreal 2.0.2 on arch linux

HilkopterBob commented 1 month ago

@remade any updates?

ElecTwix commented 1 month ago

@ElecTwix any updates?

@HilkopterBob, please ask @remade; I didn't change anything.