PureStorage-OpenConnect / rest-client

Pure Storage FlashArray Python REST 1.X Client
BSD 2-Clause "Simplified" License
39 stars 23 forks source link

'ConnectionError' object has no attribute 'message' #9

Closed garrymalone closed 6 years ago

garrymalone commented 6 years ago

Receive the error "'ConnectionError' object has no attribute 'message'" when a Pure System request times out. It appears to be occurring at line 147 in purestorage.py --- raise PureError(err.message)

This is in version 1.11.3.

Please let me know if I can assist or answer any questions.

Thanks, Garry

ghost commented 6 years ago

happening here too:
File "/.../lib/python3.6/site-packages/purestorage/purestorage.py", line 165, in _request
raise PureError(err.message) AttributeError: 'ConnectTimeout' object has no attribute 'message'

garrymalone commented 6 years ago

Found a solution to this issue in my situation. The storage array IP address had to be added to the AD group that I am in.

claudiogianturco commented 4 years ago

Found a solution to this issue in my situation. The storage array IP address had to be added to the AD group that I am in.

what did u do exactly to solve? can you show the code u used to solve it please? thanks

garrymalone commented 4 years ago

It was a change that the Active Directory administrator made.

Get Outlook for Androidhttps://aka.ms/ghei36


From: claudiogianturco notifications@github.com Sent: Friday, June 12, 2020 7:56:59 PM To: PureStorage-OpenConnect/rest-client rest-client@noreply.github.com Cc: Malone, Garry garry.malone@vumc.org; State change state_change@noreply.github.com Subject: Re: [PureStorage-OpenConnect/rest-client] 'ConnectionError' object has no attribute 'message' (#9)

Found a solution to this issue in my situation. The storage array IP address had to be added to the AD group that I am in.

what did u do exactly to solve? can you show the code u used to solve it please? thanks

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPureStorage-OpenConnect%2Frest-client%2Fissues%2F9%23issuecomment-643545013&data=02%7C01%7Cgarry.malone%40vumc.org%7Cb5407b54379c4591ae6f08d80f34ae10%7Cef57503014244ed8b83c12c533d879ab%7C0%7C1%7C637276066226694886&sdata=%2Ba0ewS3Y4gb5MhXuPIA%2F9Mf%2FJUuzo5M4IRiiQGWApj4%3D&reserved=0, or unsubscribehttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH4QCLHQIJTBA4BU54FQYL3RWLFFXANCNFSM4EO6RR2Q&data=02%7C01%7Cgarry.malone%40vumc.org%7Cb5407b54379c4591ae6f08d80f34ae10%7Cef57503014244ed8b83c12c533d879ab%7C0%7C1%7C637276066226704881&sdata=2VecFkZ%2Ft5YUqAqyQjje4f0Hzswfr9OY%2FuWt8M9qBb8%3D&reserved=0.

[ WARNING : This email came from an external source. Please treat this message with additional caution.]