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 
>>>> [email protected] 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [email protected]. 
>>>> > > > 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 [email protected]. 
>>>> > > 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 [email protected]. 
>>>> > 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/e903746f-2256-4977-9167-be3fde535411%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to