Slackbot
02/16/2023, 2:45 PMJiri Suchomel
02/16/2023, 2:46 PM2023-02-16 14:38:54,050 - bentoml._internal.server.http_app - ERROR - Exception on /logo_image_classifier/predict [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/bentoml/_internal/server/http_app.py", line 336, in api_func
output = await run_in_threadpool(api.func, input_data)
File "/usr/local/lib/python3.7/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "/usr/local/lib/python3.7/site-packages/anyio/to_thread.py", line 32, in run_sync
func, *args, cancellable=cancellable, limiter=limiter
File "/usr/local/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/home/bentoml/bento/src/service.py", line 86, in logo_image_classifier_predict
return _invoke_runner(models["logo_image_classifier"], "run", input)
File "/home/bentoml/bento/src/service.py", line 66, in _invoke_runner
result = getattr(runner, name).run(*input_npack)
File "/usr/local/lib/python3.7/site-packages/bentoml/_internal/runner/runner.py", line 52, in run
return self.runner._runner_handle.run_method(self, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/bentoml/_internal/runner/runner_handle/remote.py", line 266, in run_method
*args,
File "/usr/local/lib/python3.7/site-packages/anyio/from_thread.py", line 49, in run
return asynclib.run_async_from_thread(func, *args)
File "/usr/local/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 970, in run_async_from_thread
return f.result()
File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 435, in result
return self.__get_result()
File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/usr/local/lib/python3.7/site-packages/bentoml/_internal/runner/runner_handle/remote.py", line 186, in async_run_method
"Yatai-Bento-Deployment-Namespace": component_context.yatai_bento_deployment_namespace,
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1141, in __aenter__
self._resp = await self._coro
File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 560, in _request
await resp.start(conn)
File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/usr/local/lib/python3.7/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
Jiri Suchomel
02/16/2023, 2:47 PMJiri Suchomel
02/16/2023, 2:47 PMJiri Suchomel
02/16/2023, 2:52 PMsauyon
02/16/2023, 8:30 PMJiri Suchomel
02/16/2023, 9:22 PMJiri Suchomel
02/22/2023, 8:37 AMJiri Suchomel
02/22/2023, 8:39 AMSudeep Ghimire
03/13/2023, 4:49 PMJiri Suchomel
03/13/2023, 6:21 PMJiri Suchomel
03/14/2023, 10:10 AM