This error message suggests that there is a mismatch between the SSL version or cipher being used by the server and the client. To resolve this issue, you can try the following steps:
- Make sure you have the latest version of Laravel Sail and Fleet installed. You can update them by running the following commands:
composer require laravel/sail
composer require aschmelyun/fleet
- Check your
docker-compose.ymlfile and ensure that the ports are properly configured. Specifically, make sure that the port5173is exposed for the Vite server. Here's an example of how it should look:
services:
laravel.test:
build:
context: ./vendor/laravel/sail/runtimes/8.0
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP}'
image: sail-8.0/app
ports:
- '80:80'
- '443:443'
- '5173:5173' # Add this line for Vite
# ...
- Verify that the SSL certificate is correctly set up. You can do this by running the following command:
sail artisan sail:publish
This will publish the Fleet configuration files. Check the fleet directory for the SSL certificate files. Make sure they are valid and properly configured.
- If the SSL certificate files are correct, try regenerating them by running the following command:
sail artisan fleet:generate-certs
- Restart your Docker containers to apply the changes:
sail down
sail up -d
- Clear your browser cache and try accessing the Vite server again.
If the issue persists, you may need to provide more information about your setup, such as your fleet configuration file and any relevant Vite or Laravel Sail configuration files.