Skip to content

Error when uploading logs to Google Drive #2213

@ErikDB87

Description

@ErikDB87

Dispite this resolved issue, I see this in my logs when uploading logs to my Google Drive:

2026-03-12 10:33:50.747 E [AsyncTask #1] ExportedLogContentProvider: Can't write logs to output
java.io.IOException: write failed: EPIPE (Broken pipe)
	at libcore.io.IoBridge.write(IoBridge.java:651)
	at java.io.FileOutputStream.write(FileOutputStream.java:436)
	at java.io.FileOutputStream.write(FileOutputStream.java:413)
	at org.owntracks.android.ui.status.logs.ExportedLogContentProvider.openFile$lambda$2(SourceFile:28)
	at org.owntracks.android.ui.status.logs.ExportedLogContentProvider.$r8$lambda$vktoLp6ZBGcS39fcG_qb6Lp6svk(SourceFile:1)
	at org.owntracks.android.ui.status.logs.ExportedLogContentProvider$$ExternalSyntheticLambda0.writeDataToPipe(SourceFile:1)
	at android.content.ContentProvider$1.doInBackground(ContentProvider.java:2597)
	at android.os.AsyncTask$3.call(AsyncTask.java:394)
	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)
Caused by: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
	at libcore.io.Linux.writeBytes(Native Method)
	at libcore.io.Linux.write(Linux.java:338)
	at libcore.io.ForwardingOs.write(ForwardingOs.java:954)
	at libcore.io.BlockGuardOs.write(BlockGuardOs.java:448)
	at libcore.io.ForwardingOs.write(ForwardingOs.java:954)
	at libcore.io.IoBridge.write(IoBridge.java:646)
	... 11 more

2026-03-12 10:33:50.786 E [AsyncTask #1] ExportedLogContentProvider: Can't write logs to output
java.io.IOException: write failed: EPIPE (Broken pipe)
	at libcore.io.IoBridge.write(IoBridge.java:651)
	at java.io.FileOutputStream.write(FileOutputStream.java:436)
	at java.io.FileOutputStream.write(FileOutputStream.java:413)
	at org.owntracks.android.ui.status.logs.ExportedLogContentProvider.openFile$lambda$2(SourceFile:28)
	at org.owntracks.android.ui.status.logs.ExportedLogContentProvider.$r8$lambda$vktoLp6ZBGcS39fcG_qb6Lp6svk(SourceFile:1)
	at org.owntracks.android.ui.status.logs.ExportedLogContentProvider$$ExternalSyntheticLambda0.writeDataToPipe(SourceFile:1)
	at android.content.ContentProvider$1.doInBackground(ContentProvider.java:2597)
	at android.os.AsyncTask$3.call(AsyncTask.java:394)
	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
	at java.lang.Thread.run(Thread.java:1564)
Caused by: android.system.ErrnoException: write failed: EPIPE (Broken pipe)
	at libcore.io.Linux.writeBytes(Native Method)
	at libcore.io.Linux.write(Linux.java:338)
	at libcore.io.ForwardingOs.write(ForwardingOs.java:954)
	at libcore.io.BlockGuardOs.write(BlockGuardOs.java:448)
	at libcore.io.ForwardingOs.write(ForwardingOs.java:954)
	at libcore.io.IoBridge.write(IoBridge.java:646)
	... 11 more

The log file is successfully uploaded, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions