Closed danbogos closed 8 years ago
Hi dan! Would you be able to give me an example of the exact value that's being passed in and is causing the panic? I have tried encoding the value map[string]interface{}{"foo":true}
on my own box and it works fine, and that would certainly hit the line you're getting the panic on.
hi @mediocregopher,
Thanks for so fast feedback!
In the map there will be as values string, ints, bools and []byte (as part of serialization of objects). I think it is the []byte which produces the issue.
Here is a verbose log of what I am sending in the crash part:
HMSET, args: map[CGRAccount:DAN CGRRatingSubject:DAN RemoteAuthProxy:[123 34 72 111 115 116 34 58 34 49 55 50 46 49 54 46 50 53 52 46 49 48 49 34 44 34 80 111 114 116 34 58 48 44 34 84 114 97 110 115 112 111 114 116 34 58 34 34 125] E112:+4912345678901 CGRRequestType:rated RemoteDomain:172.16.254.101 RemoteAuthPassword:check123 RemoteCalledAlias:+4986517174963 DomainTag:itsyscom.com Tag:REP_1 UserTag:DAN1 AreaPrefix:8651 RemoteProxyId:main RemoteAuthUsername:cust_sua1 OwnCliOnTransfer:false RemoteUsername:cust_sua1 RemoteDisabled:false]
Let me know if additional info is required.
Ta, DanB
should be fixed. Now that I see what the problem was, I'm not sure how it was never seen before tbh. Let me know if you have any other problems!
hi @mediocregopher
Many thanks for this. I can confirm that it works like a charm now!
DanB
Hi,
I am a new user of the driver, many thanks for your efforts into it!
When converting from former driver into radix, have inherited some methods using map[string]interface{} for setting redis hashes.
Unfortunately this panics out. You can find bellow the trace and I can always reproduce it if you need me to test fixes,
Ta, DanB