censys.common.exceptions.CensysRateLimitExceededException: 429 (Too Many Requests): You have used your full quota for this billing period.
See original GitHub issueDescribe the bug I’m assuming the free account can perform “Limited queries* per month” and “Up to 1,000 results* per query” but for new fresh free account and censys CLI installation I’m getting the error below.
ricardo@zion:~$ censys view 8.8.8.8
Traceback (most recent call last):
File "/home/ricardo/.local/bin/censys", line 8, in <module>
sys.exit(main())
File "/home/ricardo/.local/lib/python3.9/site-packages/censys/cli/__init__.py", line 21, in main
args.func(args)
File "/home/ricardo/.local/lib/python3.9/site-packages/censys/cli/commands/view.py", line 44, in cli_view
document = index.view(args.document_id, **view_args)
File "/home/ricardo/.local/lib/python3.9/site-packages/censys/search/v2/api.py", line 262, in view
return self._get(self.view_path + document_id, args)["result"]
File "/home/ricardo/.local/lib/python3.9/site-packages/censys/common/base.py", line 213, in _get
return self._make_call(self._session.get, endpoint, args)
File "/home/ricardo/.local/lib/python3.9/site-packages/censys/common/base.py", line 41, in _wrapper
return _impl()
File "/home/ricardo/.local/lib/python3.9/site-packages/backoff/_sync.py", line 94, in retry
ret = target(*args, **kwargs)
File "/home/ricardo/.local/lib/python3.9/site-packages/censys/common/base.py", line 39, in _impl
return method(self, *args, *kwargs)
File "/home/ricardo/.local/lib/python3.9/site-packages/censys/common/base.py", line 203, in _make_call
raise censys_exception(
censys.common.exceptions.CensysRateLimitExceededException: 429 (Too Many Requests): You have used your full quota for this billing period. Please see https://censys.io/account/billing or contact support@censys.io.
ricardo@zion:~$ censys --version
Censys Python Version: 2.0.7
ricardo@zion:~$
To Reproduce Steps to reproduce the behavior:
- Create a new free account
- Install censys CLI
- Run “censys view 8.8.8.8”
Expected behavior Get the results.
Device (please complete the following information):
- OS [e.g. macOS]: Kali
- Censys Python Version [e.g. 1.1.0]: 2.0.7
- Shell [e.g. bash, zsh]: Bash
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Source code for censys.common.exceptions
[docs]class CensysRateLimitExceededException(CensysSearchException): """Exception raised when your Censys rate limit has been exceeded.""".
Read more >Resolve the "Getting error Too Many Requests" error in AWS ...
"Getting error Too Many Requests (Service: AWSBatch; Status Code: 429; Error Code: TooManyRequestsException)." There are two common reasons ...
Read more >HTTP Error 429 Too Many Requests - delete cookies
The HTTP 429 Too Many Requests response status code indicates that the user ... You're sending too many requests in a short period...
Read more >Search 2.0 Python Library - Censys
Every Search API endpoint is supported by the Python library. This guide will show you how to use the library to interact with...
Read more >Handling the “HTTP 429 – Too Many Requests” error when ...
I think that many of you that creates integrations with external services could have the pleasure to know the HTTP 429 error: too...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe warning check should start here https://github.com/censys/censys-python/blob/main/censys/cli/commands/config.py#L52. Please let me know if you’ll do that otherwise I can send a PR.
That would be a really good idea, I may be able to include it in my PR.