question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

linode-cli obj plugin hanging connection

See original GitHub issue

Thanks for making the linode-cli.

I’m trying to connect to the new object storage service but the command just hangs and then on killing the process I get the below stacktrace.

This is the command I’m running linode-cli obj ls.

System

Python: 3.6 Boto: 2.49.0 linode-cli: 2.13.1 Built off spec version 4.14.0 Mac OSX: 10.14.6

## Stacktrace

File "/Library/Frameworks/Python.framework/Versions/3.6/bin/linode-cli", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/linodecli/__init__.py", line 373, in main
    plugins.invoke(parsed.command, plugin_args, context)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/linodecli/plugins/__init__.py", line 33, in invoke
    plugin.call(args, context)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/linodecli/plugins/obj.py", line 578, in call
    COMMAND_MAP[parsed.command](client, args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/linodecli/plugins/obj.py", line 80, in list_objects_or_buckets
    buckets = client.get_all_buckets()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/boto/s3/connection.py", line 443, in get_all_buckets
    response = self.make_request('GET', headers=headers)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/boto/s3/connection.py", line 671, in make_request
    retry_handler=retry_handler
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/boto/connection.py", line 1071, in make_request
    retry_handler=retry_handler)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/boto/connection.py", line 1019, in _mexe
    time.sleep(next_sleep)

It looks like it is struggling to make a connection? My access token works fine as I can access all other resources. Not sure if I’m doing something wrong here?

Looking forward to testing the new object storage service

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mathewtrivettcommented, Mar 28, 2020

Ok thanks for looking into it for me. I’ll raise a ticket. I’ll close this ticket but link back to it on the support ticket

0reactions
Dorthucommented, Mar 26, 2020

Our object storage team requested that you open a Support Ticket so they can continue looking into this issue with you. You can open a ticket at this link: https://cloud.linode.com/support/tickets. Sorry for the inconvenience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Guides - Using the Linode CLI with Object Storage
This guide details how to use the obj plugin. For linode object-storage usage, see Linode CLI Commands for Object Storage.
Read more >
linode-cli obj put cannot find bucket
Hi, I set up linode-cli with my key > linode-cli obj ls This command correctly lists all my buckets However when I run...
Read more >
How do I resolve Linode-CLI configuration issue to use object ...
First, we need a Personal Access Token. To get one, please visit https://cloud.linode.com/profile/tokens and click "Create a Personal Access ...
Read more >
Linode CLI Commands for Object Storage
Access the entire Linode platform from the command line, easily adding, removing, or modifing services. Guides.
Read more >
Changelog | Linode Developer Tools
Fixed a bug that caused extra Configs to persist after accessing the Linode Boot into Rescue Mode (POST /linode/instances/{linodeId}/rescue) command. Now, only ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found