Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

encounter error message when using the atlassian-python-API

wanghaitao August 4, 2021

File "a.py", line 160, in <module>
confluence1.health_check()
File "/usr/local/lib/python3.6/dist-packages/atlassian/confluence.py", line 2259, in health_check
response = self.get("rest/troubleshooting/1.0/check/")
File "/usr/local/lib/python3.6/dist-packages/atlassian/rest_client.py", line 272, in get
absolute=absolute,
File "/usr/local/lib/python3.6/dist-packages/atlassian/rest_client.py", line 227, in request
proxies=self.proxies,
File "/opt/diskb/integration/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/opt/diskb/integration/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
history = [resp for resp in gen]
File "/opt/diskb/integration/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
history = [resp for resp in gen]
File "/opt/diskb/integration/.local/lib/python3.6/site-packages/requests/sessions.py", line 166, in resolve_redirects
raise TooManyRedirects('Exceeded {} redirects.'.format(self.max_redirects), response=resp)
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

2 answers

1 accepted

0 votes
Answer accepted
wanghaitao August 4, 2021

this issue is fixed after network engineer modifying network DNS config

0 votes
wanghaitao August 4, 2021

Is it  the network problem, permission problem, or REST API version problem?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events