Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How I can insert SSL certificate and proxy params into get request for Trello Api ?

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 

1 answer

1 accepted

0 votes
Answer accepted

Found solution, thanks ! 

Facing the same issue. How did you solve it? .

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristjan Geir Mathiesen - Origo for sharing the picture of Taco having fun with his new friend...

460 views 19 19
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you