You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got some errors while running media-microservices. I used write_movie_info.py to initialize it, and I found all "upload_movie_info"(/wrk2-api/movie-info/write) operations failed and 5 in 1000 "upload_plot"("/wrk2-api/plot/write") failed because of Internal Server Error.
I run it on k8s and used the helm chart.
Logs in nginx:
$ kubectl logs -n media-microsvcs svc/nginx-web-server
Defaulted container "nginx-web-server" out of: nginx-web-server, alpine-container (init)
2023/03/20 11:09:49 [error] 21#21: *481 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:49 [error] 31#31: *543 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:49 [error] 13#13: *558 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 18#18: *476 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 28#28: *607 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 18#18: *431 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/thrift/TBinaryProtocol.lua:135: bad argument #1 to 'len' (string expected, got userdata)
stack traceback:
coroutine 0:
[builtin:len]: in function 'len'
/usr/local/openresty/lualib/thrift/TBinaryProtocol.lua:135: in function 'writeString'
/gen-lua/media_service_MovieInfoService.lua:186: in function 'write'
/gen-lua/media_service_MovieInfoService.lua:543: in function 'send_WriteMovieInfo'
/gen-lua/media_service_MovieInfoService.lua:525: in function 'WriteMovieInfo'
...penresty/nginx/lua-scripts/wrk2-api/movie-info/write.lua:56: in function 'WriteMovieInfo'
content_by_lua(nginx.conf:91):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 8#8: *451 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 9#9: *421 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 21#21: *499 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 13#13: *544 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/gen-lua/media_service_MovieIdService.lua:326: in function 'recv_RegisterMovieId'
/gen-lua/media_service_MovieIdService.lua:299: in function 'RegisterMovieId'
.../openresty/nginx/lua-scripts/wrk2-api/movie/register.lua:36: in function 'RegisterMovie'
content_by_lua(nginx.conf:77):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie/register HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 8#8: *451 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/thrift/TBinaryProtocol.lua:135: bad argument #1 to 'len' (string expected, got userdata)
stack traceback:
coroutine 0:
[builtin:len]: in function 'len'
/usr/local/openresty/lualib/thrift/TBinaryProtocol.lua:135: in function 'writeString'
/gen-lua/media_service_MovieInfoService.lua:186: in function 'write'
/gen-lua/media_service_MovieInfoService.lua:543: in function 'send_WriteMovieInfo'
/gen-lua/media_service_MovieInfoService.lua:525: in function 'WriteMovieInfo'
...penresty/nginx/lua-scripts/wrk2-api/movie-info/write.lua:56: in function 'WriteMovieInfo'
content_by_lua(nginx.conf:91):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 24#24: *436 [lua] write.lua:29: WriteMovieInfo(): Empty body, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 31#31: *543 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/gen-lua/media_service_MovieIdService.lua:326: in function 'recv_RegisterMovieId'
/gen-lua/media_service_MovieIdService.lua:299: in function 'RegisterMovieId'
.../openresty/nginx/lua-scripts/wrk2-api/movie/register.lua:36: in function 'RegisterMovie'
content_by_lua(nginx.conf:77):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie/register HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:50 [error] 8#8: *577 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/gen-lua/media_service_MovieIdService.lua:326: in function 'recv_RegisterMovieId'
/gen-lua/media_service_MovieIdService.lua:299: in function 'RegisterMovieId'
.../openresty/nginx/lua-scripts/wrk2-api/movie/register.lua:36: in function 'RegisterMovie'
content_by_lua(nginx.conf:77):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie/register HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:51 [error] 9#9: *441 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/gen-lua/media_service_MovieIdService.lua:326: in function 'recv_RegisterMovieId'
/gen-lua/media_service_MovieIdService.lua:299: in function 'RegisterMovieId'
.../openresty/nginx/lua-scripts/wrk2-api/movie/register.lua:36: in function 'RegisterMovie'
content_by_lua(nginx.conf:77):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie/register HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:51 [error] 9#9: *458 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/thrift/TBinaryProtocol.lua:135: bad argument #1 to 'len' (string expected, got userdata)
stack traceback:
coroutine 0:
[builtin:len]: in function 'len'
/usr/local/openresty/lualib/thrift/TBinaryProtocol.lua:135: in function 'writeString'
/gen-lua/media_service_MovieInfoService.lua:186: in function 'write'
/gen-lua/media_service_MovieInfoService.lua:543: in function 'send_WriteMovieInfo'
/gen-lua/media_service_MovieInfoService.lua:525: in function 'WriteMovieInfo'
...penresty/nginx/lua-scripts/wrk2-api/movie-info/write.lua:56: in function 'WriteMovieInfo'
content_by_lua(nginx.conf:91):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie-info/write HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
2023/03/20 11:09:51 [error] 31#31: *427 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/gen-lua/media_service_MovieIdService.lua:326: in function 'recv_RegisterMovieId'
/gen-lua/media_service_MovieIdService.lua:299: in function 'RegisterMovieId'
.../openresty/nginx/lua-scripts/wrk2-api/movie/register.lua:36: in function 'RegisterMovie'
content_by_lua(nginx.conf:77):3: in main chunk, client: 10.32.0.1, server: localhost, request: "POST /wrk2-api/movie/register HTTP/1.1", host: "nginx-web-server.media-microsvcs:8080"
The text was updated successfully, but these errors were encountered:
He-Jingkai
changed the title
Bugs in mediamicroservices
Bugs in mediaMicroservices
Mar 20, 2023
I got some errors while running media-microservices. I used
write_movie_info.py
to initialize it, and I found all "upload_movie_info"(/wrk2-api/movie-info/write) operations failed and 5 in 1000 "upload_plot"("/wrk2-api/plot/write") failed because ofInternal Server Error
.I run it on k8s and used the helm chart.
Logs in nginx:
The text was updated successfully, but these errors were encountered: