Always got connection timeout on MacOS
Works well on linux, but when I run my code from my macos laptop. I encountered this.
Thanks for reporting. I have a mac laptop hanging around, I will test and let you know.
Thanks for reporting. I have a mac laptop hanging around, I will test and let you know.
This issue seems related to Go Mod. I'm new to Golang. If I make a new proejct that doesn't have go.mod file, then connection timeout issue doesn't occur
I’ll try to update dependencies then. Might help. Thanks for the investigation
The error message I got: netlib: Timeout reached, yet the cancel was not acknowledged
I've updated dependencies. Can you please check again? If it doesn't work I'll try to make my old macbook boot.
Thanks for your update. I finally have time to work on this. This time, timeout issue disappeared at sql.Open() but happpend at Query(): 61: func (user *Login) Process(query string) error { 62: rows, err := user.Connection.Query(query) 63: if err != nil { => 64: msg, ok := err.(tds.SybError) 65: if ok == true { 66: user.Messages = append(user.Messages, msg) 67: } else { 68: return err 69: } (dlv) print err error(*errors.errorString) *{ s: "netlib: Timeout reached, yet the cancel was not acknowledged",} (dlv) exit
@8528868jeffrey did you resolve this problem?