DMTF / Redfish-Service-Validator

The Redfish Service Validator is a Python3 tool for checking conformance of any "device" with a Redfish service interface against Redfish CSDL schema
Other
40 stars 34 forks source link

Service Validator throws "Connection aborted" Error #572

Closed GinuGeorgeAMI closed 4 months ago

GinuGeorgeAMI commented 8 months ago

Redfish Service Validator Version Used : 2.3.7 and 2.3.8

When I am trying to run the DMTF Redfish Service Validator against an application providing Redfish Service, I am getting the below mentioned error when it tries to query the initial Service Root Request(/redfish/v1/) :

('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Screenshot 2024-01-22 232930

However, at that very time, when I try to query the Service Root Request(/redfish/v1/) or in that case any URI by either using Postman or Curl , I am able to get the proper response :

Screenshot 2024-01-22 232504

Screenshot 2024-01-22 233222

Did anyone face this issue ? Please provide your inputs, if so, to fix it.

mraineri commented 8 months ago

Can you please provide the full exception trace? Can you also add --debugging and send the log file?

GinuGeorgeAMI commented 8 months ago

@mraineri As requested, I am attaching the log file

ConformanceLog_01_23_2024_043553.txt

Please take a look and do let us know.

mraineri commented 8 months ago

What happens when you try using curl on /redfish/v1/ without the -u argument?

The Service Validator won't pass credentials when doing initial inspection of /redfish/v1/ since that's expected to always be available for discovery purposes.

mraineri commented 4 months ago

Closing; no additional info provided. It would be good to test with the Protocol Validator to see if there are protocol-related issues with the service (like if it's requiring credentials on service root).