Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate "Broken pipe" errors writing tile data #3

Open
thisisaaronland opened this issue Mar 15, 2022 · 1 comment
Open

Investigate "Broken pipe" errors writing tile data #3

thisisaaronland opened this issue Mar 15, 2022 · 1 comment

Comments

@thisisaaronland
Copy link
Contributor

For example:

ERROR] 2022-03-15T11:42:36.555-07:00 SwifterProtomaps.swift#L.129 ServeProtomapsTiles(_:) Failed to write body, writeFailed("Broken pipe")

Curiously, it doesn't appear as though insufficient data is being sent to PM. That is, tiles appear to render fine despite these errors.

Is the deferred close method on the open filehandle somehow being triggered prematurely?

https://github.com/sfomuseum/swifter-protomaps/blob/main/Sources/SwifterProtomaps/SwifterProtomaps.swift#L44-L50

@thisisaaronland
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant