Skip to content

could not parse daemon response #30

@ashawkman

Description

@ashawkman

Commands

nocc-server -log-filename nocc_server.log -log-verbosity 2
NOCC_GO_EXECUTABLE=nocc-daemon NOCC_SERVERS="127.0.0.1:43210" NOCC_LOG_FILENAME=nocc_client.log NOCC_LOG_VERBOSITY=2 nocc /opt/toolchain/usr/bin/clang++ --sysroot=/opt/runtime -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_JSON_DYN_LINK=1 -DBOOST_JSON_NO_LIB=1 -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_THREAD_USE_DLL -DCMAKE_BUILD_TYPE=\"RelWithDebInfo\" -DNGX_DEBUG=1 -fPIC -O3 -g -std=c++23 -DGLIBCXX_USE_CXX11_ABI=1 -fno-omit-frame-pointer -march=x86-64-v3 -mno-avx512f -flto=auto -ffat-lto-objects -Wno-ignored-optimization-argument -Wno-backend-plugin -fno-plt -fcolor-diagnostics  -g -DNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden -fno-lto -fno-fat-lto-objects -pthread -fPIC -Wall -Wextra -Wno-unused-parameter -Wformat-security -Werror=format-security -Wno-missing-field-initializers -fdiagnostics-color=always -fsanitize=undefined -fno-omit-frame-pointer -gdwarf-4 -DNDEBUG -D_XOPEN_SOURCE=600 -Werror -MD -MT src/core/ip_list_storage/tests/CMakeFiles/ipl_mproc_hv_test.dir/ipl_mproc_hv_test.cc.o -MF src/core/ip_list_storage/tests/CMakeFiles/ipl_mproc_hv_test.dir/ipl_mproc_hv_test.cc.o.d -o src/core/ip_list_storage/tests/CMakeFiles/ipl_mproc_hv_test.dir/ipl_mproc_hv_test.cc.o -c /src/core/ip_list_storage/tests/ipl_mproc_hv_test.cc

Result

Remote build doesn't always work.
[nocc] could not parse daemon response. Executing the C++ compiler locally...

Logs:

nocc_server.log

2025-11-25 06:50:24 INFO client disconnected clientID ci-build ; nClients 0
2025-11-25 06:50:26 INFO new client clientID ci-build version v1.2, rev 73b26e5, compiled at 2023-05-03 14:33:26 UTC ; nClients 1
2025-11-25 06:50:46 INFO client disconnected clientID ci-build ; nClients 0
2025-11-25 06:50:48 INFO new client clientID ci-build version v1.2, rev 73b26e5, compiled at 2023-05-03 14:33:26 UTC ; nClients 1
2025-11-25 06:55:50 INFO delete inactive client clientID ci-build num files 0 ; nClients 0
2025-11-25 06:55:50 ERROR unauthenticated client on recv stream clientID ci-build
2025-11-25 07:20:54 INFO new client clientID ci-build version v1.2, rev 73b26e5, compiled at 2023-05-03 14:33:26 UTC ; nClients 1

nocc_client.log

2025-11-25 09:50:05 ERROR couldn't read from socket bufio: buffer full
2025-11-25 09:50:05 ERROR could not parse daemon response (fallback to local cxx)
2025-11-25 09:50:05 ERROR compiling locally: unsupported option: --sysroot=/opt/runtime
2025-11-25 09:50:07 ERROR couldn't read from socket bufio: buffer full

What does mean errors above and how to fix them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions