The fix works!

Thank you

El jueves, 17 de septiembre de 2015, 14:06:00 (UTC+1), Edmundo Alvarez 
escribió:
>
> After looking at the documents provided by Arie and Ubay, I can confirm 
> the issue, and we already identified the cause. We are working to provide a 
> proper solution for this issue, but if you really can't wait, there is a 
> temporary solution and more information in here: 
> https://github.com/Graylog2/graylog2-server/issues/1428 
>
> Thank you for your patience, and sorry for any inconveniences this may 
> have caused. 
>
> Regards, 
>
> Edmundo 
>
> > On 17 Sep 2015, at 14:55, Arie <satya...@gmail.com <javascript:>> 
> wrote: 
> > 
> > I have that error to, but the clone appeard. 
> > We put "Clone" in front of the name of the clone, you have to do that 
> :-) 
> > 
> > 
> > On Thursday, September 17, 2015 at 2:02:42 PM UTC+2, Ubay wrote: 
> > Thank you but it didn't work for me. I got the error message: 
> > 
> > Could not clone Stream 
> > Cloning Stream failed with status: Internal Server error. 
> > 
> > 
> > In the server.log file the error "Read operation to server 
> localhost:27017 failed on database graylog2" is present again. 
> > 
> > Regards. 
> > 
> > El jueves, 17 de septiembre de 2015, 12:33:54 (UTC+1), Arie escribió: 
> > HI, 
> > 
> > My workaround is to clone it, and create the callback again if needed. 
> > 
> > Arie. 
> > 
> > On Thursday, September 17, 2015 at 1:09:38 PM UTC+2, Ubay wrote: 
> > Hello, 
> > 
> >   We have the same problem after upgrading to 1.2.0. The callbacks 
> created before version 1.1.6 are not displayed. We also get the error 
> message log: ERROR [AnyExceptionClassMapper] Unhandled exception in REST 
> resource 
> > com.mongodb.MongoException$Network: Read operation to server 
> localhost:27017 failed on database graylog2 
> > 
> >   Regards. 
> > 
> > El jueves, 17 de septiembre de 2015, 7:55:27 (UTC+1), Arie escribió: 
> > Send it by mail 
> > 
> > hth,, 
> > 
> > Arie 
> > 
> > On Wednesday, September 16, 2015 at 3:15:12 PM UTC+2, Edmundo Alvarez 
> wrote: 
> > We saw a similar problem with an alert callback that was created in 1.0, 
> it could be the same problem that you are experiencing. Could you share 
> with us your "alarmcallbackconfigurations" MongoDB collection in order to 
> further investigate the issue? Please send it to edm...@graylog.com if it 
> contains any sensitive information. 
> > 
> > In case you don't know how to get the collection, you can get the 
> MongoDB collection by executing the following command in a terminal: 
> > mongo <mongodb_host>:<mongodb_port>/<graylog_database_name> <<< 
> 'db.alarmcallbackconfigurations.find()' 
> > 
> > Please remember to replace <mongodb_host>, <mongodb_port>, and 
> <graylog_database_name> with the actual values for your environment. You 
> may also need to add a username and password if your setup requires 
> authentication. 
> > 
> > Edmundo 
> > 
> > > On 16 Sep 2015, at 13:09, Arie <satya...@gmail.com> wrote: 
> > > 
> > > That is very well possible, 1.0 or 1.01 but not totally shore of it. 
> > > 
> > > In one of the upgrades I had a problem with some data that was the 
> result of a Yum update from repository 
> > > where old data was deleted an a wrong/missing node-id file. 
> > > 
> > > We use the contend-pack function for backup of a lot of settings, an 
> what I see now is that the callback 
> > > function is not present there, and may be missing in my present stream 
> configs. 
> > > 
> > > Arie 
> > > 
> > > Op woensdag 16 september 2015 11:45:55 UTC+2 schreef Edmundo Alvarez: 
> > > That previous 1.1 version, was it an upgrade from 1.0 by any chance? 
> > > 
> > > Edmundo 
> > > 
> > > > On 16 Sep 2015, at 11:39, Arie <satya...@gmail.com> wrote: 
> > > > 
> > > > And second: 
> > > > 
> > > > In the alert the "callbacks" part in the GUI keeps "loading" going 
> on endlesly. 
> > > > I remember editing the calback email condition so we are closer 
> intho the problem I guess 
> > > > 
> > > > Arie 
> > > > 
> > > > Op woensdag 16 september 2015 11:22:52 UTC+2 schreef Edmundo 
> Alvarez: 
> > > > Hi Arie, 
> > > > 
> > > > From which version did you upgrade to 1.2? It would also be helpful 
> to know if that was a clean installation or an upgrade from an even earlier 
> version. 
> > > > 
> > > > Regards, 
> > > > 
> > > > Edmundo 
> > > > 
> > > > > On 16 Sep 2015, at 11:10, Arie <satya...@gmail.com> wrote: 
> > > > > 
> > > > > I'dd had an error on producing the clone, but it appeard to be 
> there. After putting the receivers in it, 
> > > > > il looks like it is worrking. So whot is wrong with the original 
> alerts. ? 
> > > > > 
> > > > > 
> > > > > Op woensdag 16 september 2015 10:55:54 UTC+2 schreef Arie: 
> > > > > Cloning the stream is not possible either 
> > > > > 
> > > > > Op woensdag 16 september 2015 10:53:47 UTC+2 schreef Arie: 
> > > > > Hi, 
> > > > > 
> > > > > we are encountering problems with stream alerts after the update. 
> > > > > When editing/testing the alert condition we get this message in 
> the GUI. 
> > > > > 
> > > > > Could not retrieve AlarmCallbacks 
> > > > > Fetching AlarmCallbacks failed with status: Internal Server Error 
> > > > > 
> > > > > 
> > > > > server logfile (partial): 
> > > > > 
> > > > >  ERROR [AnyExceptionClassMapper] Unhandled exception in REST 
> resource 
> > > > > com.mongodb.MongoException$Network: Read operation to server 
> localhost:27017 failed on database graylog2 
> > > > >         at 
> com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:298) 
> > > > >         at 
> com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269) 
> > > > >         at 
> com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) 
> > > > >         at 
> com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66) 
> > > > >         at com.mongodb.DBCursor._check(DBCursor.java:498) 
> > > > >         at com.mongodb.DBCursor._hasNext(DBCursor.java:621) 
> > > > >         at com.mongodb.DBCursor._fill(DBCursor.java:726) 
> > > > >         at com.mongodb.DBCursor.toArray(DBCursor.java:763) 
> > > > >         at org.mongojack.DBCursor.toArray(DBCursor.java:426) 
> > > > >         at org.mongojack.DBCursor.toArray(DBCursor.java:411) 
> > > > > 
> > > > > 
> > > > > Caused by: com.fasterxml.jackson.databind.JsonMappingException: 
> Can not construct instance of java.lang.String, problem: Expected an 
> ObjectId to deserialise to string, but found class java.lang.String 
> > > > >  at [Source: 
> de.undercouch.bson4jackson.io.LittleEndianInputStream@2909ef06; pos: 21] 
> (through reference chain: 
> org.graylog2.alarmcallbacks.AlarmCallbackConfigurationAVImpl["id"]) 
> > > > >         at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.DeserializationContext.instantiationException(DeserializationContext.java:889)
>  
>
> > > > >         at 
> org.mongojack.internal.ObjectIdDeserializers$ToStringDeserializer.deserialize(ObjectIdDeserializers.java:55)
>  
>
> > > > >         at 
> org.mongojack.internal.ObjectIdDeserializers$ToStringDeserializer.deserialize(ObjectIdDeserializers.java:37)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeWithErrorWrapping(BeanDeserializer.java:461)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:377)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1100)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:294)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:131)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3674)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2062) 
>
> > > > >         at 
> org.mongojack.internal.stream.JacksonDBDecoder.decode(JacksonDBDecoder.java:77)
>  
>
> > > > >         at com.mongodb.Response.<init>(Response.java:85) 
> > > > >         at com.mongodb.DBPort$1.execute(DBPort.java:164) 
> > > > >         at com.mongodb.DBPort$1.execute(DBPort.java:158) 
> > > > >         at com.mongodb.DBPort.doOperation(DBPort.java:187) 
> > > > >         at com.mongodb.DBPort.call(DBPort.java:158) 
> > > > > 
> > > > > 2015-09-16T10:43:35.254+02:00 ERROR [AnyExceptionClassMapper] 
> Unhandled exception in REST resource 
> > > > > com.mongodb.MongoException$Network: Read operation to server 
> localhost:27017 failed on database graylog2 
> > > > >         at 
> com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:298) 
> > > > >         at 
> com.mongodb.DBTCPConnector.call(DBTCPConnector.java:269) 
> > > > >         at 
> com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) 
> > > > >         at 
> com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66) 
> > > > >         at com.mongodb.DBCursor._check(DBCursor.java:498) 
> > > > >         at com.mongodb.DBCursor._hasNext(DBCursor.java:621) 
> > > > >         at com.mongodb.DBCursor._fill(DBCursor.java:726) 
> > > > >         at com.mongodb.DBCursor.toArray(DBCursor.java:763) 
> > > > >         at org.mongojack.DBCursor.toArray(DBCursor.java:426) 
> > > > >         at org.mongojack.DBCursor.toArray(DBCursor.java:411) 
> > > > >         at 
> org.graylog2.alarmcallbacks.AlarmCallbackConfigurationServiceMJImpl.getForStreamId(AlarmCallbackConfigurationServiceMJImpl.java:48)
>  
>
> > > > >         at 
> org.graylog2.alarmcallbacks.AlarmCallbackConfigurationServiceMJImpl.getForStream(AlarmCallbackConfigurationServiceMJImpl.java:53)
>  
>
> > > > >         at 
> org.graylog2.rest.resources.streams.alerts.StreamAlertReceiverResource.sendDummyAlert(StreamAlertReceiverResource.java:164)
>  
>
> > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) 
> > > > >         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
>
> > > > >         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  
>
> > > > >         at java.lang.reflect.Method.invoke(Method.java:497) 
> > > > > 
> > > > > Caused by: com.fasterxml.jackson.databind.JsonMappingException: 
> Can not construct instance of java.lang.String, problem: Expected an 
> ObjectId to deserialise to string, but found class java.lang.String 
> > > > >  at [Source: 
> de.undercouch.bson4jackson.io.LittleEndianInputStream@7778f1e1; pos: 21] 
> (through reference chain: 
> org.graylog2.alarmcallbacks.AlarmCallbackConfigurationAVImpl["id"]) 
> > > > >         at 
> com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.DeserializationContext.instantiationException(DeserializationContext.java:889)
>  
>
> > > > >         at 
> org.mongojack.internal.ObjectIdDeserializers$ToStringDeserializer.deserialize(ObjectIdDeserializers.java:55)
>  
>
> > > > >         at 
> org.mongojack.internal.ObjectIdDeserializers$ToStringDeserializer.deserialize(ObjectIdDeserializers.java:37)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:520)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeWithErrorWrapping(BeanDeserializer.java:461)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:377)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1100)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:294)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:131)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3674)
>  
>
> > > > >         at 
> com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2062) 
>
> > > > >         at 
> org.mongojack.internal.stream.JacksonDBDecoder.decode(JacksonDBDecoder.java:77)
>  
>
> > > > >         at com.mongodb.Response.<init>(Response.java:85) 
> > > > >         at com.mongodb.DBPort$1.execute(DBPort.java:164) 
> > > > >         at com.mongodb.DBPort$1.execute(DBPort.java:158) 
> > > > >         at com.mongodb.DBPort.doOperation(DBPort.java:187) 
> > > > >         at com.mongodb.DBPort.call(DBPort.java:158) 
> > > > >         at 
> com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:290) 
> > > > >         ... 44 more 
> > > > > 
> > > > > 
> > > > > We are running this on JAVA OpenJDK Runtime Environment (build 
> 1.8.0_51-b16) 
> > > > > 
> > > > > Some help would be fine here, the alerts are imporand to us. 
> > > > > 
> > > > > 
> > > > > -- 
> > > > > You received this message because you are subscribed to the Google 
> Groups "Graylog Users" group. 
> > > > > To unsubscribe from this group and stop receiving emails from it, 
> send an email to graylog2+u...@googlegroups.com. 
> > > > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/graylog2/f577bb70-3a19-4712-8b7c-a374fb2efd11%40googlegroups.com.
>  
>
> > > > > For more options, visit https://groups.google.com/d/optout. 
> > > > 
> > > > 
> > > > -- 
> > > > You received this message because you are subscribed to the Google 
> Groups "Graylog Users" group. 
> > > > To unsubscribe from this group and stop receiving emails from it, 
> send an email to graylog2+u...@googlegroups.com. 
> > > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/graylog2/c7963cc1-c5ef-4078-abfc-2d50aba544e8%40googlegroups.com.
>  
>
> > > > For more options, visit https://groups.google.com/d/optout. 
> > > 
> > > 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> Groups "Graylog Users" group. 
> > > To unsubscribe from this group and stop receiving emails from it, send 
> an email to graylog2+u...@googlegroups.com. 
> > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/graylog2/a2550193-e823-4475-9381-6cc32c4421aa%40googlegroups.com.
>  
>
> > > For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Graylog Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to graylog2+u...@googlegroups.com <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/graylog2/2865e6f0-db2f-4b05-b2d4-7fb71e7def09%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/a581c0d7-e1d3-46a7-88c2-c056b42ebec8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to