Problems accesing to /cas/statistics

159 views
Skip to first unread message

carlos maddaleno cuellar

unread,
Sep 30, 2016, 12:02:18 PM9/30/16
to CAS Community
Hi i wanted to know if someone could help me i deployed my cas server to my develop server

so in my localhost http://localhost:8080/cas/statistics i can view it son no problem

but when i try to acces to my develop server on http://172.18.141.35:8080/cas/statistics

it says

Imágenes integradas 1


so i wanted to know what ip do i have tu put on my cas.properties

on my localhost i have
cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1

and on my develop server

cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::415b:2fad:bb51:1b6c%15

so the ip of my computer is 172.18.14.180 i have to put my ip or the server ip 172.18.141.35 please help

thanks

Jérôme LELEU

unread,
Sep 30, 2016, 12:10:36 PM9/30/16
to carlos maddaleno cuellar, CAS Community
Hi,

You should put the incoming IP, so generally your IP, but you must be sure this is really the IP sent to the develop server.

What IP address do you see in the logs of your develop server when you call it?

Thanks.
Best regards,
Jérôme


--
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+unsubscribe@apereo.org.
To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANEG9%2BdohjQ1YO8hs_uV2Sw_mrNzw9cp7xsAaC%3DcdWPK8_C4pw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

carlos maddaleno cuellar

unread,
Sep 30, 2016, 12:11:55 PM9/30/16
to Jérôme LELEU, CAS Community
hi this is the error my server is showing when i try to acces

ERROR [org.pac4j.http.client.direct.IpClient] - <Failed to retrieve or validate credentials
org.pac4j.core.exception.CredentialsException: Unauthorized IP address: 172.18.14.180 -->my ip addres


2016-09-30 10:10 GMT-06:00 Jérôme LELEU <lel...@gmail.com>:
Hi,

You should put the incoming IP, so generally your IP, but you must be sure this is really the IP sent to the develop server.

What IP address do you see in the logs of your develop server when you call it?

Thanks.
Best regards,
Jérôme

2016-09-30 18:02 GMT+02:00 carlos maddaleno cuellar <iamcarlos...@gmail.com>:
Hi i wanted to know if someone could help me i deployed my cas server to my develop server

so in my localhost http://localhost:8080/cas/statistics i can view it son no problem

but when i try to acces to my develop server on http://172.18.141.35:8080/cas/statistics

it says

Imágenes integradas 1


so i wanted to know what ip do i have tu put on my cas.properties

on my localhost i have
cas.securityContext.adminpages.ip=127\.0\.0\.1|0:0:0:0:0:0:0:1

and on my develop server

cas.securityContext.adminpages.ip=172\.18\.14\.180|fe80::415b:2fad:bb51:1b6c%15

so the ip of my computer is 172.18.14.180 i have to put my ip or the server ip 172.18.141.35 please help

thanks

--
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.

Jérôme LELEU

unread,
Sep 30, 2016, 12:18:26 PM9/30/16
to carlos maddaleno cuellar, CAS Community
Hi,

Indeed, this is very strange. I don't see any obvious reason.

Can you access your develop server using a .* pattern? My guess is that the pattern is not taken into account...

Thanks.
Best regards,
Jérôme


To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.

To post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.

carlos maddaleno cuellar

unread,
Sep 30, 2016, 12:19:54 PM9/30/16
to Jérôme LELEU, CAS Community
hi thanks i could acces i had to reload the application from my application server so i have another cuestion sorry

my question is can i have multiple ip's like this

cas.securityContext.adminpages.ip=172.18.14.180|172.18.15.35

thanks

Reply all
Reply to author
Forward
0 new messages