Agate errors after upgrade to opal 2.7.6

75 views
Skip to first unread message

Dmitry Kuznetsov

unread,
Apr 21, 2017, 11:22:43 AM4/21/17
to obiba-users
Hello,


I upgraded my opal to 2.7.6. 

if I try to login opal, log file contains error [no matter if login succeeds or not]:

ERROR org.obiba.shiro.realm.ObibaRealm - Impossible to contact identification server: [I/O error on POST request for "https://localhost:8444/ws/tickets?rememberMe=false":Connect to localhost:8444 [localhost/127.0.0.1] failed: Connection refused; nested exception is org.apache.http.conn.HttpHostConnectException: Connect to localhost:8444 [localhost/127.0.0.1] failed: Connection refused]
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://localhost:8444/ws/tickets?rememberMe=false":Connect to localhost:8444 [localhost/127.0.0.1] failed: Connection refused; nested exception is org.apache.http.conn.HttpHostConnectException: Connect to localhost:8444 [localhost/127.0.0.1] failed: Connection refused


before the upgrade, opal logged just notifications, e.g.:

INFO  org.obiba.shiro.realm.ObibaRealm - Connecting to Agate: https://localhost:8444


Should I somehow activate Agate to make it listening port 8444? Or deactivate attempts to connect to Agate?

Thanks,
Dmitry.

Ramin Maelstrom

unread,
Apr 21, 2017, 1:00:15 PM4/21/17
to obiba...@googlegroups.com
Hi Dmitry,

Sorry for the obvious question but are both Opal and Agate accessible? If Agate is not running then you must start it, if you don't, Opal will still be functional but you cannot use any Agate users.

Best,
Ramin



--
You received this message because you are subscribed to the Google Groups "obiba-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to obiba-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dmitry Kuznetsov

unread,
Apr 21, 2017, 4:38:59 PM4/21/17
to obiba-users
Hi Ramin,

Opal is of course up and running, but Agate is not. 
My turn to say sorry for a trivial question: is Agate has to be installed and/or started separately from Opal? I never installed/started Agate while previous Opal version 2.5.6 was in use. Obviously, I have no user accounts managed by Agate, rather I use Crowd.

But even if Agate is not accessible, this should not end up in an error in Opal, IMHO.

Thanks,
Dmitry.

To unsubscribe from this group and stop receiving emails from it, send an email to obiba-users...@googlegroups.com.

Yannick Marcon

unread,
Apr 24, 2017, 5:59:06 AM4/24/17
to obiba...@googlegroups.com
Hi,

If you specify an explicitly empty org.obiba.realm.url property in the opal-config.properties file, opal will not include Agate realm in the user lookup.

====
# Agate server URL
org.obiba.realm.url=
====

I have added the missing documentation about this:

Regards
Yannick

To unsubscribe from this group and stop receiving emails from it, send an email to obiba-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages