Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


REST Client Error: { "error" : "Authentication Service Unavailable"}

asked 2015-07-14 07:08:49 -0700

theScratchLad gravatar image

I am trying to develope a simple karaf feature using the information given in this page (

Everything is okay with BUILD SUCCESS. But when I run the controller and try to invoke the HELLO WORLD RPC from the POSTMAN Client. I get the error in json format as:

{ "error": "Authentication service unavailable" }

Can anybody tell me what can I do to resolve this problem?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-14 08:10:35 -0700

updated 2015-07-20 14:01:55 -0700


Please make sure you have implemented the createInstance() because by default it throws an exception. Here are some example that will hopefully get you unstuck:

Example 1:




edit flag offensive delete publish link more


are u insisiting me to let the controller run for a while longer and then I must issue the REST client?

theScratchLad ( 2015-07-14 22:00:05 -0700 )edit

I waited for half hour to let the controller to run. I found the following error. 2015-07-15 10:51:28,030 | ERROR | qtp145113606-57 | ContainerResponse | 207 - com.sun.jersey.jersey-server - 1.17.0 | Mapped exception to response: 503 (Service Unavailable)

theScratchLad ( 2015-07-14 22:53:01 -0700 )edit

I am getting this error while waited long. Exception in thread "config-pusher" java.lang.IllegalStateException: Error - getInstance() failed for ModuleIdentifier{factoryName='hello', instanceName='hello-default'} in transaction TransactionIdentifier{name='ConfigTransaction-47-49'}

theScratchLad ( 2015-07-14 23:27:04 -0700 )edit

Did you implement the getInstance() function ? By default, I think it throws an exception.

grmontpetit ( 2015-07-15 15:15:19 -0700 )edit

No I didn't implement getInstance() function anywhere. How should I do it and where?

theScratchLad ( 2015-07-17 06:54:52 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-07-14 07:08:49 -0700

Seen: 1,919 times

Last updated: Jul 20 '15