#1260 util.rfc6724: bad argument #1 to 'ipairs' (table expected, got nil)

Reporter MattJ
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Milestone-0.11
  • Status-NeedInfo
  • Type-Defect
  1. 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)

  2. MattJ on

    Changes
    • tags Milestone-0.11
  3. Zash on

    Changes
    • tags Status-NeedInfo
  4. 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.

  5. Waqas on

    We have evidence of ondisconnect being called multiple times, seemingly in different scenarios.

New comment

Not published. Used for spam prevention and optional update notifications.