IIS 10 Failed Request 500 - General_Request_Start Failed To Complete - azure-cloud-services

I'm trying to understand why after deployment my server is returning 500 - Internal server error for a simple GET request that checks the server's status which is supposed to return 200 (when I run it locally with unit tests I wrote, it works fine). I retrieved the failed request log, but can't quite seem to understand what the problem is.
In several events the severity column shows: Failed To Complete
The Request summary shows:
These are the Errors and Warnings shown:
Does anyone know why I might be getting theses errors, or why I might be getting a 500 Internal Server error response?
I will add that I already have a GET request that is working:
https://myalertsserver.cloudapp.net/providers/management/alerts which returns 200.
and when I try:
https://myalertsserver.cloudapp.net/providers/status I get a 404 Error.
It seems to me like it has to do with something in the configuration, but I can't seem to understand what.
Thanks in advance.

Related

Setting up DVWA : this page is not working

I put a downloaded file from DVWA in /opt/lampp/htdocs
and change config.inc.php.dist to config.inc.php
but when I open localhost/DVWA this is what shows up:
This page isn’t working localhost is currently unable to handle this
request. HTTP ERROR 500
From the spec:
The 500 (Internal Server Error) status code indicates that the server
encountered an unexpected condition that prevented it from fulfilling
the request.
Since this is the only piece of information you are delivering, some suggestions may be :
Check what the error log file says. You can find it in this location /opt/lampp/logs/error_log . You will find more information about the problem there
Check this question, I think that your problem is similar to that one, checking it may help you.

express graphql always sends 500 Internal server error for any thrown error from resolver

I am using express graphql in my node app . and it graphql always sends 500 Internal server error for any thrown error from resolver. Please suggest any solution so i will get proper response and status code
The express-graphql sends the HTTP error 500 whenever detects there is no data returned. Definitely, in case of exception is thrown there won't be a returning data. Although it looks like an obvious bug the developers have their own opinion on that. They seemed to decide providing an option to disable the feature so that the server shouldn't set the 500 error. At least the open issue on that is still there.
Checking out the sources I've found these options to get around the problem:
To set any other response code than 200 (e.g. 299 (custom)) in your resolver.
To set the response code in your error formatting handler. This seems to be the most optimal solution.
Just to pick up some other library =)

Error 500/OK in my jmeter load test and Apdex. What is the meaning of 500/OK?

Im load testing a microsft crm portal so after my load test, i extracted the logs and found out that I encountered a 500/OK error. If I may ask what is 500/OK error? Is this a valid defect of the application that I'm testing or is it a jmeter based defect?
Thank you :-)errors encountered
It looks like application you are testing has encountered error and returned response with status code 500 and status OK.
In table you attached, first column shows ERROR CODE / STATUS TEXT...
You should report this to the developers and(or) examine application logs to check what went wrong.
Reference: 500 Internal Server Error

OpenURI::HTTPError Exception: 500 Internal Server Error

Unable to open URL "http://www.diretaimoveisbh.com.br//Resultado.asp?nTransacao=V&vid_tipoimovel=&vId_bairro=&pagina=11" with open-uri, It keeps throwing error "OpenURI::HTTPError Exception: 500 Internal Server Error", I searched everywhere but didnt got any solution.
Please help If anyone here know how to resolve that issue.
Thanks in advance.
If you get a 500 back from the server, something is really broken somewhere, probably on the server. Maybe the URL is broken too.
Expect issues retrieving the data you want unless you receive a 200 back from the server. 200 code means everything you expect should be there, 4xx or 5xx code is something completely different, see for more info.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
In the meantime, you may try/catch the exception, but keep in mind, its most likely not going to contain anything (except maybe error information) in the payload until its returning a 200.

How to do error handling in Jmeter

I'm using Jmeter to do a load testing for a website.
JMeter does not show errors other than 404 errors.
How can I get the error messages in JMeter for the errors that occur for other cases?
By default, JMeter only flags typical HTTP error response codes, like 4XX and 5XX errors.
You should use Response Assertions on your HTTP samplers if you wish to have finer control over what is flagged as an error.
You can use 404 code as a success also. When you put your assertion with 404, there is a checkbox in the corner that says 'Ignore Status'. This will treat also 404 as a success.
One annoyance with this though seems to be that JMeter always treats a 404 as an error, when can be a valid response for some applications. So even if you make an assertion that a 404 response is OK, it will still show as an error.

Resources