"This URL is prohibited because it points to an internal or non-public address" - even after setting internal vars. #21926
Replies: 2 comments 1 reply
1 reply
|
Moving this second issue to a new thread, and closing this one - many thanks for the info |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I get "This URL is prohibited because it points to an internal or non-public address" - even after setting VCS_ALLOW_HOSTS or VCS_PRIVATE_ALLOWLIST, and restarting both tasks.
`
root@weblate:~# cat /opt/weblate/.venv/lib/python3.14/site-packages/weblate/addons/extractors/django/settings.py
Copyright © Michal Čihař michal@weblate.org
SPDX-License-Identifier: GPL-3.0-or-later
"""Minimal Django settings for extraction-only management commands."""
import os
from django.core.management.utils import get_random_secret_key
SECRET_KEY = get_random_secret_key()
USE_I18N = True
LOGGING_CONFIG = None
LOCALE_FILTER_FILES = False
INSTALLED_APPS: list[str] = []
LOCALE_PATHS = [os.environ["WEBLATE_EXTRACT_LOCALE_PATH"]]
VCS_PRIVATE_ALLOWLIST = ["gitea.xxxxxxx.co.uk"]
root@weblate:~#
`
All reactions