selectedpixel
selectedpixel
RRunPod
Created by selectedpixel on 6/2/2025 in #⛅|pods
Connect to Pod via CloudFlare
Hello, I'm attempting to map my Pod's connection URL in my CloudFlare DNS settings but I keep getting this error. CNAME Cross-User Banned | Cloudflare I have attempted this without a proxied connection as well as with a proxied connection, but I get the same error. I want to be able to manage this URL so that I can just replace the existing proxied connection.
3 replies
RRunPod
Created by selectedpixel on 5/29/2025 in #⛅|pods
Whitelist IP for AWS RDS Connection
I'm attempting to connect to a secure RDS connection. I need to whitelist IP addresses in AWS RDS security so that the connection is allowed. Are there any specific IP addresses I can use?
13 replies
RRunPod
Created by selectedpixel on 5/29/2025 in #⛅|pods
Error loading ASGI app. Could not import module "main".
I'm trying to run a Fast API app on a Pod. I've followed this tutorial https://www.runpod.io/articles/guides/deploy-fastapi-applications-gpu-cloud My Docker Image runs locally fine. The container gets created fine on RunPod. However I gett an error message in the Container Logs.
Error loading ASGI app. Could not import module "main".
Error loading ASGI app. Could not import module "main".
If I attempt to override the start CMD then I just get error messages saying a file can't be found, even if I enter the exact same CMD that is in the docker file.
5/29/2025, 6:43:14 AM
[FATAL tini (31)] exec CMD failed: No such file or directory
5/29/2025, 6:43:14 AM
[FATAL tini (31)] exec CMD failed: No such file or directory
This is my Docker FIle
# Use an official PyTorch image with CUDA support as base (contains Python, CUDA, PyTorch)
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime

RUN pip install --upgrade pip

# Install the Python requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy application code
WORKDIR /app
COPY app/ /app/


ENV HF_HOME="/tmp/huggingface/hub"
ENV TOKENIZERS_PARALLELISM=false
ENV TORCH_HOME="app/torch"

# Expose port 8000 (the port our FastAPI app will run on)
EXPOSE 8000

# Specify the entrypoint to run the app with Uvicorn (listening on all interfaces at port 8000)
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8000"]
# Use an official PyTorch image with CUDA support as base (contains Python, CUDA, PyTorch)
FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime

RUN pip install --upgrade pip

# Install the Python requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy application code
WORKDIR /app
COPY app/ /app/


ENV HF_HOME="/tmp/huggingface/hub"
ENV TOKENIZERS_PARALLELISM=false
ENV TORCH_HOME="app/torch"

# Expose port 8000 (the port our FastAPI app will run on)
EXPOSE 8000

# Specify the entrypoint to run the app with Uvicorn (listening on all interfaces at port 8000)
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8000"]
9 replies