Empty response from an app created in heroku - heroku

When creating a facebook app and using heroku service. The heroku app is returning an empty response. I have tried creating many apps but all have the same problem. I am using PHP in heroku.

To resolve this problem I cloned the git repository of my app from heroku, made some changes in some files by adding few random spaces so that they are identified as a different version from the cloned files. Then i pushed the repo back to heroku. Now the app worked fine.

Related

Using Cloudinary with Heroku

I'm trying to use Cloudinary to handle the upload of images in my app. I created a Cloudinary account for it and this works perfectly in production.
I've deployed my app to Heroku and can't managed to successfully connect my Heroku app with Cloudinary. My app appears online but the images stored in Cloudinary don't display + the upload function doesn't work as well - i guess it's because the link with cloudinary is broken so the server doesn't know where to get the images or store the files.
I've first manually added the Cloudinary Url in Heroku's config vars and it didn't work. I then installed the Cloudinary add-on on Heroku and, when I install it in Ressources, Heroku redirects me to a newly created cloudinary account (it seems that adding the Cloudinary add-on to heroku creates a brand new Cloudinary account).
My problem is that I want to use my existing Cloudinary account in my Heroku app and I can't figure out how to connect both.
in my code, i'm storing my details in an env file, and on the server-side, I'm using my account details like so:
require("dotenv").config();
cloudinary.config({
cloud_name: process.env.CLOUD_NAME,
api_key: process.env.API_KEY,
api_secret: process.env.API_SECRET
});

Heroku app custom domain points to empty root

I've set up my app on Heroku. Everything loads fine when I access the herokuapp.com domain.
I've added my own domain to the app and added the CNAME as instructed but when I go to the subdomain it's just showing an empty root.
I'm not sure what I am doing wrong here!
I've checked the domain is added to the app running heroku domains in terminal and it's there.
This is the first time I've published an app on Heroku but I've followed the instructions and I can't see what the problem is.
Any help is much appreciated.
Thanks
I managed to resolve this issue by adding another CNAME record in the domain provider account and creating the subdomain in there, rather than from the server.

Google Domains Not Pointing to Correct Heroku App

I am trying to point my Google Domains domain name to Heroku, but am having a hard time. I previously had the domain forwarded to point to another website, but I have now followed these instructions to point it to my Heroku app.
The domain in question is www.lizbayardelle.com. The Heroku app I want it to is https://liz-bayardelle.herokuapp.com/. If I type heroku open in Terminal this is what comes up. However, if you go to the domain and the heroku app, the domain still shows the other website (to which it was initially forwarded), not the Heroku app.
Here are my Google Domains settings:
If you want it to point to liz-bayardelle.herokuapp.com, use that.
You've used www.liz-bayardelle.herokuapp.com. Visiting that URL displays Heroku's "no such app" page.
It turned out that the domain name was still "claimed" by the other Heroku app, so I had to log in to the one which had been forwarded on the Heroku console and delete the domain name. After I did this it could be added with heroku domains:add www.lizbayardelle.com and heroku domains:add lizbayardelle.com.

Fortrbbit app domain change

So I am fairly new to laravel and especial to its deploying. I set up a fortrabbit application and got my website running so that's all good. The thing is though, the app url is not the one I wanted. I have an older website running without Laravel, and that is the url I want it to be hosted on. I have the ftp credentials for the old site but I have no clue how I can sort of clone the new Laravel site to the old one.
Briefly, I have a Laravel app running on insertname.eu1.frbit.net but I want it to be hosted on www.insertname.com which an older site is being hosted on for the time being.
Can anyone help me out? There must be a way to do this. Thanks alot!
The fortrabbit "App URL" is meant for testing/development/configuration and can't be changed. However you can route other domains to your App on fortrabbit. You do so by pointing the domain to the "App URL" via a CNAME and by registering the domain in the App settings in the Dashboard.

Heroku (tried everything that I can find resources to)

I have tried pretty much everything I can think of to just be able to login to heroku. The only thing left I could think of is run as a new user on my computer (which is a mac). And then see if it's something that is messed up with my config.
At one point I could but then I had conflicts with an old work email it was using, although I was able to use heroku, i couldn't get to that email anymore.
So I tried to start as if I just installed heroku and I started a new account, and I tried the standard setup then I went to this: Cannot push to Heroku because key fingerprint
And nothing worked, I just keep getting Authentication failed. Any Ideas?
Just to recap:
I've
deleted the ~/.ssh directory and added github then my heroku key with the add:key function
tried just making a new user account and reinstalling tool belt, and going through a normal setup flow.
And tried various stackoverflow solutions the latest being referenced above.
-- What I'd like to do isn't special, it's just to have one user account on my computer. Is there an issue if your user account email is the same as your github email? I've tried it with and without and all I get is "Authentication failed." again and again.
Plleeeassee help.
tyttytyty

Resources