digital-ocean

Elasticsearch clustering behind UFW firewall

给你一囗甜甜゛ 提交于 2019-12-07 03:46:13
问题 I have an Elasticsearch cluster running on two different Digital Ocean droplets. They are both set up for private networking, an I have a Mongo DB replica set running just fine with UFW rules set up to only accept connections on the relevant ports from the droplets' specific (private) IP addresses. However I am not able to get a green Elasticsearch cluster health using the same method, only yellow. This means that the nodes are not able to connect to each other. In elasaticsearch.yml (on both

Meteor app deployed to Digital Ocean stuck at 100% CPU and OOM

烈酒焚心 提交于 2019-12-06 18:38:06
问题 I have a Meteor (0.8.0) app deployed using Meteor Up to Digital Ocean that's been stuck at 100% CPU, only to crash with out of memory, and start up again at 100% CPU. It's been stuck like this for the past 24 hours. The weird part is nobody is using the server and meteor.log isn't showing much clues. I've got MongoHQ with oplog for the database. Digital Ocean specs: 1GB Ram 30GB SSD Disk New York 2 Ubuntu 12.04.3 x64 Screenshot showing issue: Note that the screenshot was captured yesterday

openjdk: how to add site to exception list

被刻印的时光 ゝ 提交于 2019-12-06 17:06:02
问题 I would like to run an applet on my server and currently it is being blocked by Java security. On my development machine I was able to open control panel and to add a site to the exception list but now on my production server I don't have connected display. Is there any conf file I could use? I don't mind moving to different JAVA vendor. Thanks 回答1: You can add your sites at this file; ${user.home}/.java/deployment/security/exception.sites Every url should be in separate line. To log/trace

How do I test a ClusterIssuer solver?

房东的猫 提交于 2019-12-06 16:25:34
问题 I'm attempting to deploy a Kubernetes cluster with an SSL certificate using LetsEncrypt on DigitalOcean. I followed these instructions, and everything works right up until the challenge order is created by the ClusterIssuer. Then I get this error: cert-manager/controller/orders "msg"="Failed to determine the list of Challenge resources needed for the Order" "error"="no configured challenge solvers can be used for this challenge" "resource_kind"="Order" "resource_name"="letsencrypt-prod-cert

How can I deploy Meteor app in DigitalOcean Meteor up: Error response from daemon: No such container

孤街浪徒 提交于 2019-12-06 15:40:11
I have finished developing my application in meteor and I want to deploy it to the web from DigitalOcean with Meteor up. I have read some documentation to understand the steps to follow. http://meteortips.com/deployment-tutorial/digitalocean-part-1/ Then configure the mup.js with the data that DigitalOcean delivers. I run the mup setup command, there is no problem here, it installs Docker, Meteor, Mongo. But when I run the mup deploy command, the terminal shows me the following error message. This container I think has to do with Docker, I really do not know. I would like someone to explain

Need help getting my ssh keys to work on a digital ocean droplet

夙愿已清 提交于 2019-12-06 14:40:48
When creating the new droplet I check the SSH option and paste my public key (that works fine on my AWS) Droplet but unable to login to new droplet. Both instances are using ubuntu. From reading the documentation, I understand that if SSH keys are provide at the creation of an instance, no email with root password is sent. Not sure why I am being prompted for password. Assistance would be appreciated. here is the session on my attempt to login: TLOMBARD-M-T8T8:.ssh tlombard$ ssh root@107.170.209.13 The authenticity of host '107.170.209.13 (107.170.209.13)' can't be established. ECDSA key

How to start faye server on a rails app deployed using dokku?

↘锁芯ラ 提交于 2019-12-06 12:47:54
问题 I've hosted my rails application on Digitalocean using Dokku. There's this need for my application to run real-time applications through Faye. I've been trying several ways like the shoreman plugin for Dokku and adding faye: bundle exec rackup faye.ru -s thin -E production to "Procfile" file. But no luck till now, need help on how I can get this Faye server running for my app. 回答1: You need to make several steps to have working faye server (e.g. on port 9292): Your Procfile is OK Expose port

No 'Access-Control-Allow-Origin' header is present on the requested resource with Django digitalocean Spaces

穿精又带淫゛_ 提交于 2019-12-06 10:00:46
My Django website is hosting in digitalocean ubuntu 16.04 with Nginx. I have setup digitalocean CORS Configurations as here https://www.digitalocean.com/docs/spaces/how-to/cors/ I added my domian name in the 'origin',checked all the options in 'Allowed Methods',the only thing I haven't done is add headers in 'Alowed Headers' because I have no idea what to add. When I use digitalocean Spaces(a service based on and very similar as Amazon S3) as my static and media file storage.There is No 'Access-Control-Allow-Origin' header is present on the requested resource error: Access to Font at 'https:/

Unable to connect to mysql on digitalocean using workbench over ssh

谁说我不能喝 提交于 2019-12-06 05:03:28
I have got my droplet set with the laravel app and database. Created my db while on putty ssh. Now when I am trying to connect to my mysql database as in image, i am getting error. Error: Authentication error, unhandled exception caught in tunnel manager, plese refer to logs for details. Note that my credentials are right, as that what I use to connect through putty. Any help on how can I see view my database? Got this solved like this. Turns out this is an ssh level issue. The digital ocean server doesn't have the support for the Kex algorithm as mentioned in the error the following can be

How to set up tomcat context path for web application? .war file name is coming infront of the application name in the url

安稳与你 提交于 2019-12-06 04:00:00
问题 I am having a trouble getting my web application 'xyz' running in tomcat 7 server hosted in DigitalOcean servers at: http://myDomain:8080/myWebApp The name of my .war file is ".MyWebApp". after deploying the .war file in tomcat, the application starts at: http://myDomain:8080/MyWebApp/myWebApp any idea how to remove this "MyWebApp" part from the URL? I have seen some of the solutions for this problem, they are mostly solutions of running the application in localhost. They suggested to change