VPP simulator VPPServiceConfigSrv returns http status code 000

Originator:ppetrov.mp
Number:rdar://39169559 Date Originated:04-Apr-2018
Status:Open Resolved:
Product:Other Product Version:06/06/2017
Classification:Bug Reproducible:Always
 
Area:
MDM

Summary:

The vppsim VPPServiceConfigSrv junction, i.e., requests to http://server:port/VPPServiceConfigSrv, returns an incorrect HTTP response status code - 000. This makes the simulator unusable in some environments or using certain tools that cannot handle non-standard HTTP response codes.

Steps to Reproduce:

Send an http request to the vppsim VPPServiceConfigSrv junction using, for example, curl.

curl -I http://192.168.1.120:8081/VPPServiceConfigSrv

Expected Results:

HTTP/1.1 200 OK
Content-Length: 5079
Content-Type: application/json
Date: 2018-04-04T10:53:47+02:00

Actual Results:

HTTP/1.1 000 status code 000
Content-Length: 5079
Content-Type: application/json
Date: 2018-04-04T10:53:47+02:00

Version/Build:

vppsim Release Date:
 - 06/06/2017

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!