so icon indicating copy to clipboard operation
so copied to clipboard

Failed to connect?

Open weiby3 opened this issue 5 years ago • 2 comments

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

weiby3 avatar Sep 09 '20 13:09 weiby3

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.

samtay avatar Sep 21 '20 16:09 samtay

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)

cpkio avatar Oct 03 '21 08:10 cpkio