backend.ai run -c 'print("hello world!")' python 명령어 실행시 BackendAPIError: 401 Unauthorize #73
Unanswered
eunjungchoi
asked this question in
Q&A
Replies: 1 comment 1 reply
-
클라이언트 실행 경로에서 (client-py) source my-backend-ai-session.sh를 한번 입력해줍니다. 기존의 api모드(my-backend-ai.sh)에서 세션 모드로 사용을 하겠다는 의미입니다. 그 후에는 backend.ai login을 통해 발급받은 아이디 비번으로 로그인하시고 다시 실행해주시면 됩니다. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
backend.ai-dev/client-py 디렉터리에서
$ backend.ai run -c 'print("hello world!")' python <= 명령어 실행시 에러가 납니다.
(에러 메시지는 다음과 같습니다. )
∙ Session token prefix: pysdk-44fbed3418
∙ In the legacy mode, all cases will run serially!
✘ BackendAPIError: 401 Unauthorized
Credential/signature mismatch.
그 전에 다른 부분들은 모두 설치가 완료되어 서버가 잘 동작합니다.
$ python -m ai.backend.agent.server --debug
$ python -m ai.backend.manager.server
$ python -m ai.backend.web.server
$ python -m ai.backend.storage.server
(agent)
(manager)
(webserver)
(storage)
Beta Was this translation helpful? Give feedback.
All reactions