Hi everybody !
I having an issue. I can't pass through the proxy when I execute something like this :
trello.lists.get_card(listId)
I develop my script in python to reach data from Trello API.
I tryed to used "requests" and pass in param proxies values and certificate authority, but it's doesn't work. The error is :
HTTPSConnectionPool(host='trello.com', port=443): Max retries exceeded with url: /1/lists/idboard/cards?key=""&token=""(Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000000009D31B38>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
And with requests I tryed something like this :
from trello import TrelloApi
import requests
trello = TrelloApi('key', 'token')
proxies = {
'http': 'http://id:password@ip-porxy:8080',
'https': 'http://id:password@ip-porxy:8080'
}
url = requests.get(trello.get_token_url('My App', expires='30days', write_access=True), proxies = proxies, verify = True, cert=['path/to/.cer'])
I am not sure I can do that with trello api and white listing the url is a possibility that I prefer avoid.
If someone can help me ! Really appreciate
Thank's a lot.
Regards,
Juliette
Found solution, thanks !
Facing the same issue. How did you solve it? .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.