marclave / InstaBot

A simple Instagram bot written in Python
199 stars 74 forks source link

pycurl.error: (60, 'SSL certificate problem: unable to get local issuer certificate') #8

Open fludkov opened 9 years ago

fludkov commented 9 years ago

Hi marclave!

I have following error after run InstaBot.py:

        InstaBot
Developed by Marc Laventure

Liking #I Traceback (most recent call last): File "InstaBot.py", line 113, in like(br, hashtags) File "InstaBot.py", line 79, in like response = encodeAndRequest(id) File "InstaBot.py", line 22, in encodeAndRequest c.perform() pycurl.error: (60, 'SSL certificate problem: unable to get local issuer certificate')

How can I resolve this?

patruff commented 8 years ago

I get this error too!

ArtVasykt commented 8 years ago

I solved the problem this way:

  1. pip install certifi
  2. Open InstaBot.py
  3. add "import certifi"
  4. before : c.setopt(c.URL, url) add: c.setopt(pycurl.CAINFO, certifi.where())

P.S sorry for my English

peter123023 commented 5 years ago

curl.setopt(pycurl.SSL_VERIFYPEER, 0) is key point

ashishsingh007 commented 4 years ago

I am getting same error when moving my code on Unix server but same works on windows. Don't know what is wrong. Tried multiple option such Ssl verify option set false

rpd-tweet commented 4 years ago

This is because your browser signature is banned by the owner. This is an identity error ( ERROR 1010)