Question

7
Replies
1935
Views
ZhangH50 Member since 2016 1 post
huawei
Posted: December 21, 2016
Last activity: October 4, 2018
Closed
Solved

prpcServiceUtils command line 401 error

When I use prpcServiceUtils.sh to export my application to zip.It threw execption:

[java]
[java] 18:18:13.622 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - DefaultSystem: Parsing response
[java] 18:18:13.622 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - DefaultSystem: Parsing response of length 1468
[java] 18:18:13.624 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - DefaultSystem: Parsing content of type text/html; charset=UTF-8
[java] 18:18:13.629 [main] INFO [viceclient.requestmanager.RequestManager] - Request on system DefaultSystem failed
[java]
[java]
[java] FAILED JOBS
[java] System Name : DefaultSystem
[java] Status Message : HTTP/1.1 401 Unauthorized
[java]
[java]
[java] 18:18:13.637 [main] INFO [viceclient.requestmanager.RequestManager] - Shutting down executor service
[java] 18:18:13.637 [main] INFO [viceclient.requestmanager.RequestManager] - Executor Service shutdown completed
[java] Exception in thread "main" Operation EXPORT failed on DefaultSystem,
[java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:117)
[java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:62)

BUILD FAILED

In the error log ,it says "2016-12-21 17:04:33.590 [pool-2-thread-1] ERROR [egarules.serviceclient.rest.RestResponse] - DefaultSystem: Error while executing request 1 using URL http://XX.XX.XX.XX:17001/prweb/PRRestService/SystemManagement/v1/pzExport HTTP/1.1 401 Unauthorized"

I guess it is the access group to the API that causes the problem.

How I can do?Thank you.

***Updated by moderator: Lochan to update Categories***

***Updated by Moderator: Marissa to remove proprietary information***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Security System Administration
Moderation Team has archived post
Share this page LinkedIn