How to clear a WordPress WebSocket error from the console

December 31st, 2019

This kept popping up in the console:

WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Unexpected response code: 403

Turns out it’s from Jetpack. I hadn’t used it on my site before, but wanted to give it a spin this time around. Simply deactivating and reactivating the plugin did the tricks and cleared the error.