beyondcode / herd-community

91 stars 1 forks source link

[Bug]: DNSMasq reported green but won't works #1115

Closed roncsak closed 4 weeks ago

roncsak commented 1 month ago

Platform

macOS

Operating system version

macOS Sonoma 14.1.1

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.11.1 (Build:34)

PHP Version

No response

Bug description

The DNSmasq service reported good (green) in the contextual menu but it is not working.

Steps to reproduce

Hi there, when I start Herd click on the icon H on the toolbar, the context menu opens and shows me that following services are up and running (with green dot in front of them):

When I click on the icon which opens the logs of the relevant service I got the following for DNSmasq:
dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use

After some googling, I found out that some service already using the port needed for dnsmasq but I cannot / won't remove that service.

My expectation would be, that the green dot should be yellow or red, because the service couldn't start as intended.

Also, in that case I cannot open any site with *.test url. In such case, I still would like to know how to open these sites if it's possible.

Relevant log output

dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use
mpociot commented 1 month ago

This means that you already have an instance of DNSmasq running. Maybe you have it running via brew already?

Try:

sudo brew services stop dnsmasq
mpociot commented 4 weeks ago

Feel free to re-open this if you still need help

roncsak commented 4 weeks ago

Hello there, sorry for the late response.

So actually I'm not running another instance of dnsmasq, so I couldn't stop it. (I tried of course.) There is a another service using port 53, which I cannot remove.

So, this bug ticket is about:

  1. I wanted to let you guys know, that in the context menu DNSMasq is reported as operational (green), while the service is not really is (which I consider as a non-critical bug)
  2. I'd like to know how could I still use Herd, if there is such problem with DNSMasq.

image image

roncsak commented 3 weeks ago

Feel free to re-open this if you still need help

Hi @mpociot , is it possible to reopen this somehow? 🤔