0

I'm getting this error

Traceback (most recent call last):
  File "/Users/ryanpa/Documents/Softlayer Scripts/getVlans.py", line 8, in <module>
    all_vlans = client['Account'].getNetworkVlans(mask='type, id, vlanNumber,name, primaryRouter.hostname, primaryRouter.datacenter, networkSpace')
  File "/Library/Python/2.7/site-packages/SoftLayer/API.py", line 392, in call_handler
    return self(name, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/SoftLayer/API.py", line 360, in call
    return self.client.call(self.name, name, *args, **kwargs)
  File "/Library/Python/2.7/site-packages/SoftLayer/API.py", line 263, in call
    return self.transport(request)
  File "/Library/Python/2.7/site-packages/SoftLayer/transports.py", line 199, in __call__
    raise exceptions.TransportError(0, str(ex))
SoftLayer.exceptions.TransportError: TransportError(0): ('Connection aborted.', error(54, 'Connection reset by peer'))

When running a simple python script. I've sent the same file to my teammate to execute with my username and API key and it works for him but not on my end. I'm running this from home and i've tried on 2 different networks along with being on VPN.

all_vlans = client['Account'].getNetworkVlans(mask='type, id, vlanNumber,name, primaryRouter.hostname, primaryRouter.datacenter, networkSpace')

pp(all_vlans)

is all i'm trying to do. just simple test to get all vlans

Patrick
  • 103
  • 2
  • 10

3 Answers3

0

If you tested in other environment with your credentials and it works fine, the issue is from your side (your environment), try this in a clean environment.

0

So, now we have at least 4 people having the same issue. FYI, this post is the same, me and one other person. SoftLayer (multiple) client responding with errors after API upgrade

Community
  • 1
  • 1
James K
  • 11
  • 2
0

thi was a softlayer issue, please try again it should be fixed

Regards