2026-04-29 19:53:56,680 - main - INFO - === Logging system initialized ===
2026-04-29 19:53:56,680 - main - INFO - Log file: logs/app_20260429_195356.log
2026-04-29 19:53:56,680 - main - INFO - Log level: INFO
2026-04-29 19:53:56,680 - main - INFO - Timestamp: 20260429_195356
2026-04-29 19:53:57,713 - main - INFO - Included router: routers.aihub.router
2026-04-29 19:53:57,740 - main - INFO - Included router: routers.auth.router
2026-04-29 19:53:57,778 - main - INFO - Included router: routers.contact.router
2026-04-29 19:53:57,787 - main - INFO - Included router: routers.health.router
2026-04-29 19:53:57,852 - main - INFO - Included router: routers.plans.router
2026-04-29 19:53:57,877 - main - INFO - Included router: routers.settings.router
2026-04-29 19:53:57,939 - main - INFO - Included router: routers.smtp_settings.router
2026-04-29 19:53:57,988 - main - INFO - Included router: routers.storage.router
2026-04-29 19:53:57,998 - main - INFO - Included router: routers.user.router
2026-04-29 19:53:58,080 - main - INFO - Included router: routers.user_profiles.router
2026-04-29 19:53:58,176 - main - INFO - Included router: routers.whmcs.router
2026-04-29 19:53:58,200 - main - INFO - Included router: routers.whmcs_admin.router
2026-04-29 19:53:58,245 - main - INFO - Included router: routers.whmcs_extra.router
2026-04-29 19:53:58,247 - main - INFO - === Application startup initiated ===
2026-04-29 19:53:58,247 - services.database - INFO - Ignore creating tables
2026-04-29 19:53:58,247 - services.mock_data - INFO - Ignore initialize data
2026-04-29 19:53:58,248 - services.auth - INFO - Ignore initialize admin
2026-04-29 19:53:58,248 - main - INFO - === Application startup completed successfully ===
2026-04-29 19:55:03,296 - httpcore.connection - DEBUG - connect_tcp.started host='client.doiteasy.net' port=443 local_address=None timeout=10.0 socket_options=None
2026-04-29 19:55:03,651 - httpcore.connection - DEBUG - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f30716890c0>
2026-04-29 19:55:03,651 - httpcore.connection - DEBUG - start_tls.started ssl_context=<ssl.SSLContext object at 0x7f30718b3540> server_hostname='client.doiteasy.net' timeout=10.0
2026-04-29 19:55:03,831 - httpcore.connection - DEBUG - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f307188cb20>
2026-04-29 19:55:03,832 - httpcore.http11 - DEBUG - send_request_headers.started request=<Request [b'POST']>
2026-04-29 19:55:03,832 - httpcore.http11 - DEBUG - send_request_headers.complete
2026-04-29 19:55:03,833 - httpcore.http11 - DEBUG - send_request_body.started request=<Request [b'POST']>
2026-04-29 19:55:03,833 - httpcore.http11 - DEBUG - send_request_body.complete
2026-04-29 19:55:03,833 - httpcore.http11 - DEBUG - receive_response_headers.started request=<Request [b'POST']>
2026-04-29 19:55:04,139 - httpcore.http11 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 403, b'Forbidden', [(b'Server', b'nginx'), (b'Date', b'Thu, 30 Apr 2026 02:55:04 GMT'), (b'Content-Type', b'application/json'), (b'Transfer-Encoding', b'chunked'), (b'Connection', b'keep-alive'), (b'Expires', b'Thu, 19 Nov 1981 08:52:00 GMT'), (b'Cache-Control', b'no-store, no-cache, must-revalidate'), (b'Pragma', b'no-cache'), (b'Set-Cookie', b'WHMCShaXcqDDHD9SP=c7b3fa203a62e403d698ddb41b0e5b7b; path=/; secure; HttpOnly'), (b'X-Content-Type-Options', b'nosniff'), (b'X-Frame-Options', b'SAMEORIGIN'), (b'Referrer-Policy', b'strict-origin-when-cross-origin'), (b'X-XSS-Protection', b'1; mode=block')])
2026-04-29 19:55:04,140 - httpx - INFO - HTTP Request: POST https://client.doiteasy.net/includes/api.php "HTTP/1.1 403 Forbidden"
2026-04-29 19:55:04,141 - httpcore.http11 - DEBUG - receive_response_body.started request=<Request [b'POST']>
2026-04-29 19:55:04,141 - httpcore.http11 - DEBUG - receive_response_body.complete
2026-04-29 19:55:04,142 - httpcore.http11 - DEBUG - response_closed.started
2026-04-29 19:55:04,142 - httpcore.http11 - DEBUG - response_closed.complete
2026-04-29 19:55:04,143 - httpcore.connection - DEBUG - close.started
2026-04-29 19:55:04,143 - httpcore.connection - DEBUG - close.complete
2026-04-29 19:55:04,143 - services.whmcs - ERROR - WHMCS API returned HTTP 403 for action ValidateLogin: {"result":"error","message":"Invalid IP 154.197.56.221"}
2026-04-29 19:55:04,153 - core.database - WARNING - Database not initialized, attempting lazy initialization...
2026-04-29 19:55:04,153 - core.database - INFO - Starting database initialization...
2026-04-29 19:55:04,153 - core.config - DEBUG - Read dynamic attribute database_url from environment variable DATABASE_URL
2026-04-29 19:55:04,154 - core.database - INFO - Normalizing database URL for async compatibility...
2026-04-29 19:55:04,155 - core.database - INFO - Creating async database engine...
2026-04-29 19:55:04,155 - core.database - INFO - Using QueuePool with connection pooling for non-Lambda environment
2026-04-29 19:55:04,201 - core.database - INFO - Database engine created successfully
2026-04-29 19:55:04,201 - core.database - INFO - Creating async session maker...
2026-04-29 19:55:04,201 - core.database - INFO - Async session maker created successfully
2026-04-29 19:55:04,202 - core.database - INFO - Database connection initialized successfully
2026-04-29 19:55:04,202 - core.database - DEBUG - [DB_OP] Starting create_tables
2026-04-29 19:55:04,202 - core.database - INFO - 🔧 Starting table creation...
2026-04-29 19:55:06,288 - core.database - INFO - Tables initialized successfully
2026-04-29 19:55:06,288 - core.database - DEBUG - [DB_OP] Create tables completed in 2.0863s
2026-04-29 19:55:06,355 - core.database - INFO - Lazy database initialization completed successfully
2026-04-29 19:56:19,252 - services.database - DEBUG - [DB_OP] Starting database close
2026-04-29 19:56:19,320 - core.database - INFO - Database connection closed and engine disposed
2026-04-29 19:56:19,321 - services.database - INFO - Database connections closed
2026-04-29 19:56:19,321 - services.database - DEBUG - [DB_OP] Database close completed in 0.0693s
