Getting "Insecure connections are currently disabled" in self hosted Gitea

[20:44:04] DEBUG    logging level set to: DEBUG                      main.py:130
🛡 You are running in no-operation mode, because the '--noop' flag was supplied
           DEBUG    global cli options:                              main.py:142
                    GlobalCommandLineOptions(noop=True, verbosity=2,            
                    config_file='pyproject.toml', strict=False)                 
           INFO     Loading configuration from pyproject.toml         util.py:77
           DEBUG    Trying to parse configuration pyproject.toml in   util.py:80
                    TOML format                                                 
           INFO     Using group 'main' options, as                 config.py:587
                    '(main|ci/add-semantic-release)' matches                    
                    'ci/add-semantic-release'                                   
           DEBUG    Parsing git url                               helpers.py:245
                    'https://SR_TOKEN_IS_HERE@git.mydomain.com/user/project.git'                                                     
           DEBUG    setting up default session authentication         util.py:49
           DEBUG    inverted tag_format 'v{version}' to         translator.py:38
                    'v(?P<version>.*)'                                          
           DEBUG    Adding redact pattern                   masking_filter.py:34
                    ''context.hvcs_client.token'' to                            
                    redact_patterns                                             
           DEBUG    Adding redact pattern                   masking_filter.py:34
                    ''context.hvcs_client.token'' to                            
                    redact_patterns                                             
ValueError: Insecure connections are currently disabled.
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/semantic_release/__main__.py", line 16, in main
    cli_main(args=sys.argv[1:])
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/click/decorators.py", line 45, in new_func
    return f(get_current_context().obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/semantic_release/cli/commands/version.py", line 477, in version
    else Github(hvcs_client.remote_url(use_token=False))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/semantic_release/hvcs/github.py", line 105, in __init__
    domain_url = self._normalize_url(
                 ^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/semantic_release/hvcs/remote_hvcs_base.py", line 198, in _normalize_url
    RemoteHvcsBase._validate_url_scheme(tgt_url, allow_insecure=allow_insecure)
  File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/semantic_release/hvcs/remote_hvcs_base.py", line 169, in _validate_url_scheme
    raise ValueError("Insecure connections are currently disabled.")
::ERROR:: Insecure connections are currently disabled.
::ERROR:: Insecure connections are currently disabled.