R
Railway

✋|help

Internal server error when accessing Typebot

Cclaudiobalbino8/25/2023
I noticed that since yesterday the new installations with the Typebot template present the error Internal server error when trying to access the url of the builder. Problem also reported by several users who used my referral link.

Using Detected Dockerfile

context: bf048ee8b6da4f93788806cc790756d5

ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cclaudiobalbino8/25/2023
4d977139-3a8b-4a74-8dd8-44f9e989efbc
https://github.com/Aravindha1234u/typebot-railway/issues/2
@T3cH_W1z4rD
Tt3ch_w1z4rd8/25/2023
I will try to reproduce this issue but can you give me more insight what is the issue?
you are saying many user has issues using your referral link? did you try to replicate my template and that is causing issue? I didn't understand the actual problem
Cclaudiobalbino8/25/2023
today this message is highlighted in the log

dockerfilePath is only compatible with the Dockerfile constructor
no that said people who used my Railway referral link reported the same problem to me, because I recently made the video showing how to install Typebot on Railway using the template
Tt3ch_w1z4rd8/25/2023
yes I just saw the video but you didn't the issue if that's not the case here? were you getting the same issue
if its something related to Docker daemon I guess it should platform issue @Angelo @Brody can you help here?
Cclaudiobalbino8/25/2023
this is the log of my installation
Cclaudiobalbino8/25/2023
previously it was ok, yesterday after they reported to me i created a new install and learned the error for me as well
Cclaudiobalbino8/25/2023
BBrody8/25/2023
the docker deamon error was an incident with railway, but that's since been resolved
Cclaudiobalbino8/25/2023
I installed a new Typebot, following your message, but the problem remains when trying to access the builder url it shows Internal Server Error
BBrody8/25/2023
yeah the internal server error has nothing to do with the docker error you received earlier and this would be an issue with the template
@T3cH_W1z4rD - you're up! 🙂
Cclaudiobalbino8/25/2023
BBrody8/25/2023
okay, I'll let tech wizard take it from here
Tt3ch_w1z4rd8/25/2023
There is no error in this log. is it running now properly ?
Cclaudiobalbino8/25/2023
the problem remains >>> Internal Server Error


TypeError [ERR_INVALID_URL]: Invalid URL

at new NodeError (node:internal/errors:405:5)

at new URL (node:internal/url:611:13)

at parseUrl (/app/node_modules/.pnpm/next-auth@4.22.1_next@13.4.3_nodemailer@6.9.3_react-dom@18.2.0_react@18.2.0/node_modules/next-auth/utils/parse-url.js:17:16)

at Object.<anonymous> (/app/node_modules/.pnpm/next-auth@4.22.1_next@13.4.3_nodemailer@6.9.3_react-dom@18.2.0_react@18.2.0/node_modules/next-auth/react/index.js:72:34)

at Module._compile (node:internal/modules/cjs/loader:1256:14)

at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)

at Module.load (node:internal/modules/cjs/loader:1119:32)

at Module._load (node:internal/modules/cjs/loader:960:12)

at Module.require (node:internal/modules/cjs/loader:1143:19)

at require (node:internal/modules/cjs/helpers:110:18) {

input: 'https://';,

code: 'ERR_INVALID_URL'

}
@T3cH_W1z4rD I believe that if you install a new Typebot you will observe this problem
builder-production-ddf4.up.railway.app
BBrody8/25/2023
please show us a screenshot of the service variables please
Cclaudiobalbino8/25/2023
now the log is complete
Cclaudiobalbino8/25/2023
'''ADMIN_EMAIL=claudioXXXXXX@XXXXXXXX.com
DATABASE_URL=${{Postgres.DATABASE_URL}}
ENCRYPTION_SECRET=9tdv-8z19o5n1e_1yox6@cmnaqhyj96n
NEXTAUTH_URL=https://${{RAILWAY_SERVICE_BUILDER_URL}}
NEXT_PUBLIC_SMTP_FROM=${{SMTP_USERNAME}}
NEXT_PUBLIC_VIEWER_URL=https://${{RAILWAY_SERVICE_VIEWER_URL}}
PGDATABASE=${{Postgres.PGDATABASE}}
PGHOST=${{Postgres.PGHOST}}
PGPASSWORD=${{Postgres.PGPASSWORD}}
PGPORT=${{Postgres.PGPORT}}
PGUSER=${{Postgres.PGUSER}}
PORT=8080
SMTP_AUTH_DISABLED=false
SMTP_HOST=smtp.sendgrid.net
SMTP_PASSWORD=SG.4dOZC3eaS6G7G40Rv54KEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USERNAME=apikey'''
BBrody8/25/2023
please enclose all code type text in triple backticks
Cclaudiobalbino8/25/2023
sorry but i didn't understand
Tt3ch_w1z4rd8/25/2023
is the issuer in builder or viewer ?
Cclaudiobalbino8/25/2023
builder
Cclaudiobalbino8/25/2023
Cclaudiobalbino8/25/2023
Project ID

