[GH-ISSUE #320] Odd error once in a while (wsarecvfrom) #174

Open
opened 2026-03-13 16:02:29 +03:00 by kerem · 3 comments
Owner

Originally created by @csm10495 on GitHub (Nov 2, 2022).
Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/320

Hey folks,

Once in a long while I get an error like this on Win10:

time="2022-11-01T22:46:15-07:00" level=fatal msg="read udp [::]:53: wsarecvfrom: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself."

Then the process exits.

Any ideas about how we can not crash in this case? I have no idea what sends what message that leads to the crash.

Originally created by @csm10495 on GitHub (Nov 2, 2022). Original GitHub issue: https://github.com/acme-dns/acme-dns/issues/320 Hey folks, Once in a long while I get an error like this on Win10: ``` time="2022-11-01T22:46:15-07:00" level=fatal msg="read udp [::]:53: wsarecvfrom: A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself." ``` Then the process exits. Any ideas about how we can not crash in this case? I have no idea what sends what message that leads to the crash.
Author
Owner

@csm10495 commented on GitHub (Nov 2, 2022):

I'm not quite sure what version of acme-dns I'm using.. there isn't a --version or something like that to check as far as I can tell.

<!-- gh-comment-id:1299618461 --> @csm10495 commented on GitHub (Nov 2, 2022): I'm not quite sure what version of acme-dns I'm using.. there isn't a --version or something like that to check as far as I can tell.
Author
Owner

@webprofusion-chrisc commented on GitHub (Nov 2, 2022):

You would have to had to build acme-dns yourself or get someone to build it for you (last I checked it doesn't build without minor modification), there is no prebuilt version for Windows. That error is a standard windows sockets error and is not controlled by acme-dns, that said the exception should generally be caught and logged then processing should resume as public DNS is a very hostile place. If you have acme-dns running as a service you could just configure it to auto restart on failure.

<!-- gh-comment-id:1299690524 --> @webprofusion-chrisc commented on GitHub (Nov 2, 2022): You would have to had to build acme-dns yourself or get someone to build it for you (last I checked it doesn't build without minor modification), there is no prebuilt version for Windows. That error is a standard windows sockets error and is not controlled by acme-dns, that said the exception should generally be caught and logged then processing should resume as public DNS is a very hostile place. If you have acme-dns running as a service you could just configure it to auto restart on failure.
Author
Owner

@csm10495 commented on GitHub (Nov 2, 2022):

I must have done that then.. sorry it's been a while.

I have it setup to auto restart on crash, just figured maybe we could somehow avoid the crash to begin with.

Though if Windows isn't really supported to begin with: sorry for the trouble and feel free to close this out.

<!-- gh-comment-id:1300680495 --> @csm10495 commented on GitHub (Nov 2, 2022): I must have done that then.. sorry it's been a while. I have it setup to auto restart on crash, just figured maybe we could somehow avoid the crash to begin with. Though if Windows isn't really supported to begin with: sorry for the trouble and feel free to close this out.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/acme-dns#174
No description provided.