Closed nopara73 closed 4 years ago
Tried to remove my bitcoin.conf
so to try on default. It didn't work.
If I specify both rpcbind
and rpcallowip
to localhost, then it will start working. I'm not quite sure why yet.
main.rpcbind = 127.0.0.1
main.rpcallowip = 127.0.0.1
Can you get the log with the error reporting fixed?
diff --git a/src/httpserver.cpp b/src/httpserver.cpp
index bb960b616f7..6a7a6eed4d2 100644
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -331,7 +331,7 @@ my_bind_socket_with_handle(struct evhttp *http, const char *address, ev_uint16_t
ignorable_error = true;
break;
default:
- LogPrintf("libevent: getaddrinfo: %s\n", strerror(errno));
+ LogPrintf("libevent: getaddrinfo: %s\n", evutil_gai_strerror(ai_result));
}
return nullptr;
}
Nevermind, I was able to reproduce and fix it.
Upstream/root issue: https://github.com/libevent/libevent/issues/966
Will patch libevent for v0.19.1, as well as include a workaround so building against a broken libevent isn't fatal.
Tested on Windows 10 and Windows Server 2016 VM.
Bitcoin Core works. Knots on Linux & OSX work.
How to reproduce?
Execute
bitcoind.exe
.Relevant Parts of
debug.log
Full
debug.log