You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The start function in the local.js code will attempt to unlink and delete the executable and then re-download a new version of the proxy even if a binarypath is specified. If a binarypath is specified, then the caller is indicating that they do not want to run off a downloaded (and potentially newer version) of the proxy and hence the binary should not be deleted. In our case on Windows, the unlink operation causes an EPERM error that causes the process to exit.
Expected Behavior
If a binaryPath is specified, then the code should not try to unlink or delete it.
Actual Behavior
The code is attempting to delete it which could cause an error.
Steps to Reproduce the Problem
Specify a binarypath for the proxy executable
Force the launch of the proxy to fail (bad key or no network)
This is causing our server that manages proxies for 14 teams on this server to crash whenever there is an issue connecting to the browserstack server. We recycle our keys frequently for security reasons and everytime the keys get recycled we must restart the proxies. Here's a sample of the issue occurring.
The suggested code fix in local.js would be...
The text was updated successfully, but these errors were encountered:
The start function in the local.js code will attempt to unlink and delete the executable and then re-download a new version of the proxy even if a binarypath is specified. If a binarypath is specified, then the caller is indicating that they do not want to run off a downloaded (and potentially newer version) of the proxy and hence the binary should not be deleted. In our case on Windows, the unlink operation causes an EPERM error that causes the process to exit.
Expected Behavior
If a binaryPath is specified, then the code should not try to unlink or delete it.
Actual Behavior
The code is attempting to delete it which could cause an error.
Steps to Reproduce the Problem
browserstack local arguments
Platform details
Details
This is causing our server that manages proxies for 14 teams on this server to crash whenever there is an issue connecting to the browserstack server. We recycle our keys frequently for security reasons and everytime the keys get recycled we must restart the proxies. Here's a sample of the issue occurring.
The suggested code fix in local.js would be...
The text was updated successfully, but these errors were encountered: