VMware {code} Community
a_gonzalez
Contributor
Contributor

SRM API - Failed to send request. Retrying. Error: class Vmacore::Http::MalformedHeaderException(Incomplete header received)

Hi,

I get these errors on SRM Server log file invoking SRM API from C#:

SrmServiceInstanceContent sic = service.RetrieveContent(serviceRef);

SRM log errors:

Vmacore::Http::HttpSvcImpl::AcceptHttpConn accept failure - no read scheduled: ,SSL Exception: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http requestclass Vmacore::Exception *

Vmacore::Http::HttpSvcImpl::AcceptHttpConn stream is NULL - no read scheduled

Vmacore::Http::HttpSvcImpl::AcceptHttpConn accept failure - no read scheduled: ,SSL Exception: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http requestclass Vmacore::Exception *

Vmacore::Http::HttpSvcImpl::AcceptHttpConn stream is NULL - no read scheduled

Failed to send request. Retrying. Error: class Vmacore::Http::MalformedHeaderException(Incomplete header received)

Regards,

Alberto

Reply
0 Kudos
1 Reply
a_gonzalez
Contributor
Contributor

I found the solution. I must use https instead of http to connect to SRM server.

Reply
0 Kudos