gunicorn直接启动grpc会冲突,出现如下错误
{"created":"@1731057472.073113226","description":"No address added out of total 1 resolved","file":"src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":394,"referenced_errors":[{"created":"@1731057472.073109391","description":"Unable to configure socket","fd":23,"file":"src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":217,"referenced_errors":[{"created":"@1731057472.073104938","description":"Address already in use","errno":98,"file":"src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":190,"os_error":"Address already in use","syscall":"bind"}]}]}
解决办法:分别单独启动grpc服务和gunicorn服务
发表回复