422ffb9b-1326-4f64-a3f0-a9ae5b2cc79b
Tt3ch_w1z4rd8/25/2023
I am looking into this issue. give me few minutes
Cclaudiobalbino8/25/2023
Great thank you
Tt3ch_w1z4rd8/25/2023
@Brody I have question
did service discovery environment variable stopped working ?
Tt3ch_w1z4rd8/25/2023
Builder and Viewers are service with domain linked but there variable aren't working
DATABASE_URL=${{Postgres.DATABASE_URL}}
ENCRYPTION_SECRET=${{builder.ENCRYPTION_SECRET}}
NEXTAUTH_URL=${{RAILWAY_SERVICE_BUILDER_URL}}
NEXT_PUBLIC_VIEWER_URL=${{RAILWAY_SERVICE_VIEWER_URL}}
PGDATABASE=${{Postgres.PGDATABASE}}
PGHOST=${{Postgres.PGHOST}}
PGPASSWORD=${{Postgres.PGPASSWORD}}
PGPORT=${{Postgres.PGPORT}}
PGUSER=${{Postgres.PGUSER}}
PORT=8081


Inside service I get
NEXT_PUBLIC_VIEWER_URL=
NEXT_PUBLIC_VIEWER_URL=
NEXT_PUBLIC_E2E_TEST=
NEXT_PUBLIC_VIEWER_URL=
BBrody8/25/2023
go raw edit the viewers raw env, save it, and let it rebuild
Tt3ch_w1z4rd8/25/2023
Yes now variables has value. so need time to get domain assigned and populate the value ?
BBrody8/25/2023
this is a known issue and will be tackled within the next few weeks
or so im told
Cclaudiobalbino8/25/2023
@T3cH_W1z4rD @Brody my dear, I'm not a developer, so if you can explain to me what I should do to solve it here, I'll be grateful
Tt3ch_w1z4rd8/25/2023
I did find the root cause but didn't find the solution
7days before typebot has updated their docker image to pull environment variables from specific file and before this release it wasn't like this. so I am trying to fix it
Cclaudiobalbino8/25/2023
correct @T3cH_W1z4rD ... yes before it was working perfectly
BBrody8/25/2023
please chill with the pings #🛂|readme #5
if you are going to ping prefix it with @silent like i did when i pinged tech wizard
Tt3ch_w1z4rd8/25/2023
@Claudio Balbino can you try to sync the repo to latest or delete the project and deploy it again
Cclaudiobalbino8/25/2023
created a new Typebot... it worked perfectly 👏👏👏
Tt3ch_w1z4rd8/25/2023
that what's template fault it was with the code change that they released. I can we can close this thread as well.
@Brody
I taught @slient was some kind of feature of discord nevermind it didn't work as expected
BBrody8/25/2023
it is, don't know what went wrong, no worries though
locking thread now!
thanks for getting this fixed 🙂

Looking for more? Join the community!

Recommended Posts
RAILWAY_PUBLIC_DOMAIN replaces RAILWAY_STATIC_URLHi team, we've been hunting down a bug with our app today, occurring on many PR Environments and it'My Subscription issueHello dear support guys: I found that I have been downgraded to No Subscription.. If my memory is rIs it normal for hello world json to return in 600ms? - GO FIBERHelp setting up a monorepoI'm getting this error when deploying my project. I made sure no other deployments are running, but Deployment and logging issues (Maven)Hello, My program is running fine locally, but when I deploy it with Railway, I start seeing issuesIssues with Postgres DBI don't really understand why I am not seeing any tables in my DB. Seeding works, but the database sversion 'GLIBC 2.29' not foundweird error that seems to be because of my code, but it works on my computer <:bing_shrug:5837915814Use rust nightlyidk how docker works but i cant use the nightly rust dockerfile image for some reasonFix Missing libuuid LibraryHey, I am currently runnig into problems deploying my FastAPI backend after adding a new dependency I can no longer connect to my MySQL database, even after restarting the databaseI'm not sure what my project id is. My link is this: https://railway.app/project/31b9ee92-06cc-44c1-RPC showing forbidden access 403Hi. I've got some crypto related script which pings an RPC server - it works fine locally but on raiHow would I connect my project with the SQL database ?I have a model for users and I would like to populate my production DB with them. How can I do that?Hipaa/socI wanted to confirm if the information on https://railway.app/help is current as the email listed boMemory consumption differenceSame app deployed in docker local and Hw(M1 16gb) consumes 52 mb with no load railway took 74mb can Nextjs 13 Environmental variableHello! I recently installed Nextjs to try out the "new" app directory, because I heard server actioRailway CLI postgresql not installed?I installed the CLI and postgresql on my computer to use pgloader to migrate a mysql db to postgres How do I hook up my frontend correctly./I am able to deploy my backend but my frontend is not working yet. Error: ``` #8 [4/5] RUN npm ruStyling bug on project service usage pageIs there a way I can have Railway restart manually every 2 hours?Pretty self explanatory, I’m running some js codePostgres, Aspnet Core API and Angular WebguiHi guys. I'm new here and getting to know railway! I find it fantastic for us. I am lost. I would l