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

[BUG]: TLS error in Budgetcheck job #196

Open
1 task done
hairmare opened this issue May 21, 2024 · 0 comments
Open
1 task done

[BUG]: TLS error in Budgetcheck job #196

hairmare opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working deployment This issue or pull request is deployment related

Comments

@hairmare
Copy link
Contributor

Description

Budgetcheck seems to use insecure URLS somewhere on test

Found 7 pods, using pod/test-timed-budgetcheck-28604340-ccpmm
Traceback (most recent call last):
  File "/usr/local/bin/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timed/notifications/management/commands/budget_check.py", line 55, in handle
    issue = redmine.issue.get(project.redmine_project.issue_id)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/redminelib/managers/base.py", line 99, in get
    response = self.redmine.engine.request('get', self.url, params=self.params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/redminelib/engines/base.py", line 84, in request
    return self.process_response(self.session.request(method, url, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/redminelib/engines/base.py", line 153, in process_response
    raise exceptions.HTTPProtocolError
redminelib.exceptions.HTTPProtocolError: Protocol redirect detected, Redmine URL expects HTTPS, but code uses HTTP or vice versa

Steps to Reproduce

  1. Look at logs on test K8s

Expected Behavior

No error

Attachments

No response

Additional Context

I'm not sure if this wasn't already fixed in 4.1.0 🤔

If not i'm pretty sure it's not a huge issue and can be fixed easily.

Version

4.0.3

Required

  • I have checked past issues to see if this bug has already been reported.
@hairmare hairmare added the bug Something isn't working label May 21, 2024
@hairmare hairmare added this to timed May 28, 2024
@hairmare hairmare moved this to 📋 Backlog in timed May 28, 2024
@c0rydoras c0rydoras added the deployment This issue or pull request is deployment related label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deployment This issue or pull request is deployment related
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants