Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3780

Troubleshooting • Re: problem with flask app.py

$
0
0
Hi first of all thanks to answer me, i start the file app.py manually from terminal

Code:

python3 app.py

Code:

 * Serving Flask app 'app' * Debug mode: on2025-03-06 18:48:13,171 - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m * Running on all addresses (0.0.0.0) * Running on http://127.0.0.1:5000 * Running on http://192.168.1.xxx:50002025-03-06 18:48:13,172 - INFO - [33mPress CTRL+C to quit[0m2025-03-06 18:48:13,185 - INFO -  * Restarting with stat2025-03-06 18:48:14,470 - WARNING -  * Debugger is active!2025-03-06 18:48:14,471 - INFO -  * Debugger PIN: 931-134-947
this is my app.log
this is my error.log in apache maybe could be useful

Code:

[Mon Mar 10 00:00:05.449163 2025] [mpm_prefork:notice] [pid 765:tid 765] AH00163: Apache/2.4.62 (Debian) configured -- resuming normal operations[Mon Mar 10 00:00:05.449278 2025] [core:notice] [pid 765:tid 765] AH00094: Command line: '/usr/sbin/apache2'[Tue Mar 11 00:00:04.619451 2025] [mpm_prefork:notice] [pid 765:tid 765] AH00171: Graceful restart requested, doing restart
this is the access.log

Code:

192.xxxxxxxx:80 192.xxxxxx - - [03/Mar/2025:08:52:46 +0100] "GET /get_quantita.php?id=1 HTTP/1.1" 200 221 "-" "python-requests/2.28.1"xxxxxxxxxxxxxxxxxxxxxxx - - [03/Mar/2025:08:52:59 +0100] "GET /get_quantita.php?id=999 HTTP/1.1" 200 236 "-" "python-requests/2.28.1"xxxxxxxxxxxxxxxxxxxxxx - - [03/Mar/2025:08:53:51 +0100] "POST /update_quantita.php HTTP/1.1" 200 256 "-" "python-requests/2.28.1"xxxxxxxxxxxxxxxxxxxx - - [03/Mar/2025:08:54:15 +0100] "GET /get_quantita.php?id=1 HTTP/1.1" 200 221 "-" "python-requests/2.28.1"
Hope those could be useful, in the meantime i can still work on the rest concluding the web page and so on

Statistics: Posted by morris1974 — Thu Mar 13, 2025 11:54 am



Viewing all articles
Browse latest Browse all 3780

Trending Articles