Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot launch Edge from a service #7

Open
jeffsaremi opened this issue Nov 21, 2018 · 8 comments
Open

Cannot launch Edge from a service #7

jeffsaremi opened this issue Nov 21, 2018 · 8 comments

Comments

@jeffsaremi
Copy link

I can start Karma with Edge on the command line when I do it manually. However if I have a Windows Service running under say "Network Service" it does not look it can find it.

Console output:

INFO [launcher]: Starting browser Edge
WARN [launcher]: Edge have not captured in 120000 ms, killing.
Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.

INFO [launcher]: Trying to start Edge again (1/2).
WARN [launcher]: Edge have not captured in 120000 ms, killing.
ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.
@nickserv
Copy link
Collaborator

Is this on the same machine? If not, note that Edge is not supported on Windows Server.

@jeffsaremi
Copy link
Author

jeffsaremi commented Nov 21, 2018

These are both the same machines. The OS is Windows 10 Pro

Using PsTools from SysInternals I managed to run the "Karma start..." under the Network Service in a cmd window and I got this:

image

@TManB
Copy link

TManB commented Nov 21, 2018

I see the same behavior trying to run via a teamcity agent on a windows 10 Pro OS.

I can run my test script manually but when the agent attempts to start Edge it gets the same error message "ERROR: The process "MicrosoftEdge.exe" not found."

@prateekbaheti
Copy link

I see the same behavior on a Windows 10 Pro running GoCD agent as a service. Its unable to launch edge.

@pavenkostanislav
Copy link

Hello? Gays!
I have the same problem.
What environment param I should set or rename for win7?

95% emitting08 07 2020 16:09:02.373:INFO [launcher]: Trying to start Edge again (1/2).
08 07 2020 16:09:02.454:WARN [karma]: No captured browser, open http://localhost:9876/
08 07 2020 16:10:02.422:WARN [launcher]: Edge have not captured in 60000 ms, killing.
08 07 2020 16:10:02.576:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.

08 07 2020 16:10:02.579:INFO [launcher]: Trying to start Edge again (2/2).
08 07 2020 16:11:02.581:WARN [launcher]: Edge have not captured in 60000 ms, killing.
08 07 2020 16:11:02.688:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.

08 07 2020 16:11:02.691:ERROR [launcher]: Edge failed 2 times (timeout). Giving up.

My EDGE have name C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

@nickserv
Copy link
Collaborator

nickserv commented Jul 8, 2020

Do you have new Edge (Chromium) or legacy Edge (ChakraCore) installed?

@jeraldsiby
Copy link

jeraldsiby commented Apr 19, 2021

I am able to run FireFox and Chrome using the same config. But when I tried to add Edge, it gives me this errror

19 04 2021 09:56:05.915:INFO [launcher]: Starting browser Edge
19 04 2021 09:56:27.488:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.

19 04 2021 09:56:27.489:ERROR [launcher]: Cannot start Edge

19 04 2021 09:56:27.489:ERROR [launcher]: Edge stdout:
Couldn't find Edge URL with URL: 01789C60
Found
19 04 2021 09:56:27.489:ERROR [launcher]: Edge stderr:
19 04 2021 09:56:27.491:INFO [launcher]: Trying to start Edge again (1/2).
19 04 2021 09:56:49.074:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.

19 04 2021 09:56:49.075:ERROR [launcher]: Cannot start Edge

19 04 2021 09:56:49.075:ERROR [launcher]: Edge stdout:
Couldn't find Edge URL with URL: 014F9A68
Found
19 04 2021 09:56:49.075:ERROR [launcher]: Edge stderr:
19 04 2021 09:56:49.076:INFO [launcher]: Trying to start Edge again (2/2).
19 04 2021 09:57:10.667:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.

19 04 2021 09:57:10.667:ERROR [launcher]: Cannot start Edge

Any leads to solve this issue?

@Smolations
Copy link

This might have something to do with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants