heroku

Django ValueError: Missing staticfiles manifest entry, but the manifest appears to show the entry

为君一笑 提交于 2020-01-05 08:29:16
问题 On a Django 1.11 app deployed to Heroku. When loading the root URL / (and I presume when Django gets to {% static 'angular/angular.min.js' %} in the homepage.html template) I get the following error: ValueError: Missing staticfiles manifest entry for 'angular/angular.min.js' File "django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File

Python redis and celery too many clients, different errors on each execution | Tasks connect to MySQL using pymsql

放肆的年华 提交于 2020-01-05 07:52:26
问题 I am currently working on an app, which has to process several long running tasks. I am using python 3 , flask , celery , redis . I have a working solution on localhost, but on heroku there are many errors and every execution of the app triggers everytime a different set of errors. I know it cant be random so I am trying to figure out where to start looking. I have a feeling something must be wrong with redis and I am trying to understand what clients are and where they come from, but I am

Python redis and celery too many clients, different errors on each execution | Tasks connect to MySQL using pymsql

折月煮酒 提交于 2020-01-05 07:52:06
问题 I am currently working on an app, which has to process several long running tasks. I am using python 3 , flask , celery , redis . I have a working solution on localhost, but on heroku there are many errors and every execution of the app triggers everytime a different set of errors. I know it cant be random so I am trying to figure out where to start looking. I have a feeling something must be wrong with redis and I am trying to understand what clients are and where they come from, but I am

Rails, Heroku, and Resque: Long Running Background Job Optimization

▼魔方 西西 提交于 2020-01-05 07:48:14
问题 We're building a tinder style app that allows users to "like" or "dislike" events. Each event has about 100 keywords associated with it. When a user "likes" or "dislikes" and event, we associate that event's keywords with the user. Users can quickly get thousands of keywords. We use through tables to associate users and events to keywords (event_keywords and user_keywords). The through table has an additional column relevance_score which is a float (e.g. a keyword can be 0.1 if it's very

Meteor on Heroku Deployment

二次信任 提交于 2020-01-05 07:40:32
问题 I am trying to deploy Meteor to a remote Heroku server. I am following this tutorial, but get errors. Any advise would be appreciated please. When I do the git push heroku master : However, the server logs: 2016-09-11T18:03:14.757898+00:00 heroku[slug-compiler]: Slug compilation started 2016-09-11T18:03:14.757903+00:00 heroku[slug-compiler]: Slug compilation finished 2016-09-11T18:03:41.646676+00:00 heroku[web.1]: Starting process with command `node build/bundle/main.js` 2016-09-11T18:03:44

Heroku [WARNING] You provided devise_for :users but there is no model User defined in your application

僤鯓⒐⒋嵵緔 提交于 2020-01-05 07:26:09
问题 I have an rails 3 (3.0.9) application working on ruby 1.8.7 with the gem devise (1.4.2) on my computer working perfectly. I tried to push it on heroku and i got the following error message on application load: [WARNING] You provided devise_for :users but there is no model User defined in your application => Booting WEBrick => Rails 3.0.9 application starting in production on http://0.0.0.0:43292 => Call with -d to detach => Ctrl-C to shutdown server Exiting /app/vendor/bundle/ruby/1.9.1/gems

Heroku error: page was loaded over HTTPS, but requested an insecure script 'angular-route.js'

青春壹個敷衍的年華 提交于 2020-01-05 04:31:11
问题 I've deployed my nodejs app to heroku . I have this file below as my index.html but somehow heroku is throwing me this error message to the chrome developer console (F12). Error: Mixed Content: The page at 'https://small-talkz.herokuapp.com/' was loaded over HTTPS, but requested an insecure script 'http://ajax.googleapis.com/ajax/libs/angularjs/1.2.25/angular-route.js'. This request has been blocked; the content must be served over HTTPS. index.html: <!DOCTYPE html> <html> <head> <script type

How to access Parse Dashboard on Heroku

▼魔方 西西 提交于 2020-01-05 04:26:33
问题 I am trying to setup parse for a personal hobby project - I have decided to have it deployed on Heroku. I followed the steps on this readme : https://github.com/ParsePlatform/parse-server-example I clicked on the DEPLOY to HEROKU button. Everything went fine. BUT I am NOT able to access the Parse Dashboard . My configurations (its a test app - I will delete this & re-deploy, hence I am sharing the credentials) : APP_NAME : test1000000 SERVER_URL : http://test1000000.herokuapp.com/parse APP_ID

JavaFX doesn't work on Heroku (NoClassDefFoundError)

北城余情 提交于 2020-01-05 04:04:10
问题 I have some JavaFX includes in my tomcat server application, like a javafx pair, and some properties, but it seems that they cause an error on heroku: java.lang.NoClassDefFoundError: javafx/util/Pair I see that it installs openJDK 1.8 when deploying the war, so how come it doesn't find JavaFX? 回答1: The JDK on Heroku is headless, and does not include the javafx JAR. You can include it manually by adding something like this to your pom.xml : <dependency> <groupId>org.wildfly.swarm</groupId>

Heroku & Rails - Varnish HTTP Cache Not Working

你离开我真会死。 提交于 2020-01-05 04:03:06
问题 My heroku website's root page is essentially static, it has some ruby code in the view when its generated, but there's nothing specific to a single user, so I'd like to have it cached by Varnish and served up without hitting my dyno (note that there are other pages that are dynamic in the application). Heroku makes it seem very simple here. Just add response.headers['Cache-Control'] = 'public, max-age=300' and it'll cache for 5 minutes before regenerating. To test this I made the changed and