Address already in use for headless browser
I use Watir and headless Firefox/Chrome to scrape a website deployed with Hatchbox:
def perform(uid_number)
pool = RandomPort::Pool.new #random_port gem to generate a free port
port_number = poo...
Turtle
posted
1
Servers
How do I configure Rails to use a Proxy URL
Let's say we have a Rails project operating on the domain https://hello.world.com. The way the organization's infrastructure is set up, https://hello.world.com gets proxied into a new URL called -...
Mountaindog
posted
•
Solved
1
Servers
SMTP not relaying SMS text messages
Heya guys, thanks in advance for any assistance on this. I'm getting a weird behavior that just started happening last month. I have a MS Server 2019 (on premise VM) that is setup as a SMTP relay. ...
chetan98
posted
1
Servers
Having problems getting SSL cert w/Rails app from guide:
Hi,
I was following this guide - https://gorails.com/guides/free-ssl-with-rails-and-nginx-using-let-s-encrypt - and i got past the error of
```Package 'python-virtualenv' has no installation cand...
Ryan V
posted
1
Servers
Hatchbox deployment. public/index.html not found
To run staging on your server, make sure you have RAILS_ENV=staging set in the env vars. 👍
Chris Oliver
replied
6
Servers
Serving Assets on Nginx + Passenger Production Deployment
Mind to elaborate more on your issue? What happens if you didn't set `config.assets.compile = true` ? Does the assets not served? Is the stylesheet/ javascript tag correctly placed in views?
Axel Kee
replied
2
Servers
Would love an episode on setting up AnyCable on Heroku
Looks like you need a separate heroku app with shared databases and environment vars.
Andrei A
replied
3
Servers
What's a good way for upgrading a server?
And glad it's been so helpful! This is the community I wish I had a long time ago, so that's great to hear!
Chris Oliver
replied
•
Solved
5
Servers
How should I go about setting up a staging environment on Hatchbox w/ DigitalOcean?
Generally for staging, you can just deploy the app to a single server to save money compared to the production fully load balanced cluster.
Chris Oliver
replied
2
Servers
How do I protect myself against brute-force attacks when using Cockpit server administration?
When using Cockpit, I feel that it opens up a big vulnerability as the browser login allows unlimited attempts to login. Once the brute-force is successful, the attacker will be able to run command...
Yi Mei Wang
posted
1
Servers
Deploy Ruby project on Ubuntu 18.0
Now this above cap file problem has been resolved with the below commands:
group :development do
gem "capistrano", "~> 3.14", require: false ---> make it false
end
$ bundle install
$ bun...
bhavya
replied
2
Servers
How do I know how many threads does my app need?
I'm working on an app that does serves http but also has some parts where ActionCable is used. How do I know how many threads does my app need? Is there a rough number?
How does websocket occupy t...
Yi Mei Wang
posted
1
Servers
Problem deploy with Capistrano
meanwhile, I added gem 'capistrano-ssh-doctor': The error that showed was the following:
:$~ bundle exec cap production ssh:doctor
[Deprecation Notice] `set :scm, :git` is deprecated.
To ensure y...
Bina Darabzand
replied
2
Servers
Followed the deploy instructions; nginx throwing a 500 for rails app
I'm not sure what happened, but I had a production environment/config working with nginx/passenger deployed on Digital Ocean. I am not seeing errors in log files, but nginx is throwing a 500 when I...
Matt Bjornson
posted
•
Solved
1
Servers
How do i deploy NGINX with passenger without installing rails?
Passenger is an Ubuntu Linux package, it will install any dependencies required automatically. You don't have to worry about them.
Chris Oliver
replied
4
Servers
Rails 6.0 + Heroku + Active Storage + VIPS
You're welcome :)
About https://github.com/brandoncc/heroku-buildpack-vips/blob/master/bin/compile#L52. It's more because we don't really know the author and what could contain https://bc-heroku-b...
Nicolas Brousse
replied
8
Servers
Vim is being "killed" by OOM when trying to open prod log
I'm curious as to why this is happening. The server is set up the exact same way as every other server I have yet this is the only one with this issue.
Drew Bragg
replied
3
Servers
Configuring WordPress with Apache and NGINX
With Apache, I am facing slow server issue, I am trying to [Hosting WordPress on NGINX with Apache](https://www.cloudways.com/blog/wordpress-nginx-with-apache/), would it work good for my website o...
Alex Morco
posted
1
Servers
How do I create a new rails application with ubuntu and postgresql
I'm currently trying to create a new rails app. I can easily do this with `rails new app --database=postgresql` but when I change the `database.yml`, I'm using the same user for every application f...
Arnas Klasauskas
posted
1
Servers