Heroku Bandwidth Limit Exceeded - heroku

Please, try to acess:
http://unidemico.herokuapp.com/
It is working the index page, but when I'm trying to acess any Available controller:
Available Controllers:
unidemico.AreaAcademicaController
unidemico.ArtigoController
I get the following error:
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
Apache Server at www.changeme.com Port 80
Any Idea why?
https://devcenter.heroku.com/articles/limits
I have no idea if I exceed any limit its the first time I deploy an application and its a Grails application very simple, only two controllers, project has only 2Mb...

changeme.com is a placeholder domain. You need to update your Config.groovy to point to your heroku app domain or your custom domain.

Related

How to check why my Heroku application cannot reach remote host?

I have deployed heroku application - Ktor server that was working for 2 years and everything was working perfect. Since few days my application cannot access host (https://api.um.warszawa.pl/). It's getting timeout error all the time. API is accessible from my local machine. How can I check who blocked the access and why? Where can I ask for enabling the access again? Any ideas?
I have the same issue. I have had contacted the API team at Warsaw Town Hall - they have told me that City's Centre of Network and Data could set location restrictions on the API due to CHARLIE-CRP alarm.

How do I increase the size of HTTP request header in my Azure App Service (Linux)

I need to Post a header that is slightly larger than 8k, and from what I've researched I can increase this by modifying the value of these fields: LimitRequestFieldSize & LimitRequestLine somewhere on my Apache Server.
The problem is I have a Linux Web App Service (PaaS) setup in Azure, and I don't know where or how to change these values in Azure.
Is it possible to do this if I have an Web App Service? If so, could someone help me out?
Many Thanks,
Kahl
I will answer in case others have this issue. There are a couple of senarious you could face on the Linux App Service:
If you using a gateway for your app service there are hard-coded limits, currently 32kb total, and 8kb field limits that cannot be changed.
If you have enabled "Client certificate mode" in the Configuration area, similar limits are in place.
If neither of these is the case, then set the header limits in the server you are using. For Apache, you create a custom startup script and specify LimitRequestFieldSize.
This appears to be harded coded on the azure servers and isn't possible to modify.

Fix HTTP 504: Gateway Timeout when not using a load balancer

I am developing an application which allows the user to download data from this remote database server. My server sode contacts another database server, get&package all the data, and send the data back to the client side. Everything works fine locally. However, when I deploy my code to AWS Elastic Beanstalk, I get a HTTP 504: Gateway Timeout, if my request doesn't get a respond in 60 seconds (when the data is too large and it takes more time to get all the data).
I have looked up a lot of posts online, but most solutions had to do with using a load balancer. I am not currently using a load balancer, and I am not really sure how to proceed with my issue. I know what I have to do is to change the timeout/idle limit, but I can't seem to find a resource that gives me insight on how to do that when I am not using a load balancer.
To give a main idea of how the project is built, it is written in ReactJS and Java, and it connects to a remote database server to request data. I am not using CORS/proxy, but using the Java backend code to have my server contacting the database server when I request for data. I am also using annotations in Spring framework for my requests (and more specifically, the controller class).
If you have any ideas on how to solve this issue, please let me know. I really don't know much about web application development. Thanks in advance!

What is the Heroku simultaneous processes/threads limit error?

I am referencing an application hosted on my free Heroku account. I think I have hit a usage limit but I don't see any errors in the web console. Does Heroku return an error when you've hit the 256 simultaneous processes/threads limit? If so, is it in my account? Where can I find it?
https://devcenter.heroku.com/articles/dynos#process-thread-limits

Azure web app performance within Corporate network poor vs Internet

I have created a web application and hosted in MS Azure PaaS (Azure West Datacenter). User can only access application via Internet. My Client using his corporate network (their proxy server is in Copenhagen & the users are in NL) experience performance issues while accessing the Web application. Users connected via internet have much better performance as they connect to internet directly bypassing Corporate infrastructure.
My Corporate network team did an analysis and found that there is no performance delay when accessing the Web app.
1. They did a CMD : ping to the proxy address to check the response
2. They captured the results with Application Insights – BrowserTimings and found it satisfactory.
Now my manager asks if we can identify the performance using the Azure Application Insights. I tried accessing the Analytics feature in Azure Application Insights using below query:
requests
| where user_AuthenticatedId == "emailaddress"
But I couldn't identify any differences. I know which user access via corporate network and I pass their email address to check the performance Bucket
Is there any other way we can check the network performance in Azure Application Insights?
I also want to try and check with the network latency test via PSPing tool. I got the outbound IP address (there was 5 address) of the Azure Web App and tried pinging from internet but I receive Request Timeout error. Then I saw recently they have enabled SSL to my azure web app. Does that make any difference?
Is there any other way we can check the network performance in Azure Application Insights?
Yes, by adding a new chart. We will see the client metrics in the Chart details panel. You could check the client metrics which you want to monitor.
Following are the detail description of these client metrics.
Browser page load time: Browser page load time, client processing time, page load network connect time.
Client processing time: Time between receiving the last byte of a document until the DOM is loaded. Async requests may still be processing.
Page load network connect time: Time between user request and network connection. Includes DNS lookup and transport connection.
Receiving response time: Time between the first and last bytes, or until disconnection.
Send request time: Time between network connection and receiving the first byte.

Resources