Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

REST API Tutorial Python sample fails: unexpected keyword argument pool_instance

I've posted the question to stackoverflow before realizing that the real knowledge should be here.. I'm copying it here for clarity:

I'm using Canopy Python 2.7.11 to try reading Jira tickets with the Atlassian REST API tutorial "Example #1: Graphing Image Links" sample at which uses restkit

But what I get is an error message

\Python>python RCA-12
Fetching RCA-12
Traceback (most recent call last):
File "", line 107, in <module>
graph = build_graph_data(start_issue_key, issue_fetcher)
File "", line 68, in build_graph_data
graph = walk(start_issue_key, [])
File "", line 48, in walk
issue = get_issue(issue_key)
File "", line 26, in get_issue
response = resource.get(headers = {'Content-Type' : 'application/json'})
File "C:\Users\riissane\AppData\Local\Enthought\Canopy\User\lib\site-packages\restkit\"
, line 114, in get
params_dict=params_dict, **params)
File "C:\Users\riissane\AppData\Local\Enthought\Canopy\User\lib\site-packages\restkit\"
, line 190, in request
File "C:\Users\riissane\AppData\Local\Enthought\Canopy\User\lib\site-packages\restkit\",
line 413, in request
return self.perform(request)
File "C:\Users\riissane\AppData\Local\Enthought\Canopy\User\lib\site-packages\restkit\",
line 286, in perform
conn = self.get_connection(request)
File "C:\Users\riissane\AppData\Local\Enthought\Canopy\User\lib\site-packages\restkit\",
line 188, in get_connection
extra_headers=extra_headers, **self.ssl_args)
File "C:\Users\riissane\AppData\Local\Enthought\Canopy\User\lib\site-packages\socketpool\",
line 190, in get
raise last_error
TypeError: wrap_socket() got an unexpected keyword argument 'pool_instance'

The jira server has an https address (the sample uses http) but I have no problems in browsing the Jira tickets with a web browser. I can get the tickets in json format using either Chrome and / or Postman using a call in the format


so I know that the system is accessible and I have right access codes..

But I'm out of ideas about what could be the issue with the Python program.

1 answer

Suggest an answer

Log in or Sign up to answer

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