#1260 util.rfc6724: bad argument #1 to 'ipairs' (table expected, got nil)
What steps will reproduce the problem?
What do you see?
Error in DNS response handler: /usr/lib/prosody/util/rfc6724.lua:132: bad argument #1 to 'ipairs' (table expected, got nil)
What version of the product are you using? On what operating system?
Prosody 0.11 nightly build 16 (2018-12-01, 6f97acc4583b)
Race perhaps? Or callbacks called more than once? Or #1267 ?
The "expected table" here is session.ip_hosts which does get set to nil after the state machine proceeds to the next SRV record or when the connection is completed.
We have evidence of ondisconnect being called multiple times, seemingly in different scenarios.