so
so copied to clipboard
Failed to connect?
Describe the bug
I run so mysql create table key vs index and got ✖ Reqwest error: error sending request for url (https://duckduckgo.com/?q=%28site%3Astackoverflow.com%29+mysql+create+table+key+vs+index&kz=-1&kh=-1): error trying to connect: unsuccessful tunnel.
How to solve this problem?
To Reproduce
$ so mysql create table key vs index
✖ Reqwest error: error sending request for url (https://duckduckgo.com/?q=%28site%3Astackoverflow.com%29+mysql+create+table+key+vs+index&kz=-1&kh=-1): error
trying to connect: unsuccessful tunnel
Environment
- OS: CentOS7, with proxy setted.
- Terminal: zsh
-
so --version: so 0.4.2
Sorry I'm pretty busy at the moment and don't have the time to properly dig into this. At first glance, it appears reqwest can be finicky when making requests behind a proxy. I'm guessing I need to use the library differently in order to support that, but I'm not sure.
I've encountered a similar error (translated):
✖ Reqwest error: error sending request for url (https://api.stackexchange.com/2.2/questions/175579?key=8o9g7WcfwnwbB
Qp4VsGsw%28%28&page=1&filter=.DND5X2VHHUH8HyJzpjo%295NvdHI3w6auG&site=stackoverflow&pagesize=1): error trying to connect: The required certificate has expired / has not expired when checking against the system clock or time stamp in the signed file. (os error -2146762495)