What seems to be the problem:
File upload over https fails signature verification
Steps to Reproduce:
Set up livewire file upload, then use https (e.g. with ngrok) the upload fails with the request to
Request URL: https://XYZ.ngrok.io/livewire/upload-file?expires=1593877850&signature=0c0b334969966e642854a730fdb78accd3c7332648291fc2449530f15cea7035
Request Method: POST
Status Code: 401 Unauthorized
Following the flow with the debugger the problem arises, in the vendor/livewire/livewire/src/Controllers/FileUploadHandler.php, in the handle method.
In particular in the
abort_unless(request()->hasValidSignature(), 401); line.
Commenting it out works around the problem (the uploads works) but of course is not optimal,
Are you using the latest version of Livewire:
- Livewire version: 1.3.1
- Laravel version: 7.10.0
- Browser: [Firefox, Vivaldi]
Do you have any screenshots or code examples: