#1260 util.rfc6724: bad argument #1 to 'ipairs' (table expected, got nil)
Reporter
MattJ
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Priority-Medium
Type-Defect
Status-NeedInfo
Milestone-0.11
MattJ
on
What steps will reproduce the problem?
Unknown.
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)
MattJ
on
Changes
tags Milestone-0.11
Zash
on
Changes
tags Status-NeedInfo
Zash
on
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.
Waqas
on
We have evidence of ondisconnect being called multiple times, seemingly in different scenarios.
What steps will reproduce the problem? Unknown. 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.