Filament v3 exporter xlsx
I have a web application running on my local machine, and it works perfectly when I access it on the same laptop using http://127.0.0.1:8000/filament/exports/14/download?format=xlsx.
However, when I try to access the same application from another laptop in the same network, I get the following error:
This site can’t be reached
The webpage at http://127.0.0.1:8000/filament/exports/14/download?format=xlsx might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
The webpage at http://127.0.0.1:8000/filament/exports/14/download?format=xlsx might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
10 Replies
Are you trying to use the url from the first laptop that runs the webpage on a other laptop without changing the url 127.0.0.1 is a local loopback address. If you want to access the hosted page from the other laptop you have to change the url to use the ip of the laptop that is hosting your website.
If you don' know what loopback address is, read 127.0.0.1 as "This computer".
Both laptops have the same local IP address. When I download as a CSV file, there is no issue. However, when I click the button to download as an XLSX file, this error occurs.
The APP_URL in the .env file is the same on both laptops.
You have same app on different laptops?
AKA, 2 development laptops?
Yes
Enable debuggin in .env and set app as local
so you have more meaningful errors
The project runs without any issues on both laptops. The problem only occurs with the XLSX download button in the Filament exporter.
But you will not know what causes the error without checking the logs and enabling debugging
İ ll check it all
Again
I had the same issue and fixed it by disabling the antivirus. 😀