Since upgrading from Meteor 2.12 to 2.13 I have been setting numerous errors with a similar format to this in MontiAPM which seem to have to do with socksjs? The names of the functions seem random but all start with _jp:
Anyone have any ideas what is could be about? Should I be concerned?
I noticed there was some mention of a setting in 2.14 to possibly do with socksjs? Is that related:
You can now set DISABLE_SOCKJS_CORS=1 if you want to prevent SockJS from setting CORS headers. Do not set this option if you will have DDP clients from other origins connecting to the DDP server. PR
There does not seem to be any rhyme or reason to when these exceptions are thrown in the app’s lifecycle. Sometimes right away, sometimes after a delay.
I doubt this is CORS-related because that PR is so extremely tiny and simple, and inert if you don’t set that env variable.