projetsolaire-sysadmin / FileParsingTools

Project to parse consumption and production curves
0 stars 0 forks source link

Backend / Fatal error #5

Closed projetsolaire-sysadmin closed 1 year ago

projetsolaire-sysadmin commented 1 year ago

Problem : uploading a consumption csv file crashes the webapp with no console or network error.

image
jrm44 commented 1 year ago

same problem with the csv file.

logs : 2022-12-09T12:54:03.931431+00:00 app[web.1]: Enedis_SGE_HDM_A07KNDUG.csv 2022-12-09T12:54:15.016883+00:00 app[web.1]: [2022-12-09 12:54:15 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:9) 2022-12-09T12:54:15.017640+00:00 app[web.1]: [2022-12-09 12:54:15 +0000] [9] [INFO] Worker exiting (pid: 9) 2022-12-09T12:54:15.018694+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/upload" host=file-parsing-tool.herokuapp.com request_id=44befee2-3557-4f51-8fff-ffd9543c948d fwd="79.81.121.94" dyno=web.1 connect=0ms service=30774ms status=503 bytes=0 protocol=https 2022-12-09T12:54:15.113068+00:00 app[web.1]: [2022-12-09 12:54:15 +0000] [25] [INFO] Booting worker with pid: 25 2022-12-09T12:54:15.531338+00:00 app[web.1]: upload_files 2022-12-09T12:56:13.253224+00:00 heroku[router]: at=info method=GET path="/" host=file-parsing-tool.herokuapp.com request_id=766fe2fa-489d-41ee-a731-47dca79555b7 fwd="79.81.121.94" dyno=web.1 connect=0ms service=9ms status=200 bytes=4746 protocol=https

Time out error

the file is in 10min AND 5min step :

2022-09-15T01:40:00+02:00 | 11000 2022-09-15T01:50:00+02:00 | 27000 2022-09-15T02:00:00+02:00 | 11000 2022-09-15T02:10:00+02:00 | 10000 2022-09-15T02:20:00+02:00 | 10000 2022-09-15T02:30:00+02:00 | 11000 2022-09-15T02:40:00+02:00 | 17000 2022-09-15T02:45:00+02:00 | 30000 2022-09-15T02:50:00+02:00 | 28000 2022-09-15T02:55:00+02:00 | 26000 2022-09-15T03:00:00+02:00 | 38000 2022-09-15T03:05:00+02:00 | 31000 2022-09-15T03:10:00+02:00 | 26000 2022-09-15T03:15:00+02:00 | 19000

I'm looking for the solution

jrm44 commented 1 year ago

The problem comes from the server. The script runs and generates the parsed file but the server not responds.

jrm44 commented 1 year ago

not the best solution but it works : you need to retry