Skip to content

Allow sentry to init in "offline mode" so it doesn't communicate with the internetΒ #1103

@j0tt

Description

@j0tt

We have software which can be booted in "offline mode". The expectation is that, even if there is an internet connection, we do not communicate with the internet. When sentry is initialized, it makes an HTTP call, regardless if it will be used to report crashes.

What we desire is a way to init sentry without making any http calls. Any crashes collected by sentry are left on disk while we are "offline", and when the software is restarted in "online mode" any crashes which are found on disk are then uploaded to the sentry portal.

To my knowledge, if we use a to disk transport, we can get the crashes being written to disk without uploading them to the sentry portal, but I don't know of a way to init sentry without it attempting to make an HTTP call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions