Hi Kay,

Thanks for the quick response. I just wanted to circle back and verify that 
I actually got this resolved already and indeed one of the issues was the 
double quotes in the encrypted SHA-256 string. I also had to rename the 
cluster.name for Elasticsearch autodiscoverry.

Thanks again!
-=b=-

On Wednesday, January 15, 2014 2:43:33 AM UTC-8, Kay Röpke wrote:
>
> Hi!
>
> The root password must be a SHA-256 string, the one you quoted below looks 
> like a sha1 to me.
> Also, the graylog2-server does not support quotes in the values, that's 
> why it doesn't work for you.
>
> The hashing Lennart mentioned in that issue is for users stored in 
> mongodb, but those are different to the admin user (which is not stored in 
> mongodb at all).
>
> If you use SHA-256 and leave out the quotes in the config, everything 
> should work :)
>
> Best,
> Kay
>
> On Wednesday, January 15, 2014 1:23:20 AM UTC+1, Brandon Nickell wrote:
>>
>> Greetings,
>>
>> First and foremost congratulations on the new release candidate 1. I'm 
>> currently having the following issue with 0.20.0 RC1:
>>
>> After installing Graylog server, web-interface and the current version of 
>> Elasticsearch 0.90.10, I'm unable to log in to the web interface with 
>> "Sorry, those credentials are invalid."
>>
>> I'm actually seeing the exact same stacktrace as reported by Lennart in 
>> https://github.com/Graylog2/graylog2-web-interface/issues/432<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FGraylog2%2Fgraylog2-web-interface%2Fissues%2F432&sa=D&sntz=1&usg=AFQjCNGoH1h7f3s5y1r63otwRzC-rZTFmw>which
>>  seems to note in the associated fix that passwords are now using 
>> SHA-1 encryption instead of SHA-256 (the installation guide in RC1 still 
>> seems to say to use shasum -a 256 despite this). I actually tried 
>> generating passwords under both formats and I'm still getting the same 
>> message. Here's the full stacktrace from the log:
>>
>> 2014-01-14 16:04:17,143 WARN : 
>> org.graylog2.rest.resources.system.SessionsResource - Unable to log in user 
>> admin
>> org.apache.shiro.authc.AuthenticationException: No account information 
>> found for authentication token 
>> [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false] by 
>> this Authenticator instance.  Please check that it is configured correctly.
>> at 
>> org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:202)
>> at 
>> org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
>> at 
>> org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)
>> at 
>> org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)
>> at 
>> org.graylog2.rest.resources.system.SessionsResource.newSession(SessionsResource.java:77)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at 
>> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
>> at 
>> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
>> at 
>> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
>> at 
>> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)
>> at 
>> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
>> at 
>> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:402)
>> at 
>> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:349)
>> at 
>> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:106)
>> at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:259)
>> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
>> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
>> at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
>> at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
>> at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
>> at 
>> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318)
>> at 
>> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:236)
>> at 
>> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1010)
>> at 
>> org.graylog2.jersey.container.netty.NettyContainer.messageReceived(NettyContainer.java:254)
>> at 
>> org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
>> at 
>> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>> at 
>> org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
>> at 
>> org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:142)
>> at 
>> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>> at 
>> org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
>> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
>> at 
>> org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)
>> at 
>> org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
>> at 
>> org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
>> at 
>> org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
>> at 
>> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
>> at 
>> org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
>> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
>> at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
>> at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
>> at 
>> org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
>> at 
>> org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
>> at 
>> org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
>> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
>> at 
>> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
>> at 
>> org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
>> at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:744)
>>
>> I've also checked for any artifacts like newlines in the graylog.conf 
>> file and it seems fine to me:
>>
>> root_password_sha2 = '4acebef29d98e2b58085d7481c92130b33d5df6b'
>>
>> Any help or insight into this is appreciated, thanks in advance!
>>
>> -=b=-
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to