talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Connection to the Services API failed. Service layer may have failed to start or needs to be restarted.

DC
Darcy Christ
Mon, Nov 28, 2016 4:49 AM

Hi,

It has been a hard struggle to build everything right. I am now getting to the interface, but the service layer seems to be broken. When I try to log in, I get the following:

Connection to the Services API failed. Service layer may have failed to start or needs to be restarted.

What can I do to resolve or debug this?

Regards,
Darcy

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg

Hi, It has been a hard struggle to build everything right. I am now getting to the interface, but the service layer seems to be broken. When I try to log in, I get the following: Connection to the Services API failed. Service layer may have failed to start or needs to be restarted. What can I do to resolve or debug this? Regards, Darcy Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg
DC
Darcy Christ
Mon, Nov 28, 2016 6:30 AM

To follow up on this. I have successfully built ui, application and services and imported the db using ant.

This page loads, but fails on login, as described before:
http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html

This does not work:

http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html

Initialization does not work at all:

http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise
http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg

On Nov 28, 2016, at 12:49 PM, Darcy Christ darcy@1000camels.com wrote:

Hi,

It has been a hard struggle to build everything right. I am now getting to the interface, but the service layer seems to be broken. When I try to log in, I get the following:

Connection to the Services API failed. Service layer may have failed to start or needs to be restarted.

What can I do to resolve or debug this?

Regards,
Darcy

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg http://bit.ly/SecureMsg


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

To follow up on this. I have successfully built ui, application and services and imported the db using ant. This page loads, but fails on login, as described before: http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html <http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html> This does not work: http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html <http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html> Initialization does not work at all: http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise <http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise> http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise <http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise> Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg > On Nov 28, 2016, at 12:49 PM, Darcy Christ <darcy@1000camels.com> wrote: > > Hi, > > It has been a hard struggle to build everything right. I am now getting to the interface, but the service layer seems to be broken. When I try to log in, I get the following: > > Connection to the Services API failed. Service layer may have failed to start or needs to be restarted. > > What can I do to resolve or debug this? > > > Regards, > Darcy > > > Darcy W. Christ > Digital Generalist > @1000camels > > To send me a secure message: http://bit.ly/SecureMsg <http://bit.ly/SecureMsg> > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
DC
Darcy Christ
Mon, Nov 28, 2016 6:52 AM

And a little more information;

I tried the init-authorities.sh script. I think this just reflects what I am seeing on the site:

[cspace@UMAG-VM ~]$ bash init-authorities.sh
Logging into the 'core' tenant ...
curl: (7) couldn't connect to host
Could not obtain an authorization Cookie for the 'core' tenant ...
Skipping the step of initializing authorities for that tenant ...
Logging into the 'lifesci' tenant ...
curl: (7) couldn't connect to host
Could not obtain an authorization Cookie for the 'lifesci' tenant ...
Skipping the step of initializing authorities for that tenant ...
Logging into the 'fcart' tenant ...
curl: (7) couldn't connect to host
Could not obtain an authorization Cookie for the 'fcart' tenant ...
Skipping the step of initializing authorities for that tenant …

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg

On Nov 28, 2016, at 2:30 PM, Darcy Christ darcy@1000camels.com wrote:

To follow up on this. I have successfully built ui, application and services and imported the db using ant.

This page loads, but fails on login, as described before:
http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html

This does not work:

http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html

Initialization does not work at all:

http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise
http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg http://bit.ly/SecureMsg

On Nov 28, 2016, at 12:49 PM, Darcy Christ <darcy@1000camels.com mailto:darcy@1000camels.com> wrote:

Hi,

It has been a hard struggle to build everything right. I am now getting to the interface, but the service layer seems to be broken. When I try to log in, I get the following:

Connection to the Services API failed. Service layer may have failed to start or needs to be restarted.

What can I do to resolve or debug this?

Regards,
Darcy

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg http://bit.ly/SecureMsg


Talk mailing list
Talk@lists.collectionspace.org mailto:Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

And a little more information; I tried the init-authorities.sh script. I think this just reflects what I am seeing on the site: [cspace@UMAG-VM ~]$ bash init-authorities.sh Logging into the 'core' tenant ... curl: (7) couldn't connect to host Could not obtain an authorization Cookie for the 'core' tenant ... Skipping the step of initializing authorities for that tenant ... Logging into the 'lifesci' tenant ... curl: (7) couldn't connect to host Could not obtain an authorization Cookie for the 'lifesci' tenant ... Skipping the step of initializing authorities for that tenant ... Logging into the 'fcart' tenant ... curl: (7) couldn't connect to host Could not obtain an authorization Cookie for the 'fcart' tenant ... Skipping the step of initializing authorities for that tenant … Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg > On Nov 28, 2016, at 2:30 PM, Darcy Christ <darcy@1000camels.com> wrote: > > To follow up on this. I have successfully built ui, application and services and imported the db using ant. > > This page loads, but fails on login, as described before: > http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html <http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html> > > This does not work: > > http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html <http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html> > > Initialization does not work at all: > > http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise <http://heritage.hku.hk:8180/collectionspace/tenant/core/authorities/initialise> > http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise <http://heritage.hku.hk:8180/collectionspace/tenant/lifesci/authorities/initialise> > > Darcy W. Christ > Digital Generalist > @1000camels > > To send me a secure message: http://bit.ly/SecureMsg <http://bit.ly/SecureMsg> > > >> On Nov 28, 2016, at 12:49 PM, Darcy Christ <darcy@1000camels.com <mailto:darcy@1000camels.com>> wrote: >> >> Hi, >> >> It has been a hard struggle to build everything right. I am now getting to the interface, but the service layer seems to be broken. When I try to log in, I get the following: >> >> Connection to the Services API failed. Service layer may have failed to start or needs to be restarted. >> >> What can I do to resolve or debug this? >> >> >> Regards, >> Darcy >> >> >> Darcy W. Christ >> Digital Generalist >> @1000camels >> >> To send me a secure message: http://bit.ly/SecureMsg <http://bit.ly/SecureMsg> >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org <mailto:Talk@lists.collectionspace.org> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org
JB
John B Lowe
Mon, Nov 28, 2016 5:15 PM

