Comments (3)
This is most likely because either you have a lot of information in the event (huge stacktrace, many breadcrumbs, lot's of context) and you might alreay be memory constraint which results in the application running out of memory when trying to send the event to Sentry.
Part of sending the event to Sentry is gzipping the event data since the Sentry server only accepts payloads below a certain size and the gzipping helps with staying below that limit and speeding up the network transfer too. It can be disabled by setting enable_compression
to false
in the SDK options, however I would suggest to be careful since that could have uninteded side effects where events might be dropped because they exceed the size accepted by Sentry.
Have you tried to reproduce the event being sent and see what data is contained within and if it might be excessively large?
from sentry-php.
How do I see what data is in the event?
Also, I tried adding another 25MB to the server but I'm still getting the error. The frustrating part is that if I disable Sentry, my application runs just fine. Sentry itself seems to be causing the problem here.
from sentry-php.
You can use the before_send
option to get the Event
instance we would transmit to Sentry: https://docs.sentry.io/platforms/php/configuration/filtering/#using-platformidentifier-namebefore-send-
Since you are not using a framework it's a little tricky considering what would be in those events since you implemented them yourself it would be interesting if you can pinpoint the exact problem event to see if there might be some kind of recursive issue or if there is something interesting on the request where the problem is being triggered, like if it is a POST request with a large payload. If it's not a manually triggered event it's most likely a PHP Error like a NOTICE or WARNING (or many of them) being (attempted) to sent to Sentry.
from sentry-php.
Related Issues (20)
- Document array shapes for parameters and complex `array` structures?
- SpotlightJS - override URL/port for sidecar
- Profiling/Performance not recorded HOT 4
- PHP7 compatibility HOT 5
- Add SAPI used to events
- Add a way to cleanup error and exception handlers HOT 7
- Improve debugging experience
- Add support for `AWS_LAMBDA_FUNCTION_VERSION` env var
- [3.x] Symfony HTTP Client in transport silently upgrades to HTTP/2 and makes HttpTransport fail HOT 1
- Possibility to implement memory limit/hooks for cli / infinite commands HOT 2
- traceparent header missing trace-flags HOT 2
- Initialize the SDK using php auto-prepend-file HOT 1
- `TransactionIntegration` should always set a transaction
- Compile Error: Declaration of Http\Message\Encoding\FilteredStream::seek(int $offset, int $whence = Http\Message\Encoding\SEEK_SET): void must be compatible with PsrExt\Http\Message\StreamInterface::seek($offset, $whence = NULL) HOT 8
- Make it clear in the docs how `send_default_pii`detects "personally identifiable information"
- Metrics Rate Limits
- Ability to filter request input from being sent to Sentry HOT 4
- Feature request: User feedback capturing feature HOT 1
- Deprecated: Use of "static" in callables is deprecated in /app/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php on line 264 HOT 6
- Metrics Normalization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-php.