heroku

Error grabbing Heroku project using git

久未见 提交于 2020-01-04 08:18:31
问题 I just cannot grab my App's source code, as per the steps documented here - http://devcenter.heroku.com/articles/facebook#create_an_app I have all steps followed correctly (as mentioned in a few other related posts). Valid Heroku account created. Logged into Heroku from command prompt. Uploaded a valid key Added the port 22 to the list of exceptions in my firewall settings. [FYI : I'm on Windows 7] Even after all these, I still get the following: ssh: connect to host heroku.com port 22: Bad

Error grabbing Heroku project using git

情到浓时终转凉″ 提交于 2020-01-04 08:18:22
问题 I just cannot grab my App's source code, as per the steps documented here - http://devcenter.heroku.com/articles/facebook#create_an_app I have all steps followed correctly (as mentioned in a few other related posts). Valid Heroku account created. Logged into Heroku from command prompt. Uploaded a valid key Added the port 22 to the list of exceptions in my firewall settings. [FYI : I'm on Windows 7] Even after all these, I still get the following: ssh: connect to host heroku.com port 22: Bad

How to remove the “Server” HTTP response header from my Rack app

只愿长相守 提交于 2020-01-04 07:09:07
问题 I am trying to remove the server information from the http response header in my ruby on rails application running on Heroku but I am stuck. Inspecting the response headers gives me: Server:thin 1.5.0 codename Knife Can anyone point me in the right direction? 回答1: This Server header is set by the Thin server when assembling the response. A recent commit adds the ability to set the Server to something else, but it doesn’t look like you can totally remove it. One thing you can do is to set the

Error in deploying code on heroku

最后都变了- 提交于 2020-01-04 05:36:19
问题 I have a java script code in git hub and I was deploying it many many times on heroku during the last month and I had no problem.Today, when I wanted to deploy the exact same code on heroku, I've got the following error: The requested API endpoint was not found. Are you using the right HTTP verb (i.e. `GET` vs. `POST`), and did you specify your intended version with the `Accept` header? Does anybody know why I encountered this error and what should I do to solve it? 回答1: I'm having the exact

Heroku push hanging on “fetching gem metadata from rubygems” with no errors or trace of any kind

末鹿安然 提交于 2020-01-04 05:26:15
问题 My deployment is stuck on fetching gem metadata from rubygems every time I deploy. It worked this morning, had problems this afternoon and now it's not working again. We tried from somewhere else and from other computers with the same result. It works fine locally I can update from rubygems without a problem. Visual: Delta compression using up to 4 threads. Compressing objects: 100% (9/9), done. Writing objects: 100% (9/9), 764 bytes, done. Total 9 (delta 7), reused 0 (delta 0) -----> Heroku

Upgrading Bundler Version on Heroku

橙三吉。 提交于 2020-01-04 04:40:09
问题 I need an updated version of bundler on my heroku application (cedar 14) and I haven't seen any reason why I can't do this. I'm stuck at 1.6.6 which is a couple months old and I need the most up to date version. I need to specify a source: option for one of my gems and the older version of bundler doesn't allow this. Additionally, running heroku run gem update bundler successfully updates but 'heroku run bundle -v' yields 1.6.6. Why? 回答1: You can modify the bundler version used by specifying

Favicon shows up on rails local, not on hosted app

大憨熊 提交于 2020-01-04 04:03:14
问题 I put my favicon.ico in my public folder, and it shows up on my localhost, but when I check it out on the internet, shows up instead. My app is hosted through heroku, and the domain is provided by hover. Where is this failing? Also, in case this helps, here is the code I'm using to render the favicon: <!DOCTYPE html> <html> <head> <link rel="shortcut icon" href="/favicon.ico" /> <title>Shoulak Predictions</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include

Prevent public access to staging app in my Heroku pipeline

梦想的初衷 提交于 2020-01-04 01:37:22
问题 I have a Heroku pipeline with a staging app and a production app. I want to restrict access to the staging app so that features that are being tested (in staging) are not publicly accessible. How do I do that? 来源: https://stackoverflow.com/questions/46375386/prevent-public-access-to-staging-app-in-my-heroku-pipeline

Celery immediately exceeds memory on Heroku

南楼画角 提交于 2020-01-04 01:33:09
问题 I'm deploying a Celery process to Heroku and every time it starts, it immediately starts to rack up memory usage and crash after it exceeds the maximum. I only have one task called "test_task" that prints once per minute. This is Django app using Celery with a Redis backend hosted on Heroku. Proc file: web: daphne chatbot.asgi:channel_layer --port $PORT --bind 0.0.0.0 --verbosity 1 chatworker: python manage.py runworker --verbosity 1 celeryworker: celery -A chatbot worker -l info Heroku logs:

Heroku ssl:endpoint with GlobalSign ExtendedSSL

僤鯓⒐⒋嵵緔 提交于 2020-01-04 01:19:10
问题 I have signed up for GlobalSign ExtendedSSL. I just can't figure out how to add this to ssl:endpoint addon. When I signed up for ExtendedSSL i had to generate CSR certificate, which has the following files: private-key.key www.domain.com_csr.pem Once the sign was complete, GlobalSign gave me the following: SSL Certificate ExtendedSSL Intermediate Certificate Extended Validation Cross Certificate I have combined SSL Certificate, ExtendedSSL Intermediate Certificate and Extended Validation