When running concurrent utility hooks ( eg: onAppLoad
and onFormLoad
)
There is a known issue where the cookie breaks the socket connection to allow the headers to up date, the second utility hook throws an error.
Workaround:
only set cookies in the second concurrent hook or wait a second before setting cookie,