usnistgov / ACVP-Server

A repository tracking releases of NIST's ACVP server. See www.github.com/usnistgov/ACVP for the protocol.
39 stars 14 forks source link

Demo Server: Request for test vectors fails after partial set of vectors received #260

Closed nvcasey closed 1 year ago

nvcasey commented 1 year ago

environment Demo

testSessionId 401011

vsId 1635703 (last vector set received)

Algorithm registration We cannot show the full JSON but there 17 different algorithms in the request including these below. ACVP-AES-ECB ACVP-AES-CB ACVP-AES-CBC-CS3

Endpoint in which the error is experienced /acvp/v1/testSessions GET

Problem The request runs for about 2 minutes, receiving multiple vector sets such as those below. "/acvp/v1/testSessions/401011/vectorSets/1635700" "/acvp/v1/testSessions/401011/vectorSets/1635701" "/acvp/v1/testSessions/401011/vectorSets/1635702" "/acvp/v1/testSessions/401011/vectorSets/1635703"

Then the request fails with a 'broken pipe' error.

Is there a stated capacity limit in number of algorithms in single request that we are hitting towards the Demo server, or an issue on the Demo server affecting performance?

jarnold01 commented 1 year ago

Hi @nvcasey - no performance issues presently in Demo - everything is operating normally, just to respond to that part of your query.

livebe01 commented 1 year ago

Hi @nvcasey I'm unaware of a limit on algorithms per request. The server appears to have successfully generated 17 vector sets associated with test session 401011. I suspect that you are experiencing a client-related issue that needs to be debugged.

nvcasey commented 1 year ago

Yes, apologies for this. We have confirmed that the issue was internal.