server closed unexpectedly while running on Azure.
See original GitHub issueIs this a bug report or a feature request? Bug report
If this is a bug report, please provide as much info as possible
- version
"start-server-and-test": "^1.11.0",
- platform Microsoft Azure
- expected behavior Run a Cypress test on a Azure environment
- actual behavior server closes unexpectedly
lerna success exec Executed command in 1 package: "yarn start --all-apps"
Error: server closed unexpectedly
at ChildProcess.onClose (D:\a\1\s\node_modules\start-server-and-test\src\index.js:69:14)
at ChildProcess.emit (events.js:209:13)
at ChildProcess.cp.emit (D:\a\1\s\node_modules\start-server-and-test\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
##[error]Cmd.exe exited with code '1'.
Finishing: Run Cypress testsk
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Start-server-and-test "server closed unexpectedly"
I'm using the start-server-and-test package to start a server on my Azure pipeline to run Cypress. This is the yarn command I use...
Read more >Error message "The server unexpectedly closed the connection"
The error message that you're getting is usually caused by the server not being able to run some processes to support your session....
Read more >SFTP/FTP Issue on azure server - MSDN - Microsoft
I am getting error 'Server unexpectedly closed network connection' when I use Putty through Windows 10. Using winSCP
Read more >Troubleshoot SSH connection issues to an Azure VM
How to troubleshoot issues such as 'SSH connection failed' or 'SSH connection refused' for an Azure VM running Linux.
Read more >psycopg2.OperationalError: server closed the connection ...
OperationalError : server closed the connection unexpectedly. I tried setting up odoo and postgres containers in azure using docker-compose, when ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue in CircleCI: https://app.circleci.com/pipelines/github/dominikwilkowski/bronzies/122/workflows/aafbb9bc-9d96-4836-8204-2c03a545d5c0/jobs/247 (Also using CRA)
Seems related. What’s curious though is that when I ssh into the instance and run the same command that fails in ci, it runs without issues suggesting that the ssh session keeps something alive that’s otherwise shutdown in ci.
Related #250