Internal server error when accessing Typebot

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?
41 Replies
Percy
Percy16mo ago
Project ID: 4d977139-3a8b-4a74-8dd8-44f9e989efbc
Claudio Balbino
Claudio BalbinoOP16mo ago
4d977139-3a8b-4a74-8dd8-44f9e989efbc
Claudio Balbino
Claudio BalbinoOP16mo ago
GitHub
Internal Server Error · Issue #2 · Aravindha1234u/typebot-railway
Hi @Aravindha1234u Some people who watched a content on YouTube where I show the installation of Typebot on Railway reported that it is showing the error Internal Server Error when accessing the bu...
Claudio Balbino
Claudio BalbinoOP16mo ago
@T3cH_W1z4rD
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
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
Claudio Balbino
Claudio BalbinoOP16mo ago
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
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
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?
Claudio Balbino
Claudio BalbinoOP16mo ago
this is the log of my installation
Claudio Balbino
Claudio BalbinoOP16mo ago
previously it was ok, yesterday after they reported to me i created a new install and learned the error for me as well
Claudio Balbino
Claudio BalbinoOP16mo ago
Brody
Brody16mo ago
the docker deamon error was an incident with railway, but that's since been resolved
Claudio Balbino
Claudio BalbinoOP16mo ago
I installed a new Typebot, following your message, but the problem remains when trying to access the builder url it shows Internal Server Error
Brody
Brody16mo ago
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! 🙂
Brody
Brody16mo ago
okay, I'll let tech wizard take it from here
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
There is no error in this log. is it running now properly ?
Claudio Balbino
Claudio BalbinoOP16mo ago
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/[email protected][email protected][email protected][email protected][email protected]/node_modules/next-auth/utils/parse-url.js:17:16)  at Object.<anonymous> (/app/node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/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
Brody
Brody16mo ago
please show us a screenshot of the service variables please
Claudio Balbino
Claudio BalbinoOP16mo ago
now the log is complete
Claudio Balbino
Claudio BalbinoOP16mo ago
'''[email protected] 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'''
Brody
Brody16mo ago
please enclose all code type text in triple backticks
Claudio Balbino
Claudio BalbinoOP16mo ago
sorry but i didn't understand
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
is the issuer in builder or viewer ?
Claudio Balbino
Claudio BalbinoOP16mo ago
builder
Claudio Balbino
Claudio BalbinoOP16mo ago
Claudio Balbino
Claudio BalbinoOP16mo ago
Project ID 422ffb9b-1326-4f64-a3f0-a9ae5b2cc79b
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
I am looking into this issue. give me few minutes
Claudio Balbino
Claudio BalbinoOP16mo ago
Great thank you
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
@Brody I have question did service discovery environment variable stopped working ?
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
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
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=
NEXT_PUBLIC_VIEWER_URL=
NEXT_PUBLIC_VIEWER_URL=
NEXT_PUBLIC_E2E_TEST=
NEXT_PUBLIC_VIEWER_URL=
Brody
Brody16mo ago
go raw edit the viewers raw env, save it, and let it rebuild
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
Yes now variables has value. so need time to get domain assigned and populate the value ?
Brody
Brody16mo ago
this is a known issue and will be tackled within the next few weeks or so im told
Claudio Balbino
Claudio BalbinoOP16mo ago
@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
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
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
Claudio Balbino
Claudio BalbinoOP16mo ago
correct @T3cH_W1z4rD ... yes before it was working perfectly
Brody
Brody16mo ago
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
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
@Claudio Balbino can you try to sync the repo to latest or delete the project and deploy it again
Claudio Balbino
Claudio BalbinoOP16mo ago
created a new Typebot... it worked perfectly 👏👏👏
t3ch_w1z4rd
t3ch_w1z4rd16mo ago
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
Brody
Brody16mo ago
it is, don't know what went wrong, no worries though locking thread now! thanks for getting this fixed 🙂
Want results from more Discord servers?
Add your server