Facing issues with response from Fairplay SDK based service

Currently we are building a service based on Fairplay SDK version 26.0. Currently our solution is using version 4.5.4.

When we run the below request to get version we get proper response


curl http://xx.xx.xx.xx:8080/fps/v 

Response - V26.0

Our client applications call below two APIs

https://GW_HOST:8080/fairplay_cert
https://GW_HOST:8080/fairplay_license

Within the cert API call, we are returning the fairplay public certificate. Currently we are trying to use the test certificate provided along with Fairplay SDK (test_fps_certificate_v26.bin)

Then within the fairplay_license API call, we are trying to reach fairplay service based on Fairplay SDK v26 We are seeing some issues with below request(attaching the request json payload)

curl -v -X POST \
  -H "Content-Type: application/json" \
  -d @SDKValidation.json \
  http://xx.xx.xx.xx:8080/fps

We are getting "Empty response from server"

When we checked the apache error logs in the file "/etc/httpd/logs/error_log" we see some exception. We are sharing the traces in a file (ApacheErrorLogs.txt).

Also if we use old pblic key used with version 4.5.4, we are getting another error from service.

{"fairplay-streaming-response":{"create-ckc":[{"id":1,"status":-42605}]}}

Can you please help us with the reason of this failure?

The empty response you received was due to an invalid title ID "Default_XXXXXXX_Jitp_Reach_SD" in the input JSON. Both title and stream ID should be a 32 character hex string (16 bytes).

The SDK provides several test input JSONs that show the correct stream and title ID formats that can be used for reference (ex spc_ios_uhd_offline_with_dual_expiry_2048.json)

We have tried that.. When we try to send hex value in place of strings, we have noticed below error

{"fairplay-streaming-response":{"create-ckc":[{"id":1,"status":-42605}]}}

Also in case of Live, where offline-hls block will not be present, we are still noticing above error.

This is looks to be some error related to certificate.

As mentioned earlier, client application is making a certificate call where we are returning the test certificates provided along with the SDK (test_fps_certificate_v26.bin).

These certificates are already configured in the credentials path.

Also note that the test samples provided with the SDK return valid license response.

Would appreciate if you can offer any kind of help?

We are totally stuck at this point.

As mentioned earlier, we are trying to use the test certificate provided along with the sdk.

Facing issues with response from Fairplay SDK based service
 
 
Q