Darcy,

Sorry to hear you're having problems.

I was able to login in to your core tenant at:

http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html

using the admin login that shows on the page.

It was slow to respond, but eventually, I did get the Find and Edit page
and do a search at:

http://heritage.hku.hk:8180/collectionspace/ui/core/html/findedit.html?recordtype=cataloging&keywords=

Good luck!

John Lowe
Service Manager
CollectionSpace@UCB

Darcy, Sorry to hear you're having problems. I was able to login in to your core tenant at: http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html using the admin login that shows on the page. It was slow to respond, but eventually, I did get the Find and Edit page and do a search at: http://heritage.hku.hk:8180/collectionspace/ui/core/html/findedit.html?recordtype=cataloging&keywords= Good luck! John Lowe Service Manager CollectionSpace@UCB
DC
Darcy Christ
Fri, Dec 2, 2016 1:39 AM

Thank you, John, for your reply.

Yes, it all seems to be working now. I have even created two new tenants and added data. Yippee!!!

Interestingly, I am still having trouble accessing lifesci: http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html
Not sure I should be worried about that.

Also, I am still not able to use the init-authorities.sh script.

[cspace@UMAG-VM ~]$ bash init-authorities.sh
Logging into the 'core' tenant ...
curl: (7) couldn't connect to host
Could not obtain an authorization Cookie for the 'core' tenant ...
Skipping the step of initializing authorities for that tenant ...
Logging into the 'lifesci' tenant ...
curl: (7) couldn't connect to host
Could not obtain an authorization Cookie for the 'lifesci' tenant ...
Skipping the step of initializing authorities for that tenant ...
Logging into the 'fcart' tenant ...
curl: (7) couldn't connect to host
Could not obtain an authorization Cookie for the 'fcart' tenant ...
Skipping the step of initializing authorities for that tenant ...

Darcy W. Christ
Digital Generalist
@1000camels

To send me a secure message: http://bit.ly/SecureMsg

On Nov 29, 2016, at 1:15 AM, John B Lowe jblowe@berkeley.edu wrote:

Darcy,

Sorry to hear you're having problems.

I was able to login in to your core tenant at:

http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html

using the admin login that shows on the page.

It was slow to respond, but eventually, I did get the Find and Edit page and do a search at:

http://heritage.hku.hk:8180/collectionspace/ui/core/html/findedit.html?recordtype=cataloging&keywords= http://heritage.hku.hk:8180/collectionspace/ui/core/html/findedit.html?recordtype=cataloging&keywords=

Good luck!

John Lowe
Service Manager
CollectionSpace@UCB

Thank you, John, for your reply. Yes, it all seems to be working now. I have even created two new tenants and added data. Yippee!!! Interestingly, I am still having trouble accessing lifesci: http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html <http://heritage.hku.hk:8180/collectionspace/ui/lifesci/html/index.html> Not sure I should be worried about that. Also, I am still not able to use the init-authorities.sh script. [cspace@UMAG-VM ~]$ bash init-authorities.sh Logging into the 'core' tenant ... curl: (7) couldn't connect to host Could not obtain an authorization Cookie for the 'core' tenant ... Skipping the step of initializing authorities for that tenant ... Logging into the 'lifesci' tenant ... curl: (7) couldn't connect to host Could not obtain an authorization Cookie for the 'lifesci' tenant ... Skipping the step of initializing authorities for that tenant ... Logging into the 'fcart' tenant ... curl: (7) couldn't connect to host Could not obtain an authorization Cookie for the 'fcart' tenant ... Skipping the step of initializing authorities for that tenant ... Darcy W. Christ Digital Generalist @1000camels To send me a secure message: http://bit.ly/SecureMsg > On Nov 29, 2016, at 1:15 AM, John B Lowe <jblowe@berkeley.edu> wrote: > > Darcy, > > Sorry to hear you're having problems. > > I was able to login in to your core tenant at: > > http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html <http://heritage.hku.hk:8180/collectionspace/ui/core/html/index.html> > > using the admin login that shows on the page. > > It was slow to respond, but eventually, I did get the Find and Edit page and do a search at: > > http://heritage.hku.hk:8180/collectionspace/ui/core/html/findedit.html?recordtype=cataloging&keywords= <http://heritage.hku.hk:8180/collectionspace/ui/core/html/findedit.html?recordtype=cataloging&keywords=> > > Good luck! > > John Lowe > Service Manager > CollectionSpace@UCB > > >