Allow dynamic endpoint extensions
I am running a telegram bot api server to handle large files: https://github.com/aiogram/telegram-bot-api
I am successfully able to use the server and use telegram's
getFile
method to retrieve the file location, however when I navigate to the URL (the file is stored on an attached volume) I get a 404 method not allowed error. How can I fix this?GitHub
GitHub - aiogram/telegram-bot-api: Docker image of Telegram Bot API...
Docker image of Telegram Bot API Server. Contribute to aiogram/telegram-bot-api development by creating an account on GitHub.
12 Replies
Project ID:
b6cc7b7c-3baf-4567-8409-a5e9e2b8b080
b6cc7b7c-3baf-4567-8409-a5e9e2b8b080
I also tried listening on the railway internal network with
[::]
but when I make a request to https://railway.internal.domain/
it does not resolve (using aiohttp
in python)
@Brody Any thoughts?
I used the volume file browser and the file is definitely thereI cannot mount to
/etc/*
https://github.com/tdlib/telegram-bot-api original repo
GitHub
GitHub - tdlib/telegram-bot-api: Telegram Bot API server
Telegram Bot API server . Contribute to tdlib/telegram-bot-api development by creating an account on GitHub.
show me the code that is setup to serve the files
found the issue
GitHub
Download files from not local mode · Issue #26 · tdlib/telegram-bot...
The file path is like documents/file_5, but I cant figure out how to download it. It doesn't work like the cloud API suggests, I am getting a 404 not found error then. Am I missing something?
but how would I be able to serve if the volume is mounted to the retriever...
the volume needs to be mounted to the app that is both downloading and serving the files
the app does not support serving when using the
--local
flag, which is what I need
can you mount a volume to two services?you cant
ðŸ˜