Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

PS Connector Failed

Ratna
New Contributor II
New Contributor II

Hello

We created PS Connector, after completing all the prerequisites. Still the connection got failed. Can someone help with the setup.

Ratna_1-1724850751331.pngRatna_2-1724850946721.png

 

 

6 REPLIES 6

rushikeshvartak
All-Star
All-Star
  • You have issue with URL
  • Share JSON & logs in text

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

JSON

{
  "TESTCOMMAND": "SCRIPT=Test-NetConnection [****-******.***.quadrupel.local]",
  "RESPONSE": {
    "OBJECTTOREAD": "get(0).PingSucceeded",
    "SUCCESSVALUE": "TRUE"
  }

 

LOGS

2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-DEBUG-Calling webservice: ****-******.***.quadrupel.local
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-ERROR-Error occured in webservice call

2024-08-28T19:35:50+05:30-ecm--null-g5bld--com.sun.jersey.api.client.ClientHandlerException: java.lang.IllegalArgumentException: URI is not absolute at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:563) at com.saviynt.ecm.services.WindowsConnectorService.callRestWebService(WindowsConnectorService.groovy:154) at com.saviynt.ecm.services.WindowsConnectorService.testConnection(WindowsConnectorService.groovy:1470) at com.saviynt.ecm.integration.ExternalConnectionCallService.testExternalConnection(ExternalConnectionCallService.groovy:1058) at com.saviynt.ecm.utility.domain.EcmConfigController$_closure21.doCall(EcmConfigController.groovy:780) at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:158) at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62) at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59) at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69) at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82) at java.lang.Thread.run(Thread.java:750)Caused by: java.lang.IllegalArgumentException: URI is not absolute at java.net.URI.toURL(URI.java:1088) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:157) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147) ... 15 more
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-ERROR-Exception
2024-08-28T19:35:50+05:30-ecm--null-g5bld--com.sun.jersey.api.client.ClientHandlerException: java.lang.IllegalArgumentException: URI is not absolute at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:563) at com.saviynt.ecm.services.WindowsConnectorService.callRestWebService(WindowsConnectorService.groovy:154) at com.saviynt.ecm.services.WindowsConnectorService.testConnection(WindowsConnectorService.groovy:1470) at com.saviynt.ecm.integration.ExternalConnectionCallService.testExternalConnection(ExternalConnectionCallService.groovy:1058) at com.saviynt.ecm.utility.domain.EcmConfigController$_closure21.doCall(EcmConfigController.groovy:780) at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53) at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:158) at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62) at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59) at com.mrhaki.grails.plugin.xframeoptions.web.XFrameOptionsFilter.doFilterInternal(XFrameOptionsFilter.java:69) at com.brandseye.cors.CorsFilter.doFilter(CorsFilter.java:82) at java.lang.Thread.run(Thread.java:750)Caused by: java.lang.IllegalArgumentException: URI is not absolute at java.net.URI.toURL(URI.java:1088) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:157) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147) ... 15 more
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-DEBUG-Status to return is false
2024-08-28T19:35:50+05:30-ecm-services.WindowsConnectorService-http-nio-8080-exec-9-g5bld-DEBUG-Exit testConnection

Problem:

  • Error Message: java.lang.IllegalArgumentException: URI is not absolute

Possible Causes:

  1. Invalid URI Format: The URI used in the web service call might be incomplete or incorrectly formatted. An absolute URI should include the scheme (e.g., http:// or https://) and the full path to the resource.
  2. Configuration Issue: There may be a configuration issue where the URI is not properly set or passed to the web service client.

Solutions:

  1. Verify URI Format: Ensure that the URI you are using in the web service call is complete and correctly formatted. It should start with a scheme (like http:// or https://). For example:

    http://****-******.***.quadrupel.local
  2. Check Web Service Configuration: Review the configuration of your web service to ensure that the URI is correctly specified. Look for any missing components or misconfigurations in how the URI is being set.


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

@rushikeshvartak 

After using the "http://" for link, only the Webservice call error is coming. We checked the configuration also, everything is fine with that.

Does it working from postman ?


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

stalluri
Valued Contributor II
Valued Contributor II

@Ratna 
What response are you getting from Postman when doing a test connection on Postman?


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.