Skip to content

fatal error: Transfer completed, but there's no current request. NSURLSession #31

@andrew804

Description

@andrew804

When running in Linux with Swift version 3.0.2 after receiving a few requests to my Vapor server (perhaps in quick succession) I get the following fatal error:

fatal error: Transfer completed, but there's no current request.: file Foundation/NSURLSession/NSURLSessionTask.swift, line 794

Thanks to @loganwright I narrowed the problem down to authenticating the incoming request with Turnstile Web. The issue only happens on Linux not macOS but is quite sporadic. The error occurs when Turnstile makes the request to Facebook.

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