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

No connection adapters were found #11

Open
MAngel666 opened this issue Aug 30, 2022 · 1 comment
Open

No connection adapters were found #11

MAngel666 opened this issue Aug 30, 2022 · 1 comment

Comments

@MAngel666
Copy link

Hi, I get this error:

./check_katello_currency.py --debug -a auth_sat.txt -s satellite -A
DEBUG:check_katello_currency:Options: Namespace(all_systems=True, authfile='auth_sat.txt', bugs_crit=50, bugs_warn=25, debug=True, environment='', exclude=[], gen_stats=False, hostgroup='', inactive_crit=50, inactive_warn=10, location='', organization='', outdated_crit=80, outdated_warn=50, security_crit=20, security_warn=10, server='satellite', show_perfdata=False, ssl_verify=True, system=[], total_crit=None, total_warn=None)
DEBUG:check_katello_currency:Arguments: None
DEBUG:check_katello_currency:Using authfile
DEBUG:check_katello_currency:File permission matches 0600
ERROR:ForemanAPIClient:No connection adapters were found for '[https://satellite/api/v2]https://satellite/api/v2/status?per_page=1337&page=1'
Traceback (most recent call last):
File "./check_katello_currency.py", line 600, in
main(options)
File "./check_katello_currency.py", line 576, in main
options.server, sat_user, sat_pass, options.ssl_verify
File "/root/ForemanAPIClient.py", line 87, in init
self.validate_api_support()
File "/root/ForemanAPIClient.py", line 244, in validate_api_support
self.api_get("/status")
File "/usr/lib64/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer

@stdevel
Copy link
Owner

stdevel commented May 19, 2023

Hi @MAngel666,
sorry for the late answer - is your problem still existent?

What does your browser show when you access the URL https://satellite/api/v2/status?per_page=1337&page=1?

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

2 participants