bref: Error when deployed from Windows
After a successful completion of the entire Laravel set up and receiving my API endpoints when running “vendor/bin/bref deploy
”, I keep getting the following error when hitting my endpoint:
{
"message": "Internal server error"
}
The best thing i can find in the logs is this:
`Process exited before completing request
`Any ideas to fix this?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (13 by maintainers)
Did more testings about this error using the Bref readme as sample.
Test 1 create in Windows and deploy from Windows => Internal server error
Test 2 create in Windows, use VirtualBox with LinuxMint with shared folder, deploy from Linux => Internal server error
Test 3 create in Windows, use VirtualBox with LinuxMint with shared folder, copy files into linux, deploy from Linux => Internal server error
Test 4 create in Linux, deploy from Linux => Success
Test 5 create in Windows, deploy from Windows adding the “mode” parameters in serverless.yml as discussed in this thread => Internal server error I have checked the serverless doc and there is no reference to this “mode” variable (Serverless.yml Reference)
Will continue to investigate as it is important to be able to use Bref from any OS to help having more people interested in it. But for now the best for Windows user (like me) is to develop in dual-boot or use VirtualBox with Ubuntu or LinuxMint or any other flavor to directly develop your app.