Deployment keeps failing due to sagemaker.config error

ambareeshavTRIAL

7 months ago

I am trying to deploy my fastapi backend and it was running fine yesterday morning(the 4th), but when I made a few updates and tried deploying it in the evening it keeps running into this same error:

container event container restart

sagemaker.config INFO - Not applying SDK defaults from location: /etc/xdg/sagemaker/config.yaml

sagemaker.config INFO - Not applying SDK defaults from location: /root/.config/sagemaker/config.yaml

container event container died

container event container died

sagemaker.config INFO - Not applying SDK defaults from location: /etc/xdg/sagemaker/config.yaml

sagemaker.config INFO - Not applying SDK defaults from location: /root/.config/sagemaker/config.yaml

container event container died

sagemaker.config INFO - Not applying SDK defaults from location: /etc/xdg/sagemaker/config.yaml

sagemaker.config INFO - Not applying SDK defaults from location: /root/.config/sagemaker/config.yaml

This is the requirements.txt:, of my backend if that helps:
apify_client

composio_core

composio_crewai

crewai

fastapi

groq

jose

litellm

openai

passlib

pydantic

python-dotenv

python_jose

selenium

vercel_kv_sdk

youtube_transcript_api

EDIT - scoured through my earlier deployments and it was a later version of crewai causing the issue, have fixed it since. Do close this support request

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies

Deployment keeps failing due to sagemaker.config error - Railway Help Station