Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to BitBucket server #182

Open
Joshy3214 opened this issue Apr 27, 2022 · 0 comments
Open

Can't connect to BitBucket server #182

Joshy3214 opened this issue Apr 27, 2022 · 0 comments

Comments

@Joshy3214
Copy link

When I try to connect to my company Bitbucket server, I get errors with Stashy

import stashy

bitbucket = stashy.connect("company_bitbucket_url", "username", "password", verify=False)
projects = bitbucket.projects.list()
repos = bitbucket.repos.list()

for project in projects:
for repo in bitbucket.projects["%s" % (project["key"])].repos.list():
print(repo["name"])
print(repo["project"]['key'])

Errors are :

File "/usr/lib/python3.6/http/client.py", line 289, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

File "/local/localadmin/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='***', port=443): Max retries exceeded with url: /rest/api/1.0/projects (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))

I didn't find enough data on these errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant