Frequently seen issues
Please open a ticket on GitHub if your problem isn't listed here.
502 Bad Gateway errors
When Firefly III responds with a token, the resulting header may be too long for your reverse proxy. Add this to the configuration:
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
I get page load errors because the protocols don't match
- "It only loads over http and not https!"
- "Why doesn't the data importer support HTTPS?"
- "How can I rewrite URLs to https?"
You may see something like "The page at X was loaded over https, but requested insecure script X". This happens when your reverse proxy isn't configured correctly. For nginx, make sure you do something like this:
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
# pass to Docker container
proxy_pass http://127.0.0.1:10011$uri$is_args$args;
}
cURL error 7: Failed to connect on port 443: Connection refused
Happens when the Firefly III Data Importer (FIDI) can reach Firefly III, but is actively refused. Maybe a firewall is in the way?
Internal Server Error
This is a very generic error. Can you get some logs and dive into the issue?
Response header name contains invalid characters, aborting request
Happens to some Apache servers when they are not configured correctly. Set LOG_LEVEL=emergency
.
No matching DirectoryIndex
Make sure Apache looks for public/index.php
Unexpected empty response from Firefly III
Depends on the logs, let me know.
JSON Syntax Error
Depends on the logs, let me know.