Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

PDI will not install apps. "credentials cannot be sent to a host other than the configured apprepo"

MikeLerch
Tera Contributor

NO applications will install in my PDI, immediately returning "Unable to download app package" in the UI. I dug into the system logs and found the errors in the attached log, the highlight of which is:


Blocked: credentials cannot be sent to a host other than the configured apprepo: https://appstoreprod.service-now.com/: no thrown error


I guess that makes sense, because the property sn_appclient.repository_base_url is set to https://apprepo.service-now.com/.  The thing is, I didn't set that (it's a default from a fresh PDI) and I can't change it.

What next, ServiceNow?  

4 REPLIES 4

Dr Atul - LNG
Tera Patron

Sync the plugin once and try again. If the error persists, wait a few days and try installing it again, as others may be experiencing the same issue. @MikeLerch 

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

MikeLerch
Tera Contributor

I tried the sync and that didn't help.  Fortunately even though the UI wouldn't let me edit the property, a global background script did. 

gs.info('Before: ' + gs.getProperty('sn_appclient.repository_base_url'));
gs.setProperty('sn_appclient.repository_base_url', 'https://appstoreprod.service-now.com/');
gs.info('After: ' + gs.getProperty('sn_appclient.repository_base_url'));

I ran that, and then everything worked.

Ben_Mannerings
Giga Contributor

I've been getting the same on this current pdi for the last couple of days. I released and regenerated to see if it would change anything, which it didn't. The PDI is on Zurich patch 13 and its been the same for multiple applications in very different areas, SecOps and now I have been trying to install the Service Exchange applications.

I have a slightly older PDI on patch 10 of zurich which was fine for installing Service Exchange. I'm upgrading it to patch 13 to see if its related to the patch specifically.

Tanushree Maiti
Tera Patron

Hi @MikeLerch 

 

Could you please mention which Application/plugin you are try to install in your PDI via Application Manager and getting "Unable to download app package"??

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti