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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • 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

Python REST API to Jira - Get Exceptions

Hi,

I'm working with Python REST API to Jira (Server) in order to pull jira logs data and push them into a SQL server.

For some reason, I started getting exceptions and the script fails.

I get these messages:

TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

OR sometimes I get:

ValueError: invalid literal for int() with base 16: b'

 

Do you have any idea why this is happening? Any solutions?

Thanks.

 

1 answer

0 votes

Hi! 

You can increase a timeout like this 

https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/rest_client.py#L42

 

About literal you need to debug and set the try except into your code

Suggest an answer

Log in or Sign up to answer
TAGS

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