For the first time I am using the simple_salesforce
package in python to connect to salesforce cloud
.
Using the following code:
import os
import zipfile
import requests
import subprocess
from datetime import datetime
from bs4 import BeautifulSoup as BS
from simple_salesforce import Salesforce
sf = Salesforce(
username='<user name>',
password='<password>',
security_token='<session Id>'
)
I am getting the following error after executing the same.
*SSLError: HTTPSConnectionPool(host='login.salesforce.com', port=443): Max retries exceeded with url: /services/Soap/u/38.0 (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')",),))*
Can some one please help me on this.
i am using spyder UI here to code.
Thank you