schwark
(schwark)
February 16, 2023, 2:24am
1
Suddenly since last night, I am getting this error - when sending a tcp message on LAN…
tcp:connect(self.ip, self.port)
tcp:send(command)
[string "cosock/socket/internals.lua"]:54: attempt to call a nil value (field '?')
The same code was working perfectly for the last 2-3 months or so - until last night (maybe a new version of hub firmware was deployed?)
schwark
(schwark)
February 16, 2023, 2:47am
2
Funnily enough, simply redeploying the app fixed the problem. Restarting the hub did NOT solve the problem. Maybe something about how it was deployed changed due to a firmware update?
46.10 was pushed to hubs earlier this week. I’d check the change log for it to see if it may have caused the issue.