2026-05-03 10:38:39,155 - main - INFO - === Logging system initialized ===
2026-05-03 10:38:39,156 - main - INFO - Log file: logs/app_20260503_103839.log
2026-05-03 10:38:39,156 - main - INFO - Log level: INFO
2026-05-03 10:38:39,156 - main - INFO - Timestamp: 20260503_103839
2026-05-03 10:38:39,235 - main - INFO - Included router: routers.admin_dashboard.router
2026-05-03 10:38:39,283 - main - INFO - Included router: routers.admin_users.router
2026-05-03 10:38:39,333 - main - INFO - Included router: routers.agent_availability.router
2026-05-03 10:38:41,294 - main - INFO - Included router: routers.ai_ticket_summary.router
2026-05-03 10:38:41,327 - main - INFO - Included router: routers.aihub.router
2026-05-03 10:38:41,391 - main - INFO - Included router: routers.api_hub.router
2026-05-03 10:38:41,412 - main - INFO - Included router: routers.audit_log.router
2026-05-03 10:38:41,423 - main - INFO - Included router: routers.auth.router
2026-05-03 10:38:41,535 - main - INFO - Included router: routers.bizmail_admin.router
2026-05-03 10:38:41,611 - main - INFO - Included router: routers.bizmail_client.router
2026-05-03 10:38:41,616 - main - INFO - Included router: routers.bizmail_public.router
2026-05-03 10:38:41,638 - main - INFO - Included router: routers.cache_settings.router
2026-05-03 10:38:41,795 - main - INFO - Included router: routers.carts.router
2026-05-03 10:38:41,851 - main - INFO - Included router: routers.chat_analytics_daily.router
2026-05-03 10:38:41,896 - main - INFO - Included router: routers.chat_attachments.router
2026-05-03 10:38:41,966 - main - INFO - Included router: routers.chat_branding.router
2026-05-03 10:38:41,981 - main - INFO - Included router: routers.chat_branding_api.router
2026-05-03 10:38:42,059 - main - INFO - Included router: routers.chat_conversations.router
2026-05-03 10:38:42,126 - main - INFO - Included router: routers.chat_messages.router
2026-05-03 10:38:42,189 - main - INFO - Included router: routers.chat_routing_rules.router
2026-05-03 10:38:42,224 - main - INFO - Included router: routers.contact.router
2026-05-03 10:38:42,270 - main - INFO - Included router: routers.contact_inquiries.router
2026-05-03 10:38:42,624 - main - INFO - Included router: routers.cpanel_admin.router
2026-05-03 10:38:42,717 - main - INFO - Included router: routers.cpanel_client.router
2026-05-03 10:38:42,722 - main - INFO - Included router: routers.cpanel_public.router
2026-05-03 10:38:42,770 - main - INFO - Included router: routers.ecom_checkout.router
2026-05-03 10:38:42,772 - main - INFO - Included router: routers.health.router
2026-05-03 10:38:42,832 - main - INFO - Included router: routers.kb_article_feedback.router
2026-05-03 10:38:42,882 - main - INFO - Included router: routers.kb_articles.router
2026-05-03 10:38:42,910 - main - INFO - Included router: routers.local_auth.router
2026-05-03 10:38:42,953 - main - INFO - Included router: routers.mfa.router
2026-05-03 10:38:43,035 - main - INFO - Included router: routers.module_sync.router
2026-05-03 10:38:43,093 - main - INFO - Included router: routers.notification_preferences.router
2026-05-03 10:38:43,150 - main - INFO - Included router: routers.notifications.router
2026-05-03 10:38:43,158 - main - INFO - Included router: routers.notifications_extras.router
2026-05-03 10:38:43,283 - main - INFO - Included router: routers.oauth.router
2026-05-03 10:38:43,514 - main - INFO - Included router: routers.order_items.router
2026-05-03 10:38:43,602 - main - INFO - Included router: routers.orders.router
2026-05-03 10:38:43,615 - main - INFO - Included router: routers.password_reset.router
2026-05-03 10:38:43,680 - main - INFO - Included router: routers.plans.router
2026-05-03 10:38:43,735 - main - INFO - Included router: routers.presales_messages.router
2026-05-03 10:38:43,796 - main - INFO - Included router: routers.product_categories.router
2026-05-03 10:38:43,861 - main - INFO - Included router: routers.product_reviews.router
2026-05-03 10:38:43,921 - main - INFO - Included router: routers.products.router
2026-05-03 10:38:43,949 - main - INFO - Included router: routers.role_management.router
2026-05-03 10:38:43,998 - main - INFO - Included router: routers.service_testimonials.router
2026-05-03 10:38:44,023 - main - INFO - Included router: routers.settings.router
2026-05-03 10:38:44,082 - main - INFO - Included router: routers.site_settings.router
2026-05-03 10:38:44,126 - main - INFO - Included router: routers.smtp_settings.router
2026-05-03 10:38:44,164 - main - INFO - Included router: routers.storage.router
2026-05-03 10:38:44,305 - main - INFO - Included router: routers.support_chat.router
2026-05-03 10:38:44,359 - main - INFO - Included router: routers.support_departments.router
2026-05-03 10:38:44,402 - main - INFO - Included router: routers.support_seats.router
2026-05-03 10:38:44,412 - main - INFO - Included router: routers.ticket_notifications_sync.router
2026-05-03 10:38:44,715 - main - INFO - Included router: routers.ticket_summaries.router
2026-05-03 10:38:44,776 - main - INFO - Included router: routers.ticket_sync_states.router
2026-05-03 10:38:44,956 - main - INFO - Included router: routers.uptimerobot_admin.router
2026-05-03 10:38:45,051 - main - INFO - Included router: routers.uptimerobot_client.router
2026-05-03 10:38:45,076 - main - INFO - Included router: routers.uptimerobot_mcp.router
2026-05-03 10:38:45,091 - main - INFO - Included router: routers.user.router
2026-05-03 10:38:45,151 - main - INFO - Included router: routers.user_profiles.router
2026-05-03 10:38:45,197 - main - INFO - Included router: routers.user_roles.router
2026-05-03 10:38:45,304 - main - INFO - Included router: routers.visitor_monitor.router
2026-05-03 10:38:45,319 - main - INFO - Included router: routers.visitor_tracking.router
2026-05-03 10:38:45,456 - main - INFO - Included router: routers.whatsapp_admin.router
2026-05-03 10:38:45,477 - main - INFO - Included router: routers.whatsapp_ai.router
2026-05-03 10:38:45,581 - main - INFO - Included router: routers.whatsapp_automation.router
2026-05-03 10:38:45,606 - main - INFO - Included router: routers.whatsapp_client.router
2026-05-03 10:38:45,611 - main - INFO - Included router: routers.whatsapp_client_ws.router
2026-05-03 10:38:45,636 - main - INFO - Included router: routers.whatsapp_contacts.router
2026-05-03 10:38:45,662 - main - INFO - Included router: routers.whatsapp_devices.router
2026-05-03 10:38:45,688 - main - INFO - Included router: routers.whmcs.router
2026-05-03 10:38:45,784 - main - INFO - Included router: routers.whmcs_admin.router
2026-05-03 10:38:46,257 - main - INFO - Included router: routers.whmcs_extra.router
2026-05-03 10:38:46,260 - main - INFO - === Application startup initiated ===
2026-05-03 10:38:46,260 - services.database - INFO - Ignore creating tables
2026-05-03 10:38:46,261 - services.mock_data - INFO - Ignore initialize data
2026-05-03 10:38:46,261 - services.auth - INFO - Ignore initialize admin
2026-05-03 10:38:46,261 - main - INFO - === Application startup completed successfully ===
2026-05-03 10:43:33,373 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:33,374 - core.database - WARNING - Database session maker not available, attempting lazy initialization...
2026-05-03 10:43:33,374 - core.database - WARNING - Database not initialized, attempting lazy initialization...
2026-05-03 10:43:33,374 - core.database - INFO - Starting database initialization...
2026-05-03 10:43:33,375 - core.config - DEBUG - Read dynamic attribute database_url from environment variable DATABASE_URL
2026-05-03 10:43:33,375 - core.database - INFO - Normalizing database URL for async compatibility...
2026-05-03 10:43:33,378 - core.database - INFO - Creating async database engine...
2026-05-03 10:43:33,378 - core.database - INFO - Using QueuePool with connection pooling for non-Lambda environment
2026-05-03 10:43:33,443 - core.database - INFO - Database engine created successfully
2026-05-03 10:43:33,444 - core.database - INFO - Creating async session maker...
2026-05-03 10:43:33,445 - core.database - INFO - Async session maker created successfully
2026-05-03 10:43:33,445 - core.database - INFO - Database connection initialized successfully
2026-05-03 10:43:33,445 - core.database - DEBUG - [DB_OP] Starting create_tables
2026-05-03 10:43:33,445 - core.database - INFO - 🔧 Starting table creation...
2026-05-03 10:43:33,666 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:33,667 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 10:43:33,674 - dependencies.auth - DEBUG - Authentication required for request GET /api/v1/auth/me
2026-05-03 10:43:33,742 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:33,743 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0005s
2026-05-03 10:43:33,744 - routers.site_settings - DEBUG - Querying site_settingss: query={"key":"branding"}, sort=None, skip=0, limit=1, fields=None
2026-05-03 10:43:33,748 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:33,749 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 10:43:33,749 - routers.site_settings - DEBUG - Querying site_settingss: query={"key":"general"}, sort=None, skip=0, limit=1, fields=None
2026-05-03 10:43:33,809 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:33,809 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 10:43:34,262 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:34,263 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0014s
2026-05-03 10:43:34,264 - routers.auth - INFO - [token/exchange] Received platform token exchange request
2026-05-03 10:43:34,264 - core.config - DEBUG - Read dynamic attribute oidc_issuer_url from environment variable OIDC_ISSUER_URL
2026-05-03 10:43:34,264 - routers.auth - DEBUG - [token/exchange] Verifying token with issuer: https://auth.atoms.dev/api/v1/oidc/platform/tokens/verify
2026-05-03 10:43:36,960 - httpcore.connection - DEBUG - connect_tcp.started host='auth.atoms.dev' port=443 local_address=None timeout=5.0 socket_options=None
2026-05-03 10:43:36,969 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb82a4160>
2026-05-03 10:43:36,969 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7fcfb827e940> server_hostname='auth.atoms.dev' timeout=5.0
2026-05-03 10:43:36,983 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb82865f0>
2026-05-03 10:43:36,983 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'POST']>
2026-05-03 10:43:36,984 - httpcore.http11 - DEBUG - send_request_headers.complete
2026-05-03 10:43:36,984 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'POST']>
2026-05-03 10:43:36,984 - httpcore.http11 - DEBUG - send_request_body.complete
2026-05-03 10:43:36,984 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'POST']>
2026-05-03 10:43:37,021 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 03 May 2026 17:43:37 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'x-response-time', b'0.001s'), (b'x-request-id', b'bfcc3dac5fca5c927c42626185b961d9'), (b'cf-cache-status', b'DYNAMIC'), (b'Content-Encoding', b'gzip'), (b'Server', b'cloudflare'), (b'CF-RAY', b'9f6111a82b7e092e-LAX')])
2026-05-03 10:43:37,022 - httpx - INFO - HTTP Request: POST https://auth.atoms.dev/api/v1/oidc/platform/tokens/verify "HTTP/1.1 200 OK"
2026-05-03 10:43:37,022 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'POST']>
2026-05-03 10:43:37,023 - httpcore.http11 - DEBUG - receive_response_body.complete
2026-05-03 10:43:37,023 - httpcore.http11 - DEBUG - response_closed.started
2026-05-03 10:43:37,023 - httpcore.http11 - DEBUG - response_closed.complete
2026-05-03 10:43:37,024 - httpcore.connection - DEBUG - close.started
2026-05-03 10:43:37,024 - httpcore.connection - DEBUG - close.complete
2026-05-03 10:43:37,025 - routers.auth - DEBUG - [token/exchange] Issuer response status: 200
2026-05-03 10:43:37,025 - routers.auth - DEBUG - [token/exchange] Issuer response body: {'success': True, 'data': {'exp': 1780324675, 'user_id': 1085530, 'email': 'toom3003@gmail.com', 'pv': 1}, 'message': 'Platform token verified', 'code': 0, 'timestamp': '2026-05-03T17:43:37.016089'}
2026-05-03 10:43:37,025 - routers.auth - INFO - [token/exchange] Token verified, platform_user_id=1085530, email=toom3003@gmail.com
2026-05-03 10:43:37,025 - core.config - DEBUG - Read dynamic attribute admin_user_id from environment variable ADMIN_USER_ID
2026-05-03 10:43:37,025 - routers.auth - INFO - [token/exchange] User verified: platform_user_id=1085530, role=admin
2026-05-03 10:43:37,114 - routers.auth - DEBUG - [token/exchange] User object for token issuance: id=1085530, email=toom3003@gmail.com, role=admin
2026-05-03 10:43:37,115 - core.config - DEBUG - Read dynamic attribute jwt_expire_minutes from environment variable JWT_EXPIRE_MINUTES
2026-05-03 10:43:37,115 - core.config - DEBUG - Read dynamic attribute jwt_secret_key from environment variable JWT_SECRET_KEY
2026-05-03 10:43:37,115 - core.config - DEBUG - Read dynamic attribute jwt_algorithm from environment variable JWT_ALGORITHM
2026-05-03 10:43:38,792 - core.auth - DEBUG - Authentication token created for user hash: 4f820a44
2026-05-03 10:43:38,793 - routers.auth - INFO - [token/exchange] Token issued successfully for user_id=1085530, expires_at=2026-06-02 17:43:37.115434+00:00
2026-05-03 10:43:38,794 - core.database - DEBUG - [DB_OP] Database session cleanup after 4.5318s
2026-05-03 10:43:39,413 - core.database - DEBUG - [DB_OP] Database session cleanup after 5.6046s
2026-05-03 10:43:39,550 - routers.site_settings - DEBUG - Found 0 site_settingss
2026-05-03 10:43:39,551 - core.database - DEBUG - [DB_OP] Database session cleanup after 5.8087s
2026-05-03 10:43:39,555 - routers.site_settings - DEBUG - Found 0 site_settingss
2026-05-03 10:43:39,555 - core.database - DEBUG - [DB_OP] Database session cleanup after 5.8069s
2026-05-03 10:43:40,079 - core.database - DEBUG - [DB_OP] Database session cleanup after 6.4131s
2026-05-03 10:43:42,215 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:43:42,217 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:42,218 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0002s
2026-05-03 10:43:42,218 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:43:42,232 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:43:42,233 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:42,233 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0003s
2026-05-03 10:43:42,235 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:42,236 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0014s
2026-05-03 10:43:42,237 - routers.site_settings - DEBUG - Querying site_settingss: query={"key":"branding"}, sort=None, skip=0, limit=1, fields=None
2026-05-03 10:43:42,239 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:43:42,239 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 10:43:42,239 - routers.site_settings - DEBUG - Querying site_settingss: query={"key":"general"}, sort=None, skip=0, limit=1, fields=None
2026-05-03 10:43:42,593 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:43:42,594 - core.config - DEBUG - Read dynamic attribute oss_service_url from environment variable OSS_SERVICE_URL
2026-05-03 10:43:42,594 - core.config - DEBUG - Read dynamic attribute oss_api_key from environment variable OSS_API_KEY
2026-05-03 10:43:42,629 - httpcore.connection - DEBUG - connect_tcp.started host='atoms.dev' port=443 local_address=None timeout=120.0 socket_options=None
2026-05-03 10:43:42,639 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb1e895d0>
2026-05-03 10:43:42,639 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7fcfb1e41940> server_hostname='atoms.dev' timeout=120.0
2026-05-03 10:43:42,649 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb1e89330>
2026-05-03 10:43:42,649 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
2026-05-03 10:43:42,650 - httpcore.http11 - DEBUG - send_request_headers.complete
2026-05-03 10:43:42,650 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
2026-05-03 10:43:42,650 - httpcore.http11 - DEBUG - send_request_body.complete
2026-05-03 10:43:42,651 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
2026-05-03 10:43:42,720 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.4868s
2026-05-03 10:43:42,790 - routers.site_settings - DEBUG - Found 0 site_settingss
2026-05-03 10:43:42,791 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.5556s
2026-05-03 10:43:42,804 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 03 May 2026 17:43:42 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Access-Control-Allow-Headers', b'Origin, Content-Type, Accept, Authorization'), (b'Access-Control-Allow-Methods', b'GET, POST, PUT, DELETE, OPTIONS'), (b'Access-Control-Allow-Origin', b'*'), (b'Access-Control-Max-Age', b'86400'), (b'X-Request-Id', b'de3955b3302d2a980231956ba7a13150'), (b'X-Trace-Id', b'e41e3766abbc4d4386add55448df98e6'), (b'Content-Security-Policy', b"frame-ancestors 'self' https://atoms.dev"), (b'Strict-Transport-Security', b'max-age=63072000; includeSubDomains; preload'), (b'X-Content-Type-Options', b'nosniff'), (b'X-XSS-Protection', b'1; mode=block'), (b'Referrer-Policy', b'strict-origin-when-cross-origin'), (b'cf-cache-status', b'DYNAMIC'), (b'Content-Encoding', b'gzip'), (b'Server', b'cloudflare'), (b'CF-RAY', b'9f6111cb9c893dc4-LAX')])
2026-05-03 10:43:42,805 - httpx - INFO - HTTP Request: GET https://atoms.dev/api/v1/infra/client/oss/buckets/user-avatars/objects "HTTP/1.1 200 OK"
2026-05-03 10:43:42,805 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
2026-05-03 10:43:42,806 - httpcore.http11 - DEBUG - receive_response_body.complete
2026-05-03 10:43:42,806 - httpcore.http11 - DEBUG - response_closed.started
2026-05-03 10:43:42,806 - httpcore.http11 - DEBUG - response_closed.complete
2026-05-03 10:43:42,807 - httpcore.connection - DEBUG - close.started
2026-05-03 10:43:42,807 - httpcore.connection - DEBUG - close.complete
2026-05-03 10:43:42,921 - routers.site_settings - DEBUG - Found 0 site_settingss
2026-05-03 10:43:42,922 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.6832s
2026-05-03 10:43:43,147 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.9295s
2026-05-03 10:43:44,239 - core.database - INFO - Tables initialized successfully
2026-05-03 10:43:44,239 - core.database - DEBUG - [DB_OP] Create tables completed in 10.7942s
2026-05-03 10:43:44,303 - core.database - INFO - Lazy database initialization completed successfully
2026-05-03 10:43:44,303 - core.database - DEBUG - [DB_OP] Database session created successfully in 10.9299s
2026-05-03 10:43:44,304 - routers.auth - INFO - [token/exchange] Received platform token exchange request
2026-05-03 10:43:44,304 - routers.auth - DEBUG - [token/exchange] Verifying token with issuer: https://auth.atoms.dev/api/v1/oidc/platform/tokens/verify
2026-05-03 10:43:44,334 - httpcore.connection - DEBUG - connect_tcp.started host='auth.atoms.dev' port=443 local_address=None timeout=5.0 socket_options=None
2026-05-03 10:43:44,349 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb842f6a0>
2026-05-03 10:43:44,349 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7fcfb83ca840> server_hostname='auth.atoms.dev' timeout=5.0
2026-05-03 10:43:44,360 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb842f310>
2026-05-03 10:43:44,361 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'POST']>
2026-05-03 10:43:44,361 - httpcore.http11 - DEBUG - send_request_headers.complete
2026-05-03 10:43:44,362 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'POST']>
2026-05-03 10:43:44,362 - httpcore.http11 - DEBUG - send_request_body.complete
2026-05-03 10:43:44,362 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'POST']>
2026-05-03 10:43:44,404 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 03 May 2026 17:43:44 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'x-response-time', b'0.001s'), (b'x-request-id', b'f0b557413801acecd8cc25d487e35b09'), (b'cf-cache-status', b'DYNAMIC'), (b'Content-Encoding', b'gzip'), (b'Server', b'cloudflare'), (b'CF-RAY', b'9f6111d649492aa3-LAX')])
2026-05-03 10:43:44,405 - httpx - INFO - HTTP Request: POST https://auth.atoms.dev/api/v1/oidc/platform/tokens/verify "HTTP/1.1 200 OK"
2026-05-03 10:43:44,405 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'POST']>
2026-05-03 10:43:44,406 - httpcore.http11 - DEBUG - receive_response_body.complete
2026-05-03 10:43:44,406 - httpcore.http11 - DEBUG - response_closed.started
2026-05-03 10:43:44,407 - httpcore.http11 - DEBUG - response_closed.complete
2026-05-03 10:43:44,407 - httpcore.connection - DEBUG - close.started
2026-05-03 10:43:44,408 - httpcore.connection - DEBUG - close.complete
2026-05-03 10:43:44,408 - routers.auth - DEBUG - [token/exchange] Issuer response status: 200
2026-05-03 10:43:44,408 - routers.auth - DEBUG - [token/exchange] Issuer response body: {'success': True, 'data': {'exp': 1780324675, 'user_id': 1085530, 'email': 'toom3003@gmail.com', 'pv': 1}, 'message': 'Platform token verified', 'code': 0, 'timestamp': '2026-05-03T17:43:44.398927'}
2026-05-03 10:43:44,409 - routers.auth - INFO - [token/exchange] Token verified, platform_user_id=1085530, email=toom3003@gmail.com
2026-05-03 10:43:44,409 - routers.auth - INFO - [token/exchange] User verified: platform_user_id=1085530, role=admin
2026-05-03 10:43:44,409 - routers.auth - DEBUG - [token/exchange] User object for token issuance: id=1085530, email=toom3003@gmail.com, role=admin
2026-05-03 10:43:44,410 - core.auth - DEBUG - Authentication token created for user hash: 4f820a44
2026-05-03 10:43:44,410 - routers.auth - INFO - [token/exchange] Token issued successfully for user_id=1085530, expires_at=2026-06-02 17:43:44.409725+00:00
2026-05-03 10:43:44,410 - core.database - DEBUG - [DB_OP] Database session cleanup after 11.0370s
2026-05-03 10:44:27,264 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:44:27,265 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 10:44:27,265 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:44:27,285 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:44:27,285 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0004s
2026-05-03 10:44:27,286 - routers.site_settings - DEBUG - Querying site_settingss: query={"key":"general"}, sort=None, skip=0, limit=1, fields=None
2026-05-03 10:44:27,288 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:44:27,289 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:44:27,289 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0005s
2026-05-03 10:44:27,290 - routers.site_settings - DEBUG - Querying site_settingss: query={"key":"branding"}, sort=None, skip=0, limit=1, fields=None
2026-05-03 10:44:27,293 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:44:27,294 - core.database - DEBUG - [DB_OP] Starting get_db session creation
2026-05-03 10:44:27,295 - core.database - DEBUG - [DB_OP] Database session created successfully in 0.0002s
2026-05-03 10:44:27,535 - core.auth - DEBUG - Authentication token validated for user hash: 4f820a44
2026-05-03 10:44:27,561 - httpcore.connection - DEBUG - connect_tcp.started host='atoms.dev' port=443 local_address=None timeout=120.0 socket_options=None
2026-05-03 10:44:27,569 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb1e89b70>
2026-05-03 10:44:27,569 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7fcfb8c939c0> server_hostname='atoms.dev' timeout=120.0
2026-05-03 10:44:27,577 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7fcfb1e894b0>
2026-05-03 10:44:27,578 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'GET']>
2026-05-03 10:44:27,578 - httpcore.http11 - DEBUG - send_request_headers.complete
2026-05-03 10:44:27,578 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'GET']>
2026-05-03 10:44:27,579 - httpcore.http11 - DEBUG - send_request_body.complete
2026-05-03 10:44:27,579 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'GET']>
2026-05-03 10:44:27,623 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.3290s
2026-05-03 10:44:27,695 - routers.site_settings - DEBUG - Found 0 site_settingss
2026-05-03 10:44:27,695 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.4064s
2026-05-03 10:44:27,696 - routers.site_settings - DEBUG - Found 0 site_settingss
2026-05-03 10:44:27,696 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.4118s
2026-05-03 10:44:27,743 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 03 May 2026 17:44:27 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Access-Control-Allow-Headers', b'Origin, Content-Type, Accept, Authorization'), (b'Access-Control-Allow-Methods', b'GET, POST, PUT, DELETE, OPTIONS'), (b'Access-Control-Allow-Origin', b'*'), (b'Access-Control-Max-Age', b'86400'), (b'X-Request-Id', b'cc39a237e3bfb4597e523cd41d8ba27f'), (b'X-Trace-Id', b'fa1766eb7e82414fac0f8540ebeff062'), (b'Content-Security-Policy', b"frame-ancestors 'self' https://atoms.dev"), (b'Strict-Transport-Security', b'max-age=63072000; includeSubDomains; preload'), (b'X-Content-Type-Options', b'nosniff'), (b'X-XSS-Protection', b'1; mode=block'), (b'Referrer-Policy', b'strict-origin-when-cross-origin'), (b'cf-cache-status', b'DYNAMIC'), (b'Content-Encoding', b'gzip'), (b'Server', b'cloudflare'), (b'CF-RAY', b'9f6112e45bb97aa4-LAX')])
2026-05-03 10:44:27,743 - httpx - INFO - HTTP Request: GET https://atoms.dev/api/v1/infra/client/oss/buckets/user-avatars/objects "HTTP/1.1 200 OK"
2026-05-03 10:44:27,744 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'GET']>
2026-05-03 10:44:27,744 - httpcore.http11 - DEBUG - receive_response_body.complete
2026-05-03 10:44:27,745 - httpcore.http11 - DEBUG - response_closed.started
2026-05-03 10:44:27,745 - httpcore.http11 - DEBUG - response_closed.complete
2026-05-03 10:44:27,746 - httpcore.connection - DEBUG - close.started
2026-05-03 10:44:27,746 - httpcore.connection - DEBUG - close.complete
2026-05-03 10:44:28,099 - core.database - DEBUG - [DB_OP] Database session cleanup after 0.8353s
2026-05-03 10:46:23,183 - services.database - DEBUG - [DB_OP] Starting database close
2026-05-03 10:46:23,538 - core.database - INFO - Database connection closed and engine disposed
2026-05-03 10:46:23,538 - services.database - INFO - Database connections closed
2026-05-03 10:46:23,538 - services.database - DEBUG - [DB_OP] Database close completed in 0.3554s
