Slackbot
09/06/2023, 1:37 PMJian Shen Yap
09/07/2023, 1:28 AMAytunc Tunay
09/07/2023, 6:41 AMTraceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1076, in _send_output
self.send(chunk)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 998, in send
self.sock.sendall(data)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1237, in sendall
v = self.send(byte_view[count:])
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1206, in send
return self._sslobj.write(data)
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2396)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='<http://yatai-dev.dev-solity.net|yatai-dev.dev-solity.net>', port=443): Max retries exceeded with url: /api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bentoml", line 8, in <module>
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/utils.py", line 362, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/utils.py", line 333, in wrapper
return_value = func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/utils.py", line 290, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/decorators.py", line 38, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/bentos.py", line 287, in push
cloud_client.push_bento(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 78, in push_bento
self._do_push_bento(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/simple_di/__init__.py", line 139, in _
return func(*_inject_args(bind.args), **_inject_kwargs(bind.kwargs))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 119, in _do_push_bento
list(futures)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
return fut.result(timeout)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 110, in push_model
self._do_push_model(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 699, in _do_push_model
raise e
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 690, in _do_push_model
yatai_rest_client.upload_model(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/client.py", line 377, in upload_model
resp = self.session.put(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 647, in put
return self.request("PUT", url, data=data, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='<http://yatai-dev.dev-solity.net|yatai-dev.dev-solity.net>', port=443): Max retries exceeded with url: /api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))Aytunc Tunay
09/07/2023, 6:42 AMAytunc Tunay
09/08/2023, 6:39 AMJian Shen Yap
09/08/2023, 10:26 AMXipeng Guan
09/08/2023, 10:33 AMecho $(bentoml yatai current-context | jq -r '.endpoint')/api/v1/info
2. Manually request the Yatai endpoint:
curl $(bentoml yatai current-context | jq -r '.endpoint')/api/v1/info
If the second step request fails, it means there is an issue with the SSL certificate configuration.Aytunc Tunay
09/11/2023, 9:45 AM➜ bentoml bentoml yatai login --api-token afagagagaasdsa --endpoint <https://yatai-dev.dev-solity.net>
Overriding existing cloud context config: default
Successfully logged in to Cloud for dev-admin in default
➜ bentoml echo $(bentoml yatai current-context | jq -r '.endpoint')/api/v1/info
<https://yatai-dev.dev-solity.net/api/v1/info>
➜ bentoml curl $(bentoml yatai current-context | jq -r '.endpoint')/api/v1/info
{"is_saas":false,"saas_domain_suffix":""}%
➜ bentomlAytunc Tunay
09/11/2023, 9:45 AMXipeng Guan
09/11/2023, 9:51 AMAytunc Tunay
09/11/2023, 10:02 AMUploading model "summarization:pdgwjysl6celxvxi" ━━━━ 3.0% • 0.0/… • 1.1 • 0:18:…
GB MB/s
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1076, in _send_output
self.send(chunk)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 998, in send
self.sock.sendall(data)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1237, in sendall
v = self.send(byte_view[count:])
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1206, in send
return self._sslobj.write(data)
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2396)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='<http://yatai-dev.dev-solity.net|yatai-dev.dev-solity.net>', port=443): Max retries exceeded with url: /api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/bentoml", line 8, in <module>
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/utils.py", line 362, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/utils.py", line 333, in wrapper
return_value = func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/utils.py", line 290, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/decorators.py", line 38, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml_cli/bentos.py", line 287, in push
cloud_client.push_bento(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 78, in push_bento
self._do_push_bento(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/simple_di/__init__.py", line 139, in _
return func(*_inject_args(bind.args), **_inject_kwargs(bind.kwargs))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 119, in _do_push_bento
list(futures)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
return fut.result(timeout)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 110, in push_model
self._do_push_model(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 699, in _do_push_model
raise e
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/bentocloud.py", line 690, in _do_push_model
yatai_rest_client.upload_model(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/bentoml/_internal/cloud/client.py", line 377, in upload_model
resp = self.session.put(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 647, in put
return self.request("PUT", url, data=data, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='<http://yatai-dev.dev-solity.net|yatai-dev.dev-solity.net>', port=443): Max retries exceeded with url: /api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:2396)')))Xipeng Guan
09/11/2023, 10:09 AMcurl -I <https://yatai-dev.dev-solity.net/api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload>Aytunc Tunay
09/11/2023, 10:17 AM➜ bentoml curl -I <https://yatai-dev.dev-solity.net/api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload>
HTTP/2 404
date: Mon, 11 Sep 2023 10:15:38 GMT
content-type: application/json; charset=utf-8
content-length: 52
strict-transport-security: max-age=15724800; includeSubDomainsAytunc Tunay
09/12/2023, 9:16 AMXipeng Guan
09/12/2023, 9:20 AMAytunc Tunay
09/12/2023, 9:22 AMbentoml curl -X POST <https://yatai-dev.dev-solity.net/api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload>
{"message":"not found this router with method POST"}%Xipeng Guan
09/12/2023, 9:24 AMAytunc Tunay
09/12/2023, 9:26 AMAytunc Tunay
09/14/2023, 10:10 AMXipeng Guan
09/14/2023, 10:43 AMAytunc Tunay
09/14/2023, 10:48 AMXipeng Guan
09/14/2023, 10:50 AMAytunc Tunay
09/14/2023, 10:58 AMXipeng Guan
09/14/2023, 11:05 AMAytunc Tunay
09/14/2023, 11:07 AMXipeng Guan
09/14/2023, 11:07 AMcurl -X PUT <https://yatai-dev.dev-solity.net/api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload>Aytunc Tunay
09/14/2023, 11:07 AMXipeng Guan
09/14/2023, 11:08 AMAytunc Tunay
09/14/2023, 11:09 AMbentoml curl -X PUT <https://yatai-dev.dev-solity.net/api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload>
{"message":"username in cookie is empty"}%Xipeng Guan
09/14/2023, 11:11 AMcurl -H 'X-YATAI-API-TOKEN: xxxx' -X PUT <https://yatai-dev.dev-solity.net/api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload>Aytunc Tunay
09/14/2023, 11:12 AMAytunc Tunay
09/14/2023, 11:15 AMXipeng Guan
09/14/2023, 11:23 AMcurl -H 'X-YATAI-API-TOKEN: xxxx' -H 'Content-Type: application/octet-stream' --data-binary @model.tar -f -X PUT <https://yatai-dev.dev-solity.net/api/v1/model_repositories/summarization/models/pdgwjysl6celxvxi/upload>Aytunc Tunay
09/14/2023, 11:37 AMXipeng Guan
09/14/2023, 11:38 AMAytunc Tunay
09/14/2023, 11:42 AMXipeng Guan
09/14/2023, 11:43 AMAytunc Tunay
09/14/2023, 11:47 AMAytunc Tunay
09/14/2023, 11:47 AMXipeng Guan
09/14/2023, 11:48 AMAytunc Tunay
09/14/2023, 11:49 AMXipeng Guan
09/14/2023, 11:51 AM