Compare commits

..

2 Commits

Author SHA1 Message Date
daniel156161 4ee4d6a0a4 fix: align proxy diagnostics with shared web stack
Build and Push Docker Container / build-and-push (push) Failing after 1m54s
- Advance quart_common to the same revision used by webside-and-api.
- Log loaded proxy trust settings during NanoShare startup.
- Make deployed proxy header configuration easier to verify.
2026-07-26 13:06:55 +02:00
daniel156161 d418e2d9dc chore(deps): update certifi lockfile entry
- Bump certifi from 2026.6.17 to 2026.7.22 in uv.lock.
- Refresh the source distribution URL and checksum.
- Refresh the wheel URL and checksum.
- Leave untracked static assets out of this commit.
2026-07-23 10:57:42 +02:00
3 changed files with 11 additions and 4 deletions
+7
View File
@@ -9,6 +9,7 @@ from my_modules.app.constens import SECRET_KEY, THE_IP_BOT_MANAGER
from my_modules.OrphanStorageIdRegistry import OrphanStorageIdRegistry from my_modules.OrphanStorageIdRegistry import OrphanStorageIdRegistry
from my_modules.AsyncCache import AsyncCache from my_modules.AsyncCache import AsyncCache
from my_modules.app.logger import logger from my_modules.app.logger import logger
from quart_common.web.request import TRUST_PROXY_HEADERS, TRUSTED_PROXY_IPS, TRUSTED_PROXY_CIDRS
from quart_common.web.wide_event import register_wide_event_logging from quart_common.web.wide_event import register_wide_event_logging
from my_helpers.db.convex.ConvexRuntime import ConvexRuntime from my_helpers.db.convex.ConvexRuntime import ConvexRuntime
@@ -104,6 +105,12 @@ app.orphan_storage_registry = OrphanStorageIdRegistry(
@app.before_serving @app.before_serving
async def init_convex(): async def init_convex():
await logger.info(
f"Proxy trust config | trust_headers={TRUST_PROXY_HEADERS} "
f"trusted_proxy_ips={sorted(TRUSTED_PROXY_IPS)} "
f"trusted_proxy_cidrs={[str(network) for network in TRUSTED_PROXY_CIDRS]}"
)
await convex_runtime.start() await convex_runtime.start()
app.convex = ConvexDB(runtime=convex_runtime) app.convex = ConvexDB(runtime=convex_runtime)
Generated
+3 -3
View File
@@ -144,11 +144,11 @@ wheels = [
[[package]] [[package]]
name = "certifi" name = "certifi"
version = "2026.6.17" version = "2026.7.22"
source = { registry = "https://pypi.org/simple" } source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/c9/c7/424b75da314c1045981bd9777432fad05a9e0c69daa4ed7e308bbaffe405/certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432", size = 134594, upload-time = "2026-06-17T10:31:07.894Z" } sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" }
wheels = [ wheels = [
{ url = "https://files.pythonhosted.org/packages/ef/2f/c5464532e965badff2f4c4c1a3a83f5697f0d7c407ed0cda44aaa99bb451/certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db", size = 133289, upload-time = "2026-06-17T10:31:06.348Z" }, { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" },
] ]
[[package]] [[package]]