Connection Refused issue in clustered environment

43 views
Skip to first unread message

Morning Star

unread,
Feb 28, 2021, 1:54:25 PM2/28/21
to CAS Community
Hi Team,

I am working on CAS upgrade from 3.+ version to 6.2.2.
In clustered environment, I am facing an issue. 
I am able to login successfully. On click of document link inside my homepage, we are connecting to another domain to fetch document.
We are getting some port number appended in URL like below:

In previous implementation, I suspect, this may be configured as a part of cluster environment. We are using tomcat server for CAS and for document we are using websphere.  

We could see configuration something like below:
    Proxy Pass /documents  https://server2.int.com:11611/ex/cps
Proxy PassReverse /documents https://server2.int.com:11611/ex/cps

Proxy PassReverse /ex/cps https://server2.int.com:11611/ex/cps

    Proxy Pass /cas https://server1.int.com:10511/cas
    Proxy PassReverse /cas https://server1.int.com:10511/cas
Can someone please explain why it is configured like this with port number? 
How to make this work?
Whether change needs to be done from developer side or DevOps/Configuration Management team?
Do we have any other way to handle this?

Thanks in advance!

Regards,
Anusuya.

Nguyen Tran Thanh Lam

unread,
Feb 28, 2021, 8:36:46 PM2/28/21
to CAS Community
Hi,
With my experience, you have two way to deploy CAS as cluster:
1. Use dockerfile of CAS > build docker > deploy docker on rancher. You can increase rancher pod to create cluster.
2. If you don't use dockerfile, you could config CAS behind HA Proxy
BRs

Vào Th 2, 1 thg 3, 2021 vào lúc 01:54 Morning Star <anusu...@gmail.com> đã viết:
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/a30311c2-e29c-4980-a901-b186e37daa07n%40apereo.org.

Morning Star

unread,
Mar 3, 2021, 3:46:56 AM3/3/21
to CAS Community, Napoleon Ponaparte
Hi Napolean,

Thanks for your response.
We fixed the issue. Actually, cas-client-core jar has UriBuilder.java class. Here, port number was appended and sent.
We unpackaged the jar and commented the port number appending section. After that, our application works as expected.

Regards,
Anusuya.
Reply all
Reply to author
Forward
0 new messages