webhook outdated docs and issues


First of,
this documentation seems outdated.

I'm trying to use a webhook on my telegram bot app with wallet pay.

The wrapper I'm using is this:
It by default listens on port 9123

When this didn't work I also saw this:

So I created PORT variable with 9123 value.


This is my expected webhook path

But no idea if when I select PORT 9123 in railway enviromental variables what I'm really doing is redirecting it to another port, this is not what I want.

Please help, I'm also talking with wallet pay support, but if you can at least clarify my confusion with webhooks and PORT
your app sits behind a proxy, that is the ip of railways proxy, you'll need to trust the proxy's X-Forwarded-For header
Jump to solution
I see the issue.

You are redirecting the IP.

INFO:root:Incoming webhook from

INFO:root:IP not allowed

INFO:root:Incoming webhook from

INFO:root:IP not allowed

I need to white list the original IP so I need to know where it's originating from.
You see, I need to whitelist these:
your app sits behind a proxy, that is the ip of railways proxy, you'll need to trust the proxy's X-Forwarded-For header
Alright, I got it
thank you

Looking for more? Join the community!

Recommended Posts
Configure GitHub PATHow do I configure my GitHub PAT (Personal Access token) while deploying my nestJS app on railway?How can I SSH into my CLI application?Hello, I have an CLI python app deployed but I need to connect to the service. I couldnt find how. IPostgres pricing questionsI'm starting to index a few data to my railway postgres. I need to clarify a few questions: 1. WhaDashboard: View cost by service is brokenI think postgres should be a new row?Memory not released even after postgres table droppedHello. Project ID: 6dee0732-68aa-4ae0-a472-7d02880e238a I created a table on 19th August and then Can only view 100 lines of logsI can only see the last 100 lines fo the logs in log viewer I have opted in to "priority boarding"Unexpected crash - Rust crashes after building with libgssapi-krb5 referenceHey, first time posting an error - my Railway deployment is crashing with the following error: erroDocker Service CRON Restart?Hi guys, i have a single docker service running. I'd like to restart this service periodically via tCan't set a private project to publicWhenever I try to set a private project to public, I get the error "All services in a public projectcan railway forward traffic to a self signed web application?i'm deploying an application and for some reason it needs to use self signed certificate, could railPrisma timeoutI am trying to use a fairly large query with Prisma and get `Timed out fetching a new connection frI want to run AirbyteI would like to use an ETL and I heard that Airbyte is good so I'm trying to set it up as a service NestJS application doesn't startHi, I'm trying to deploy a NestJS app but it gets stuck on a loop trying to start the server. I thiSQLite DatabaseIm trying to deplay a discord bot that uses an sqlite database. Ive created a persistent volume for About storageHello I'm newbie here, i just wanted to know how much storage will i have with the hobby plan?, I anode_modulesI'm trying to deploy using my build script. The build script consist in install normally the packageDefault Express template fails to deployHi, I've tried to deploy the ExpressJS template with no modifications, but am getting errors. Thx foQuestions about pricing for my customersHi, I'm planning to open a web agency and use Railway to deploy our customers' websites. Each customRailway IPv4Guys, does Railway "exports" IPv4 to another service allow its usage permission? I'm using a Redis s[PHP] Route all requests to index.phphttps://twitter.com/Shpigford/status/1693092242943025554