Hello There im a beginner and new to strapi..the scenario is i created a strapi project made some collection deployed it to heroku everthing works fine but after two days when i created new collections and made some changes in collection its not working on heroku now all the changes i made works fine on local server but not on heroku .. i have given permision to public user to get responce from api..Thanks in advanceserver responsing 403 see screensho t
Related
I have an API that has lots of controllers and endpoints. It was built on net 3.1 and was recently migrated to net 6. The migration worked fine.
Let's say that this API has one controller called ProductController, and this controller have a bunch of endpoints. One of them we can call it GetProductsByUserAndType.
I had to create a new endpoint, inside this existing controller, called GetProductsByUser.
I run my api locally and the new endpoint works fine.
I publish it on an appservice hosted in a testing environment and it works fine
I publish it in release mode in a folder, run the .exe file and it works fine
But when I publish it in on an appservice-slot hosted in a production environment, this new endpoint throws a 404 not found.
I recently added a new Controller to this API with a new endpoint, and this new endpoint also throws 404 not found.
I'm really lost here because this problem doesn't make sense to me. Why come only new endpoints doesn't work ? I have 2 endpoints living side-by-side on a controller and one of them throws 404 (the new one) and the other not.
I tried to:
search for the problem: I found nothing related, this situation looks very specific;
re-deploy the code to the appservice-slot (I use the Local git option);
deploy using the Publish configuration on Visual Studio 2022;
As I was writing this question, a teamate suggested to delete the slot and create a new one.
I did that, deployed again and it worked. So, I hope this helps someone out there.
I am using laravel 5.2 to write services for a mobile app. all the calls are working fine. My project is deployed in ubuntu server.
Now I want to resize the uploaded images inorder to maintain same performance. I thought of trying intervention-image.
In local machine it worked fine. I installed intervention-image and set the provider and alias name, I included the alias name to controller. Once I do that and update the server, all the other calls are getting effected. I am getting 505 error.
It's the intervension-image which is causing this problem, I checked with previous upload and I am getting all the calls. Any suggestions?
I suggest you create a dev environment like your production , use vagrant . About error 505 check you error log file to have more detail about the bug
I pushed (bitbucket) a laravel 4 project from my imac and pulled it with another mac. What I get is a status 500 message if i try to visit /public.
I am using MAMP.
The strange thing is that every other laravel project is working fine. One project is even a copy of the project that doesn't work.
Any idea whats wrong?
Point Apache to a public directory instead of root one and use URLs without public in it.
Restart web server after that to make it work.
Recently i have make an app with laravel 5. My app is working fine in locally but in live server it always token mismatched. Session is not working. I have changed the Storage directory's permission 777,also tried with new app with existing controller,view,model and other but it still work fine in local not in server.I am really passing painful day,please anybody help me.
I'm new to AppHarbour and I'm trying to deploy my MVC app on a free account.
I keep getting a 404 error.
The app is coming from Bit-bucket and it was deployed successfully.
In my Hostnames section i see the following
so i have added the following to the Hosts file in my machine:
176.34.122.158 camelotfaultmanagement.apphb.com
but i still get a 404 ..
What am i doing wrong ?
And a follow-up question how can i edit one of the files to be able to edit the connection ?string to my DB?
It looks like you may not have any successful builds yet - You have to push to Bitbucket to trigger your first build. You can see a list of builds on the app dashboard: https://appharbor.com/applications/camelotfaultmanagement
To use the built-in .apphb.com domain, you don't have to mess with any DNS setup.