2 years ago
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?
15 Replies
I also tried listening on the railway internal network with [::] but when I make a request to [https://railway.internal.domain/](https://railway.internal.domain/) it does not resolve (using aiohttp in python)
https://github.com/tdlib/telegram-bot-api original repo
2 years ago
show me the code that is setup to serve the files
2 years ago
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
2 years ago
you cant