R
Railway

βœ‹ο½œhelp

Help with webhooks

Llacrak279/15/2023
Railway doesn't call my webhook, but i can manually call it through postman
Llacrak279/15/2023
@joshmo_dev
i know it is allowed
Llacrak279/15/2023
cuz in postman i get the expected response
Llacrak279/15/2023
also, its not railway's fault
Llacrak279/15/2023
since other webhooks get called
Llacrak279/15/2023
while on mine i just get nothin
Jjoshmo_dev9/15/2023
wait does your /railway endpoint require authorisation?
Llacrak279/15/2023
nope
its literally just the simplest endpoint ever
Mmedim9/15/2023
i may be saying something dumb, but did u setup cors?
Llacrak279/15/2023
i may be the dumb one here...
cors?
Mmedim9/15/2023
πŸ’€
expressJs server?
Llacrak279/15/2023
ah fuck
im dumb
yes lmfao
Mmedim9/15/2023
app.use(
  cors({
    origin: "*",
    methods: ["GET", "POST", "DELETE", "UPDATE", "PUT", "PATCH"],
  })
);

import cors from "cors";
Llacrak279/15/2023
ye ye
god...
my bad lmfao
im dumb
Mmedim9/15/2023
idk if thats gonna solve it tbh
Llacrak279/15/2023
welp, were gonna find out
yep
it works
bro im so dumb
how did i forget
Llacrak279/15/2023
im sorry for wasting y'alls time
i just forgot that was a thing at all
Mmedim9/15/2023
dw
real ones solve each ones dumb questions 🀝
Llacrak279/15/2023
real 🀝
Jjoshmo_dev9/15/2023
github webhooks work even through cors so this was never an issue for me in fairness (since i've never used railway hooks before and assumed it was the same)
Llacrak279/15/2023
yeah, same happened to me, still was a dumb mistake ngl

Looking for more? Join the community!

R
Railway

βœ‹ο½œhelp

Join Server
Recommended Posts
Deleted MySQL DatabaseHow do I recover a deleted database without backup. projectId: e28cd36d-0d6f-4588-a03f-b54a6e97d1Connect to services using Private NetworksProject ID: 1790d4a8-0e32-4b4e-bf67-6ce23d7ae9e1 I'm trying to connect my main project (Node.js) toUpload FilesGood morning, I have 4 gigabytes of image files, my application is connected to Git, and I can't uplFiles on mounted volume not available after redeployI did a fresh deploy of @Brody 's Payload CMS template (https://github.com/brody192/payload-cms-tempCan't manually fill MySQLNone of the options i've tried works. I can still create dbs and populate them when connecting throuReferenced variables are emptyIf I hardcode the url in env variables, the deployment is successful, however using a reference to aSetup a monorepoHey guys, I'm using yarn workspaces and turborepo. I tried setting up the build command to "yarn turCan't start Remotion serverWhenever I try to use the Remotion server it cannot open the browser process and shows me this errorRecover a file inside a deploymentBy mistake I left a sqlite file inside a deployment and made a lot of updates to the database on thaDeployment Failed during build processI'm encountering issues while trying to build my Vue 3 and TypeScript project on Railway using NixpaBuild failing without errorMy build is failing to deploy without any error. Its just saying the container failed to start. The Cloudflare detected but not redirectingI've put the the right dns settings in cloudflare NS into godaddy. see screenshot which should poinFailed to authenticate to mongodbDeploying a MongoDB database from the UI, automatically creates a database named "test" if you connePrivate NPM Registry (GitHub)I'm using Yarn 3, GitHub Packages, and NodeJS. I am testing a deploy with `railway up` and when it gDjango advice neededHello good people, i would like to know how can i get some support for Railway? I started with a basUpdate TypebotHello, how i can update my project of typebot without lose all? i am new user in railwayWho deleted our database?I am writing to inquire about the recent deletion of the MySQL database in our account, we noticed Dockerbuild failes with no matching versionI attached the error and the dockerfile. The dockerfile locally runs withouth error but on railway ifailed opening connection to sql: default addr for networkHi, I am trying to deploy my golang web service which connects to mysql. I have added the mysql url Deploying Meilisearch template does not workI have a running project, If I click on new -> template -> Meili then a new service is created. Howe