Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Error at generating nonce with PAL SDK

16 views
Skip to first unread message

Carlos Estrella

unread,
Jan 9, 2025, 11:32:49 AMJan 9
to Interactive Media Ads SDK
I'm using a web app.
For some reason when I try to generate the nonce I get the error:

Error: Encryption unavailable.

This is the data I'm putting on nonce request:
const request = new goog.pal.NonceRequest();
request.adWillAutoPlay = true;
request.adWillPlayMuted = false;
request.continuousPlayback = true;
request.playerType = 'html-video'; // Adding it hardcoded since this value will never change (or at least it shouldn't)
request.playerVersion = '5.0'; // Adding it hardcoded since this value will never change (or at least it shouldn't)
request.videoHeight = resolution.height;
request.videoWidth = resolution.width;

resolution.height returns a int (1080) and resolution.width returns a int (1920)

I realized it works if my url is localhost:8080 but it doesn't work if my url is 192.168.0.18:8080
What could be wrong in my implementation?

IMA SDK

unread,
Jan 9, 2025, 4:48:11 PMJan 9
to ima...@googlegroups.com
Hi,

As you mentioned that it works if my url is localhost:8080 but not with 192.168.0.18:8080, this seems to be configuration issue. Kindly share us the additional details to test from our side like site URL, sample IP or sample project for further investigation.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGuWe:ref" (ADR-00283468)

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5


 


Reply all
Reply to author
Forward
0 new messages