heroku

Relation does not exist - Django & Postgres

心已入冬 提交于 2020-01-25 05:21:05
问题 I added some table to an existant model, but I got an error when i push my project to heroku : This happens to any models I add on this particular app ProgrammingError at /admin/dashboard/adressbook/ relation "dashboard_adressbook" does not exist LINE 1: SELECT COUNT(*) AS "__count" FROM "dashboard_adressbook" My models.py class AdressBook(models.Model): author = models.ForeignKey(User, on_delete=models.CASCADE, verbose_name="Nom de l'utilisateur") text = models.CharField(max_length=200

Possible to install PySide or PyQt on Heroku?

孤人 提交于 2020-01-25 04:52:05
问题 I am not able to install PySide and cannot figure out how to install PyQt on Heroku. I need PySide in order to use Ghost.py. Here is what I include in my requirements.txt: Ghost.py==0.1b3 PySide==1.2.2 And here is the error when pushing to Heroku: Python architecture is 64bit error: Failed to find cmake. Please specify the path to cmake with --cmake parameter. ---------------------------------------- Cleaning up... Command /app/.heroku/python/bin/python -c "import setuptools, tokenize;__file_

SecurityError: Failed to construct 'WebSocket, when I upload react js application in heroku server, Local all file are running fine

爷,独闯天下 提交于 2020-01-25 04:18:08
问题 when I upload react js app to the heroku sever , Failed to construct web socket 回答1: It's a problem caused by the latest update to react-script. Downgrade your react-script package to 3.2 for now. npm install react-script@3.2 https://github.com/facebook/create-react-app/pull/8079#issuecomment-562373869 回答2: You can do it without downgrading react-script by doing following process. You can change line number 62 of node_modules/react-dev-utils/webpackHotDevClient.js from protocol:'ws', to

Server Request Interrupted (H18) on Heroku

假装没事ソ 提交于 2020-01-24 20:45:10
问题 The Heroku support isn't very helpful (except the tips like "adding more logs would help") so let me try here. We are encountering a lot of 503 recently. It's super easy to reproduce the 503 using curl : curl —limit-rate=100 -s -X POST https://our.server.com/some/endpoint?[1-100] \ --header 'Content-Type: multipart/form-data; boundary=---------BOUNDARY' \ --data-binary @test.txt If the test.txt is large enough (e.g. 1Kb), the Heroku will trigger 503 soon (btw. it doesn't even need to be a

Server Request Interrupted (H18) on Heroku

假如想象 提交于 2020-01-24 20:45:00
问题 The Heroku support isn't very helpful (except the tips like "adding more logs would help") so let me try here. We are encountering a lot of 503 recently. It's super easy to reproduce the 503 using curl : curl —limit-rate=100 -s -X POST https://our.server.com/some/endpoint?[1-100] \ --header 'Content-Type: multipart/form-data; boundary=---------BOUNDARY' \ --data-binary @test.txt If the test.txt is large enough (e.g. 1Kb), the Heroku will trigger 503 soon (btw. it doesn't even need to be a

Heroku error 503, webSockets on multiple domains

谁都会走 提交于 2020-01-24 17:38:59
问题 I'm experiencing a 503 error with heroku on my project using WebSockets and a custom domain. Connecting on http://www.mydomain.com (That point with CNAME on my heroku app) WebSocket connection to 'ws://www.mydomain.com/shoutbox' failed: Error during WebSocket handshake: Unexpected response code: 503 Connecting on http://myapp.herokuapp.com Everything goes allright with adress ws://myapp.herokuapp.com/shoutbox . Everything is also good in my local setup. Is there any cross-domain issue I'm not

Heroku error 503, webSockets on multiple domains

这一生的挚爱 提交于 2020-01-24 17:38:04
问题 I'm experiencing a 503 error with heroku on my project using WebSockets and a custom domain. Connecting on http://www.mydomain.com (That point with CNAME on my heroku app) WebSocket connection to 'ws://www.mydomain.com/shoutbox' failed: Error during WebSocket handshake: Unexpected response code: 503 Connecting on http://myapp.herokuapp.com Everything goes allright with adress ws://myapp.herokuapp.com/shoutbox . Everything is also good in my local setup. Is there any cross-domain issue I'm not

500 error developing Heroku PHP Facebook app locally

和自甴很熟 提交于 2020-01-24 17:33:26
问题 I'm trying to develop a Facebook app on Heroku with PHP. I set up the default Heroku Facebook app and it works fine on the production server. I set up another app on Facebook to be the local test app and set the URL as http://profanitytracker.localhost. I set this URL up as an Apache VirtualHost and put in the development app's App ID and Secret. When I try to run my app locally, I get an HTTP 500 error. Here is what I see in my browser... The website encountered an error while retrieving

Heroku: docker entrypoint not found

女生的网名这么多〃 提交于 2020-01-24 12:24:31
问题 I am trying to deploy a project on Heroku. I have set up bash entrypoint application, which is located in application root directory. Dockerfile content: FROM node:10 # Create app directory WORKDIR /usr/app # Install app dependencies # A wildcard is used to ensure both package.json AND package-lock.json are copied # where available (npm@5+) COPY package*.json ./ RUN npm install # If you are building your code for production # RUN npm ci --only=production # Bundle app source COPY . . RUN

Heroku: docker entrypoint not found

ⅰ亾dé卋堺 提交于 2020-01-24 12:23:59
问题 I am trying to deploy a project on Heroku. I have set up bash entrypoint application, which is located in application root directory. Dockerfile content: FROM node:10 # Create app directory WORKDIR /usr/app # Install app dependencies # A wildcard is used to ensure both package.json AND package-lock.json are copied # where available (npm@5+) COPY package*.json ./ RUN npm install # If you are building your code for production # RUN npm ci --only=production # Bundle app source COPY . . RUN