-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with upload images in Heroku #2256
Comments
Did you solve this? About to start testing heroku |
Nope. I don’t know yet. |
Yep. I fix it for now, setting node version to 12.13.x in Heroku. |
This fixed a similar issue for me. The error in the logs was the following:
fixed by updating the engines on the package.json {
"engines": {
"node": "12.16.x"
}
} thanks @alvaaz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
I'm having trouble uploading images using Cloudinary Adapter in Production (Heroku)
To Reproduce
Steps to reproduce the behaviour. Please provide code snippets or a repository:
secureCookies: false
app.set("trust proxy", 1);
[Network error]: ServerParseError: JSON.parse: unexpected character at line 1 column 1 of the JSON data TypeError: e is undefined
In remote console
2020-01-17T14:03:17.474496+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/admin/api" host=jumpittlabs-site-cms.herokuapp.com request_id=14e94647-88b8-43ef-9329-1aa1de849451 fwd="152.231.93.178" dyno=web.1 connect=1ms service=345ms status=503 bytes=0 protocol=https
Expected behaviour
I want upload image as it does in development
System information
Screenshot
https://i.imgur.com/AyKyP7z.png
Aditional information
This is my index.js
The text was updated successfully, but these errors were encountered: