Replies: 3 comments
-
https://docs.firefly-iii.org/references/faq/data-importer/import/#i-get-504-gateway-timeout-errors Hey, thanks for opening an issue, and thanks for the compliments! This is something I can't fix. Long-running imports will time out eventually. The front-end will stop checking after about 600 seconds, but like the FAQ says, reverse proxies may be more strict about it. Ironically, like you say, the php process in the back-end will usually not be killed and will continue until it's actually finished. But the front-end won't be able to report it. If you import large batches, if you have a lot of rules or something else is slow, use the CLI or smaller sets of files. |
Beta Was this translation helpful? Give feedback.
-
I completely understand your points, I'd do the same. Also, is something very specific related to Cloudflare and its WAF free plan limitations. Again, great job! |
Beta Was this translation helpful? Give feedback.
-
Support guidelines
I've found a bug and checked that ...
Description
Hi,
first of all thanks for the GREAT software, it's very solid with a huge amount of flexibility and available customizations.
I'm not sure this is a issue, it could be a "gray area".
My configuration is exposed via a domain hosted and handled in Cloudflare, it points to my public interface and forwarded to a reverse proxy (Traefik) via https. This is both for Firefly and the importer, they have differents subdomains ma follow the very same path.
Everything works fine except an error 524 for long-running import jobs: "AxiosError: Request failed with status code 524"
It's not a bug but an icompatibility issue with a specific Cloudflare configuration (proxyed target + free tier plan). Without any code change there are 2 options:
More details in [https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-524-a-timeout-occurred](Error 524: a timeout occurred)
Google returns a Github repo with a possible solution --> https://github.com/marcialpaulg/Fixing-Cloudflare-Error-524
I'm not a developer, if it's not an option please just ignore.
Again this is not a blocking issue and workarounds do exist, my goal is to highlight this specific scenario and let someone more skilled to evaluate the solutions, beside the ones posted above.
If you need any further details just let me know.
Last but not the least --> The conversion and import jobs complete without any error in background!
Debug information
Expected behaviour
Complete the jobs without the error "AxiosError: Request failed with status code 524"
Steps to reproduce
Additional info
No response
Beta Was this translation helpful? Give feedback.
All reactions