bweathers#2023
bweathers#2023
RRailway
Created by bweathers#2023 on 6/8/2024 in #✋|help
Application deployed but server error
I have a rails application which deployed but I get a server error "Application failed to respond". My procfile to port 3000: web: rake db:migrate && bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development} && stripe listen This has not changed since our last deployment? our staging environment is also 3000 and works Suggestions?
8 replies
RRailway
Created by bweathers#2023 on 6/5/2024 in #✋|help
deployment error
#12 60.96 curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104 #12 ERROR: process "/bin/bash -ol pipefail -c curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash -s stable && printf '\neval "$(~/.rbenv/bin/rbenv init -)"' >> /root/.profile && . /root/.profile && rbenv install 3.2.2 && rbenv global 3.2.2 && gem install bundler:2.4.17" did not complete successfully: exit code: 56 -----
[stage-0 8/20] RUN curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash -s stable && printf '\neval "$(~/.rbenv/bin/rbenv init -)"' >> /root/.profile && . /root/.profile && rbenv install 3.2.2 && rbenv global 3.2.2 && gem install bundler:2.4.17:
60.96 curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104 ----- Dockerfile:21 ------------------- 19 | # setup phase 20 | ENV NIXPACKS_PATH $HOME/.rbenv/bin:$NIXPACKS_PATH 21 | >>> RUN curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash -s stable && printf '\neval "$(~/.rbenv/bin/rbenv init -)"' >> /root/.profile && . /root/.profile && rbenv install 3.2.2 && rbenv global 3.2.2 && gem install bundler:2.4.17 22 | 23 | # install phase ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash -s stable && printf '\neval "$(~/.rbenv/bin/rbenv init -)"' >> /root/.profile && . /root/.profile && rbenv install 3.2.2 && rbenv global 3.2.2 && gem install bundler:2.4.17" did not complete successfully: exit code: 56 Error: Docker build failed
3 replies
RRailway
Created by bweathers#2023 on 2/15/2024 in #✋|help
Password
where / how do I change my railway password?
6 replies
RRailway
Created by bweathers#2023 on 2/12/2024 in #✋|help
deployment with new dashboard
So I have a rails application which I just switched the branch connection after my most recent update. After switching the branch I get a deployment button in the top left of the dashboard. However, I needed to migrate the database with I did in the CLI for the environemt. After running railway up, which seems to have deployed correctly, the button still appears. I pushed the button and it seems to be redeploing. The question is: do I need to reploy twice given that I needed to make changes on the CLI?
21 replies
RRailway
Created by bweathers#2023 on 2/9/2023 in #✋|help
rails gem 'wicked_pdf' not working on railway it is dependent on "wkhtmltopdf-binary" gem
So I am trying to get a pdf generator gem working call 'wicked_pdf'. It is dependent on another gem which call gem "wkhtmltopdf-binary". This works in development but not production. There is a gem specifically for Heroku called gem "wkhtmltopdf-heroku". It does not work either. "wkhtmltopdf is an open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine"
15 replies
RRailway
Created by bweathers#2023 on 1/30/2023 in #✋|help
to many redirects with Cloudflare
I have a rails app and I am using Cloudflare for the DNS records. I am getting a too many redirect error when the user signs in the app. This is and intermittent problem and can occur even if the user is signing in on a new system and browser. I have the SSL/TLS encryption mode set to Full as recommended in another post regarding Cloudflare, the error seems to be similar as noted in the post here on the railway discord, however setting the SSL/TLS to full does not seem to do the trick. Our app is rails 7 with ruby 2.7
6 replies
RRailway
Created by bweathers#2023 on 12/14/2022 in #✋|help
AWS s3 - not loading pdf's to Railway production - Rails app
I am new to railway. I am also new to using AWS in production. This is a rails 7 app; I am using AWS S3 for storage both in development and production on Railway. I am storing both images and pdf's. In local development both images and pdf's will load to the view from AWS but on railway only the images will load. Both images and pdf's use a turbo frame to lazy load the files. As a quick test I have tried using local storage with the railway production app, again the same thing where the image will display but the pdf will not.
4 replies
RRailway
Created by bweathers#2023 on 12/8/2022 in #✋|help
rails pdf render issue related to AWS S3 retrieval
I am using aws s3 for storage of images, some are pdf's and some are jpg. Locally retrieval works fine. But in production, on Railways the retrieval of PDFs is not working, or at least they are not rendered in the view. The error message I am getting in the view is "error with image code". The Railway logs show the retrieval from AWS has occurred as normal, but they are rendered in the view. The view of pdf's depends on gems related to poppler for pdf's. The deployment logs seem the indicate the gems have installed successfully. As a side note things were working using Cloudinary but that was on heroku before switching to Railway. Could this be a rails CORS issue? Our gem issue?
6 replies
RRailway
Created by bweathers#2023 on 12/1/2022 in #✋|help
railway team discord account
How do I access my team discord??
24 replies
RRailway
Created by bweathers#2023 on 11/23/2022 in #✋|help
project id
how do you find the project id
8 replies