I researched for this problem but didn't find anything helpful. What I don't understand is that the error keeps changing. I am trying to clone a repository using
git clone http://git.osmocom.org/gr-osmosdr gr-osmosdr
and I get two different errors at different times:
- Complains too many open files. (error: unable to ope object pack directory. fatal: failed to read object XXXXXXX: too many open files)
- couldn't connect to proxy (couldn't connect proxy at mycompanyproxy (curl_result=7, http_code=0, sha1 = YYYYYYYY)
I did set the environment variable
http_proxy="mycompanyproxy:1080"
and
git config --global http.proxy mycompanyproxy:1080
I did verify values of the variables too.
Any help is appreciated.