Comments (5)
Following up, got a different error today, which may be related:
Sep 15 14:47:29 server1 dns-proxy[12011]: 2020-09-15T18:47:29.092Z dnsproxy:error Socket Error: Error [ERR_SOCKET_CANNOT_SEND]: Unable to send data
Sep 15 14:47:29 server1 systemd[1]: dns-proxy.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 15 14:47:29 server1 systemd[1]: dns-proxy.service: Failed with result 'exit-code'.
Sep 15 14:47:30 server1 systemd[1]: dns-proxy.service: Service hold-off time over, scheduling restart.
Sep 15 14:47:30 server1 systemd[1]: dns-proxy.service: Scheduled restart job, restart counter is at 32.
Sep 15 14:47:30 server1 systemd[1]: Stopped Local DNS proxy.
Sep 15 14:47:30 server1 systemd[1]: Started Local DNS proxy.
Sep 15 14:47:30 server1 dns-proxy[8366]: 2020-09-15T18:47:30.556Z dnsproxy:info we are up and listening at 192.168.77.2 on 53
Sep 15 14:48:30 server1 dns-proxy[8366]: /snapshot/dns-proxy/node_modules/native-dns-packet/packet.js:70
Sep 15 14:48:30 server1 dns-proxy[8366]: len = buff.readUInt8();
Sep 15 14:48:30 server1 dns-proxy[8366]: ^
Sep 15 14:48:30 server1 dns-proxy[8366]: VError: BufferCursorOverflow: length 12, position 12, size 1
Sep 15 14:48:30 server1 dns-proxy[8366]: at module.exports.BufferCursor._checkWrite (/snapshot/dns-proxy/node_modules/buffercursor/buffercursor.js:0:0)
Sep 15 14:48:30 server1 dns-proxy[8366]: at module.exports.BufferCursor._move (/snapshot/dns-proxy/node_modules/buffercursor/buffercursor.js:0:0)
Sep 15 14:48:30 server1 dns-proxy[8366]: at module.exports.BufferCursor.readUInt8 (/snapshot/dns-proxy/node_modules/buffercursor/buffercursor.js:0:0)
Sep 15 14:48:30 server1 dns-proxy[8366]: at nameUnpack (/snapshot/dns-proxy/node_modules/native-dns-packet/packet.js:70:14)
Sep 15 14:48:30 server1 dns-proxy[8366]: at parseQuestion (/snapshot/dns-proxy/node_modules/native-dns-packet/packet.js:525:14)
Sep 15 14:48:30 server1 dns-proxy[8366]: at Function.Packet.parse (/snapshot/dns-proxy/node_modules/native-dns-packet/packet.js:704:17)
Sep 15 14:48:30 server1 dns-proxy[8366]: at Object.module.exports.listAnswer (/snapshot/dns-proxy/util.js:0:0)
Sep 15 14:48:30 server1 dns-proxy[8366]: at Socket. (/snapshot/dns-proxy/dns-proxy.js:0:0)
Sep 15 14:48:30 server1 dns-proxy[8366]: at emitTwo (events.js:126:13)
Sep 15 14:48:30 server1 dns-proxy[8366]: at Socket.emit (events.js:214:7)
Sep 15 14:48:30 server1 systemd[1]: dns-proxy.service: Main process exited, code=exited, status=1/FAILURE
Sep 15 14:48:30 server1 systemd[1]: dns-proxy.service: Failed with result 'exit-code'.
Sep 15 14:48:31 server1 systemd[1]: dns-proxy.service: Service hold-off time over, scheduling restart.
Sep 15 14:48:31 server1 systemd[1]: dns-proxy.service: Scheduled restart job, restart counter is at 33.
Sep 15 14:48:31 server1 systemd[1]: Stopped Local DNS proxy.
Sep 15 14:48:31 server1 systemd[1]: Started Local DNS proxy.
Sep 15 14:48:31 server1 dns-proxy[8440]: 2020-09-15T18:48:31.481Z dnsproxy:info we are up and listening at 192.168.77.2 on 53
Sep 15 14:50:26 server1 dns-proxy[8440]: 2020-09-15T18:50:26.929Z dnsproxy:error Socket Error: Error [ERR_SOCKET_CANNOT_SEND]: Unable to send data
Sep 15 14:50:26 server1 systemd[1]: dns-proxy.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 15 14:50:26 server1 systemd[1]: dns-proxy.service: Failed with result 'exit-code'.
Sep 15 14:50:28 server1 systemd[1]: dns-proxy.service: Service hold-off time over, scheduling restart.
Sep 15 14:50:28 server1 systemd[1]: dns-proxy.service: Scheduled restart job, restart counter is at 34.
Sep 15 14:50:28 server1 systemd[1]: Stopped Local DNS proxy.
Sep 15 14:50:28 server1 systemd[1]: Started Local DNS proxy.
Sep 15 14:50:28 server1 dns-proxy[8565]: 2020-09-15T18:50:28.231Z dnsproxy:info we are up and listening at 192.168.77.2 on 53
Sep 15 14:52:30 server1 dns-proxy[8565]: 2020-09-15T18:52:30.000Z dnsproxy:error Socket Error: Error [ERR_SOCKET_CANNOT_SEND]: Unable to send data
Sep 15 14:52:30 server1 systemd[1]: dns-proxy.service: Main process exited, code=exited, status=5/NOTINSTALLED
Sep 15 14:52:30 server1 systemd[1]: dns-proxy.service: Failed with result 'exit-code'.
Sep 15 14:52:31 server1 systemd[1]: dns-proxy.service: Service hold-off time over, scheduling restart.
Sep 15 14:52:31 server1 systemd[1]: dns-proxy.service: Scheduled restart job, restart counter is at 35.
Sep 15 14:52:31 server1 systemd[1]: Stopped Local DNS proxy.
Sep 15 14:52:31 server1 systemd[1]: Started Local DNS proxy.
Sep 15 14:52:31 server1 dns-proxy[8697]: 2020-09-15T18:52:31.231Z dnsproxy:info we are up and listening at 192.168.77.2 on 53
from dns-proxy.
Interesting. Could your IP be changing? Possibly try listening on 0.0.0.0 or 127.0.0.1 instead? The ERR_SOCKET_CANNOT_SEND error simply means it is unable to send data. It's unclear why.
from dns-proxy.
Hey - thanks for getting back to me. IP is static so definitely not that, but I'll try listening on those and see if it helps.
I'm running the binaries downloaded from github - I guess there's not a lot I can do to add more debug around this?
from dns-proxy.
Quick follow up: I've been running dns-proxy on 0.0.0.0 now for 3 days and the problem hasn't reoccurred. Thanks for the help.
from dns-proxy.
from dns-proxy.
Related Issues (18)
- Requester ip address
- Allow logging to go to file vs stdout
- Bad issue with rerouting IPs HOT 5
- Doesn't work when installed as a package dependency HOT 3
- Add Support for Wildcards within Domain Specific Answers
- Unable to use it HOT 1
- Add IPv6 support HOT 1
- Using launchdaemon randomly caused EMFILE errors HOT 1
- Add DNS over TLS (for Cloudflare 1.1.1.1 Support)
- Add DNS over HTTPS (for Cloudflare 1.1.1.1)
- NPM still holds Version 0.6.2 HOT 3
- Release binary broken HOT 2
- startup script HOT 1
- Dependency Dashboard
- Ask about https
- Add regex support
- non-alias host entry crashes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns-proxy.