Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Re: Grouper WS Error

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Re: Grouper WS Error


Chronological Thread 
  • From: Akki Kumar <>
  • To: "Hyzer, Chris" <>
  • Cc: "" <>
  • Subject: [grouper-users] Re: Grouper WS Error
  • Date: Fri, 8 Sep 2017 13:31:01 -0400
  • Ironport-phdr: 9a23:fGyImx2dgEgWQi7RsmDT+DRfVm0co7zxezQtwd8ZseMeKPad9pjvdHbS+e9qxAeQG96Ku7Qc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q89pDXYAhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb5Q6o0WTC/5Kl1ThHmhjoMOzok/G3Lj8B9ir9QrhC8qBxl24PbYo+VOvpwcK3eYN0UW3ZOU91LWCBdGI6xdZcDA/YDMOtesoLzp0EOrRy7BQS0GO7vyTxIhn7r1qM/zuQhFBvJ3BY9FN8JqnvUqc/6NaYTUeCzw6nI1CjDYO1N2Tfh6YjIdRYhoeqQUb5sc8fc0kYvFwbfgVWRrYzpJS+a1uMIs2WC6edrSOyhi2kiqw5rozivwN8hiobOhoISxVDE8Tt2zJwpKt2/TU53edGkEJpMtyGaKot5WdkuTH1vuCY/0rEGtoS7fC8XyJQ/2RHfceaLcoaT4h77UOaRJjh4hH17d72inRqy8E6gxvX+VsauzlZFtDBJkt/SuXARzxDT7s+HSvRy/ki/wzaDzR7c5fxZIU0yiKHVKIYhz6YumpcSrUjOHCr7mEv1gaCNakkp/+el5/j7brr7o5KTK5N4hwX7P6krhMCzH/g3Pw4TVGaB4+u8zqfs/UjhTbVKkPI2lq7ZvYjfJcsBp665BxZZ0p8g6xqjFjun38oUkWcbI15fdxKHiI/pO17KIP/mF/uwn1OskDJzy/DHOL3uHInNI2DdnLrgYbpw6UtRyAQwwN9E+55ZD74MLO7vVkDssdHXEgM1PgixzuviFtlxyJ8RVXqKAqCDMaPStVGI5vgoI+mJfIIaojP9JOIk5v7vi385lkYdfbS30psMdHC4H/NmI0OCYXbwntsME3wHvgU7TOPwiV2CVSRfaGq1X6I5/j07Ep6pDZ/fRoCxh7yMxCi7HodRZmBbElCDD23oe5yZW/cXdi2SONRhnycAVbigUI8hyQquuBHgx7pmKOrU5jMXtYjl1Ndr++3fiws++iJpAMSAgCmxSDQ+vnIaSiVylIt/u01mgB/X1KN4ku5VD/RS/PgPTx83M5iawuBnXYPcQAXEK/6KS1fuYcijCCt5Gts0ys0PZUlkBti5khHE2THyW+A9mLmCBZhy+aXZiSuib/1hwmrLgfFyx2ItRdFCYDT+iw==

Hi Chris,

I'm using GcHasMember() and GcGetMembers() to get users from the group. In the grouper-ws.properties, I am only using ws.security.prependToUserIdForSubjectLookup = etc:servicePrincipals: 

I am setting up the environment to debug further, couple more questions:
  • Any idea if GcHasMember() and GcGetMembers() some how calling actAs method? or Is there work around?

Thank you,
Akki

On Wed, Sep 6, 2017 at 8:51 PM, Hyzer, Chris <> wrote:

Might be searching your sources for the logged in subject.  Still a little concerning if a subject lookup takes that long.

 

Can you try setting this in grouper-ws.properties?

 

# if you have subject namespace overlap (or not), set the default subject

# sources (comma-separated) to lookup the user if none specified in user name

ws.logged.in.subject.default.source =

 

Put the source id of the source that the logged in subject should be in.  If it is LDAP then this wont help…

 

When you do a search in GSH for the logged in subject does it take a while?  Maybe tune your subject source?

 

Just curious is your web service request using an actAs?

 

Thanks

Chris

 

From: Akki Kumar [mailto:]
Sent: Wednesday, September 06, 2017 5:19 PM
To: Hyzer, Chris <>
Cc:
Subject: Re: Grouper WS Error

 

Hi Chris,

 

I troubleshoot the timeout error and pinpoint to the Class LdapClient.java ==>  getSearchReply(LdapRequest, int, LdapResult, Hashtable) method. The part that I'm not sure is why does Grouper WS searching LDAP, any idea?

 

I added a screenshot below that pinpoint error method:

 

 

 

Any guidance to fixed the timeout issue is truly appreciated. 

 

Thank you,

Akki

 

 

 

On Wed, Sep 6, 2017 at 11:00 AM, Hyzer, Chris <> wrote:

do you see a timeout setting in the client you can increase?  

can you analyze tables in the grouper database to make calls quicker?  maybe bounce the WS?  rebuild indexes?


From: Akki Kumar <>
Sent: Wednesday, August 30, 2017 4:25 PM
To: Hyzer, Chris
Cc:
Subject: Grouper WS Error

 

Hi Chris,

 

Currently, I am working on integrating the application with the Grouper WS. When I run the application, it takes around 20-30 seconds (a little longer) to get a response from the WS and after some times, it throws an error (Caused by: java.net.SocketTimeoutException: Read timed out - in the link below). After troubleshooting, the root cause is Grouper WS is not very responsive or having a stale connection. Is there a way to fix below issue?

 

 

Note: There are no errors in the grouper_error.log file.   

 

Any guidance is truly appreciated.

 

Thank you,

Akki

 





Archive powered by MHonArc 2.6.19.

Top of Page