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

[Bug]: HerdHelper not starting #1189

Closed
n-els opened this issue Dec 8, 2024 · 6 comments
Closed

[Bug]: HerdHelper not starting #1189

n-els opened this issue Dec 8, 2024 · 6 comments
Labels

Comments

@n-els
Copy link

n-els commented Dec 8, 2024

Platform

Windows

Operating system version

Windows 11 22631

System architecture

64-bit

Herd Version

1.13.0

PHP Version

No response

Bug description

Like many others here, I have the problem that HerdHelper does not start and therefore my projects are not accessible in the browser.

However, I can start HerdHelper manually by double-clicking (on the .exe), but that can't be the solution?
So far I have solved it by either editing the hosts file myself or starting the HerdHelper myself.

Steps to reproduce

No response

Relevant log output

[2024-12-08 17:05:01.174] [error] HTTP Request Failed: {
  message: 'connect ECONNREFUSED 127.0.0.1:5999',
  name: 'Error',
  stack: 'Error: connect ECONNREFUSED 127.0.0.1:5999\n' +
    '    at Function.from (C:\\Program Files\\Herd\\resources\\app.asar\\node_modules\\axios\\dist\\node\\axios.cjs:837:14)\n' +
    '    at RedirectableRequest.handleRequestError (C:\\Program Files\\Herd\\resources\\app.asar\\node_modules\\axios\\dist\\node\\axios.cjs:3083:25)\n' +
    '    at RedirectableRequest.emit (node:events:517:28)\n' +
    '    at ClientRequest.<anonymous> (C:\\Program Files\\Herd\\resources\\app.asar\\node_modules\\follow-redirects\\index.js:38:24)\n' +
    '    at ClientRequest.emit (node:events:517:28)\n' +
    '    at Socket.socketErrorListener (node:_http_client:501:9)\n' +
    '    at Socket.emit (node:events:517:28)\n' +
    '    at emitErrorNT (node:internal/streams/destroy:151:8)\n' +
    '    at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)',
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },..
@sschlein
Copy link
Member

sschlein commented Dec 8, 2024

How does the debug file look like? Any ideas or better errors after going through https://herd.laravel.com/docs/windows/1/troubleshooting/common-issues#the-herdhelper-windows-service-isnt-working ?

@n-els
Copy link
Author

n-els commented Dec 11, 2024

I have reinstalled Herd because I realized that the service for the HerdHelper did not exist, now it is there and is also started at startup. I think this can be closed. Thank you!

@n-els
Copy link
Author

n-els commented Dec 11, 2024

Strange, but the HerdHelper service can no longer be found in the Windows Service Manager, I restarted my PC and it just disappeared.

@sschlein
Copy link
Member

Which anti virus program dislikes Herd?

The helper changes the hosts file, so there is a chance that the program doesn't like that and thinks that it's malware. You can likely flag it as trusted somewhere in the settings of your anti virus.

@sschlein sschlein reopened this Dec 11, 2024
@sschlein sschlein added needs more information Further information is requested and removed macOS labels Dec 11, 2024
@n-els
Copy link
Author

n-els commented Dec 11, 2024

I use Windows Defender, have already deactivated it and also added Herd to the exception (trusted) list, but still the same problem.

@github-actions github-actions bot removed the needs more information Further information is requested label Dec 11, 2024
@sschlein
Copy link
Member

The only way why the helper can disappear is that either a anti-virus program removes it or there is a corporate policy installed on your machine that does it remotely.

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

No branches or pull requests

2 participants