stayallive / wp-sentry

A (unofficial) WordPress plugin reporting PHP and JavaScript errors to Sentry.
https://wordpress.org/plugins/wp-sentry-integration/
MIT License
305 stars 48 forks source link

Sending requests to itself instead of sentry? #96

Closed kkmuffme closed 2 years ago

kkmuffme commented 3 years ago

We see some POST /api/5189343/store/ requests in our own access log, with requester user agent sentry.php.wp-sentry-integration/4.6.0

Sentry works for us (= we see the errors in sentry.io), so we were wondering what/why is happening here?

Are you using wp_remote_post under the hood or something? (and somehow this gets overwritten by a filter on our end)

stayallive commented 3 years ago

Ummm no... that is really interesting though! Are you also seeing the IP as being your own server?

We use the PHP SDK and their transports, WordPress is not involved in making the request to Sentry server so unless you have the DSN somehow set to your own server or have a filter messing with the SDK options (and mainly the DSN) I would not even know where to begin looking 😅

kkmuffme commented 3 years ago

Yes, the IP is our own server

stayallive commented 2 years ago

Hi @kkmuffme did you end up figuring this one out or solving it?