#ibm,
I observed the slowness while running the Cloud Foundry app on Bluemix. Sometimes, it gets really irritated so when I tried to refresh the app, it even stopped the app which was very frustrating. Could you please let us know the root cause of this and is there any way to avoid this in future ?
Refreshing the cloud Foundry page has nothing to do with crashing of your app. Could you please provide some more details like:
Functionality you are trying.
Deployment Approach.
Whether the application is Liberty Java, NodeJS or something else.
And lastly your application logs. If you cannot copy directly from the logs, you can use the Log Analysis Service to copy the logs.
NOTE: I should have added this as a comment but I am still 35 reputation short.
Related
I am almost done with my first Test Sveltekit Application and want deploy the App in the next Days in my private Network. When I google for this I get flooded with "Deploy to Vercel, Netlify.... and so on" but I dont see much for deploying it the Application to an Server.
Can somebody explain what to do? The Application uses Endpoints.
You would likely want to run it through a Node server, for this you can use the adapter-node package, see the documentation for it for more information.
https://github.com/sveltejs/kit/tree/master/packages/adapter-node
I recently deployed a Next.js application for a software engineering boot camp. I am using Vercel for hosting the web app. The problem I am having has been spoken about on the internet before. However, I couldn't find much helpful information.
When I look at the real-time logs for my application from my Vercel dashboard, a 504 error gets thrown for multiple API routes I have created. I am aware that Vercel places restrictions on requests depending on the hosting plan someone subscribes to. However, I can't help but wonder if I have overlooked an important step when deploying my application.
When deploying my application, I did the following things:
Connected a session store to my MongoDB database.
Created a password-protected MongoDB Atlas account (credentials are environment variables).
White-listed all IP addresses so that any user can interact with their portion of the database.
I would appreciate help finding out if these errors are my fault and if there is anything I can do about them or if they are solely caused by the restrictions of the "Hobby" plan.
Thank you very much in advance,
-Sam
Screen Shot:
I had a similar issue, turned out, it was just the fact that I did not add the vercel ip addr to the network access page on mongodb so momgodb was blocking vercel from accessing data.
You need to integrate MongoDB in your project on Vercel.
Go to your project settings in Vercel and go to the Integrations tab. Click the Browse Marketplace button and find MongoDb. Click Add Integration button and follow the instructions.
Hope this helps... I know this was asked quite a while ago.
You have to troubleshoot the issue by doing the following
Eliminate the NextJS app out of the equation - Using postman https://www.postman.com/downloads/ - Confirm the output of your API, what is the time the API takes? Given function invocation has a limit, you need to optimize the API to meet the threshold.
If the API times are fine and resolution occurs outside of your app, the next step is to troubleshoot the API route, remove the DB parts and just echo back a success message and check the function invocation time.
If #2 turns out to be the issue, reach out to vercel support - Another option could be hosting it outside and whitelisting the cross domain API ask from your application.
I'm using Node-RED Starter to build my app. My app URL can be accessed here.
should appear on my browser, but I got an
instead.
The app however seems to be working fine on my dashboard. Can anyone point me in the right direction? Thank you.
Your app is throwing a 500 error which basically means that your app is very much broken. How did you build it? Which starter did you use?
As you are running in the IBM Cloud, I would drop what you already have, and recreate using the starter from the IBM Cloud catalog. Unless of course if that is what you used to create it in the first place. In which case as per the other suggestions look at the server side logs, from the options on IBM Cloud for your application.
Our Watson app based on Dialogue Service was running this morning, and this app has many users. Then I saw your 2017 DevOps tutorials video on Youtube on using Auto Scaling Service to scale web apps on Bluemix. Then I connected our this Watson app with the Auto Scaling app. Then, right way, this watson app is crashed. So, I tried to unbind this Auto Scaling App from this Watson app, but it cannot be done. So, I had to delete this Auto Scaling Service from this Watson app.
After that, this Watson app cannot be started. Hope that Bluemix cloud team and Auto Scaling Service team reply here soon. If anybody also have got such horrible experiences with the Bluemix cloud Auto Scaling Service, I also like to hear some input from you. Thank you !
In the past week I have seen similar issues, and the culprit might be the auto-scaling service. The culprit might also be the new Diego deployment (as opposed to the old DEA droplets). Take a look at the Diego documentation. I have not had the time yet to fully debug this, but I went out and diabled Diego for my app and then attempted to redeploy. This allowed me to bring my app up successfully - now I still need to figure out WHY it has problems, since we will be forced to migrate to Diego at some point.
I would guess that the problem is not with the AutoScaling service. Cloud Foundry in Bluemix recently upgraded to the Diego architecture. Your application might need some changes to work with Diego. Binding any service to an applciation will trigger a restage which might have caused this update.
Currently, you can disable diego to see if this resolves your application crash.
$ cf disable-diego APPLICATION_NAME
$ cf start APPLICATION_NAME
Try this.
Then deploy your app under a new name and gather the logs cf logs APPLICATION_NAME --recent
https://console.ng.bluemix.net/docs/manageapps/depapps.html?cm_mc_uid=70239858576514840828532&cm_mc_sid_50200000=#appdeploy
Getting the below error while creating app on Bluemix dashboard, irrespective of using unique App names
BXNUI0005E: The 'MyFirstMobileAppTest' application could not be added.
See the Troubleshooting topics in the IBM Bluemix Documentation to
check service status, review troubleshooting information, or for
information about getting help.
I have been able to create a mobile application without any problems. This issue was most likely due a temporary outage.
If you experience this again, be sure check the Bluemix status page for any known issues and/or try again in a few minutes.