{"action":"created","issue":{"url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/issues/22","labels_url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/issues/22/comments","events_url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/issues/22/events","html_url":"https://github.com/Cantara/Whydah-Java-SDK/issues/22","id":125768048,"number":22,"title":"Timeouts when trying to Authenticate","user":{"login":"colincoleman","id":2964023,"avatar_url":"https://avatars.githubusercontent.com/u/2964023?v=3","gravatar_id":"","url":"https://api.github.com/users/colincoleman","html_url":"https://github.com/colincoleman","followers_url":"https://api.github.com/users/colincoleman/followers","following_url":"https://api.github.com/users/colincoleman/following{/other_user}","gists_url":"https://api.github.com/users/colincoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/colincoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colincoleman/subscriptions","organizations_url":"https://api.github.com/users/colincoleman/orgs","repos_url":"https://api.github.com/users/colincoleman/repos","events_url":"https://api.github.com/users/colincoleman/events{/privacy}","received_events_url":"https://api.github.com/users/colincoleman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"totto","id":842543,"avatar_url":"https://avatars.githubusercontent.com/u/842543?v=3","gravatar_id":"","url":"https://api.github.com/users/totto","html_url":"https://github.com/totto","followers_url":"https://api.github.com/users/totto/followers","following_url":"https://api.github.com/users/totto/following{/other_user}","gists_url":"https://api.github.com/users/totto/gists{/gist_id}","starred_url":"https://api.github.com/users/totto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totto/subscriptions","organizations_url":"https://api.github.com/users/totto/orgs","repos_url":"https://api.github.com/users/totto/repos","events_url":"https://api.github.com/users/totto/events{/privacy}","received_events_url":"https://api.github.com/users/totto/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/milestones/5","html_url":"https://github.com/Cantara/Whydah-Java-SDK/milestones/Next%20Tasks","labels_url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/milestones/5/labels","id":1179007,"number":5,"title":"Next Tasks","description":"Stuff we’ll probably do soon: this is a standing “Next Tasks” milestone. We never change or rename this milestone.\r\n\r\nRef: http://www.ianbicking.org/blog/2014/03/use-github-issues-to-organize-a-project.html","creator":{"login":"totto","id":842543,"avatar_url":"https://avatars.githubusercontent.com/u/842543?v=3","gravatar_id":"","url":"https://api.github.com/users/totto","html_url":"https://github.com/totto","followers_url":"https://api.github.com/users/totto/followers","following_url":"https://api.github.com/users/totto/following{/other_user}","gists_url":"https://api.github.com/users/totto/gists{/gist_id}","starred_url":"https://api.github.com/users/totto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/totto/subscriptions","organizations_url":"https://api.github.com/users/totto/orgs","repos_url":"https://api.github.com/users/totto/repos","events_url":"https://api.github.com/users/totto/events{/privacy}","received_events_url":"https://api.github.com/users/totto/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2015-06-24T10:16:32Z","updated_at":"2016-01-09T17:07:42Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-01-09T16:30:56Z","updated_at":"2016-01-10T08:41:44Z","closed_at":null,"body":"Sorry for the lack of detail on what happened or how to reproduce...\r\n\r\nAll places including the SSO login screen where a username and password are provided were timing out.\r\n\r\nI first checked all the services were running on the Whydah backend and Whydah public servers - all services were running.\r\n\r\nSince I was able to get a login screen from the frontend server I decided to try restarting the backend services (both the UserIdentityBackend and the whydah-uib-ldap).\r\n\r\nAfter restarting these I was still getting the same errors.\r\n\r\nI followed up by restarting the securityTokenService on the Whydah public service and everything started to work as expected.\r\n\r\n\r\n[errormessage1.txt](https://github.com/Cantara/Whydah-Java-SDK/files/83741/errormessage1.txt)"},"comment":{"url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/issues/comments/170326401","html_url":"https://github.com/Cantara/Whydah-Java-SDK/issues/22#issuecomment-170326401","issue_url":"https://api.github.com/repos/Cantara/Whydah-Java-SDK/issues/22","id":170326401,"user":{"login":"baardl","id":167524,"avatar_url":"https://avatars.githubusercontent.com/u/167524?v=3","gravatar_id":"","url":"https://api.github.com/users/baardl","html_url":"https://github.com/baardl","followers_url":"https://api.github.com/users/baardl/followers","following_url":"https://api.github.com/users/baardl/following{/other_user}","gists_url":"https://api.github.com/users/baardl/gists{/gist_id}","starred_url":"https://api.github.com/users/baardl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baardl/subscriptions","organizations_url":"https://api.github.com/users/baardl/orgs","repos_url":"https://api.github.com/users/baardl/repos","events_url":"https://api.github.com/users/baardl/events{/privacy}","received_events_url":"https://api.github.com/users/baardl/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T08:41:44Z","updated_at":"2016-01-10T08:41:44Z","body":"Restart of STS:\r\n09:34:32.961 [Grizzly(7)] INFO  net.whydah.token.config.AppConfig - Property: DEFCON, value 5\r\n09:34:32.963 [Grizzly(7)] ERROR n.w.t.a.ApplicationAuthentication - Error in verifyApplicationCredentials.\r\ncom.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!\r\n\tat com.hazelcast.spi.AbstractDistributedObject.getService(AbstractDistributedObject.java:93) ~[SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.hazelcast.map.impl.proxy.MapProxySupport.toData(MapProxySupport.java:1122) ~[SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.hazelcast.map.impl.proxy.MapProxyImpl.put(MapProxyImpl.java:95) ~[SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.hazelcast.map.impl.proxy.MapProxyImpl.put(MapProxyImpl.java:87) ~[SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat net.whydah.token.application.AuthenticatedApplicationRepository.addApplicationToken(AuthenticatedApplicationRepository.java:51) ~[SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat net.whydah.token.application.ApplicationAuthentication.checkAppsecretFromUAS(ApplicationAuthentication.java:204) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat net.whydah.token.application.ApplicationAuthentication.verifyApplicationCredentials(ApplicationAuthentication.java:175) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat net.whydah.token.application.ApplicationAuthentication.logonApplication(ApplicationAuthentication.java:94) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) ~[na:na]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51]\r\n\tat java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51]\r\n\tat com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:187) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:71) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:280) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1341) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1273) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1223) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1213) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.servlet.ServletHandler$FilterChainImpl.doFilter(ServletHandler.java:987) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.google.inject.servlet.DefaultFilterPipeline.dispatch(DefaultFilterPipeline.java:43) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.servlet.ServletHandler$FilterChainImpl.doFilter(ServletHandler.java:971) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.servlet.ServletHandler$FilterChainImpl.invokeFilterChain(ServletHandler.java:930) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.servlet.ServletHandler.doServletService(ServletHandler.java:382) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.servlet.ServletHandler.service(ServletHandler.java:330) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:163) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.http.server.HttpHandlerChain.service(HttpHandlerChain.java:207) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:163) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:161) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:219) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:149) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:127) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:835) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:103) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:111) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:131) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:572) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:552) [SecurityTokenService-2.1-ALPHA-13.jar:2.1-ALPHA-13]\r\n\tat java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]\r\n"}}