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

Post with large binary file throws net::ERR_SPDY_STREAM_CLOSED error. #762

Closed
ipbharaj opened this issue Jan 25, 2019 · 2 comments
Closed
Labels
IIS Internet Information Services (IIS) for Windows® Server

Comments

@ipbharaj
Copy link

ipbharaj commented Jan 25, 2019

Expected Behavior

I have a REST API which accepts post call and uploads the binary file into data base, which is hosted in IIS
I set up Ocelot API Gateway with basic configurations:

"DownstreamPathTemplate": "/{everything}",
            "DownstreamScheme": "http",
            "DownstreamHostAndPorts": [
              {
                "Host": "localhost1",
                "Port": 80
              }
                ],
            "UpstreamPathTemplate": "/{everything}"

It should complete my request as it is doing if I call the Upload API directly.

Actual Behavior

When calling through Api gate way it gives net::ERR_SPDY_STREAM_CLOSED error if the file size is anything more than 1 MB

Steps to Reproduce the Problem

Specifications

  • Version:
    Ocelot Version="12.0.1"
    netcoreapp2.1

  • Platform:
    Linux docker container

  • Subsystem:

  • Configuration:

{
    "ReRoutes": [
        {
            "DownstreamPathTemplate": "/{everything}",
            "DownstreamScheme": "http",
            "DownstreamHostAndPorts": [
              {
                "Host": "localhost1",
                "Port": 80
              }
                ],
            "UpstreamPathTemplate": "/{everything}"
        }
    ],
    "GlobalConfiguration": {
        "DangerousAcceptAnyServerCertificateValidator": false
    }
}
@tmapfumo
Copy link

tmapfumo commented Jan 5, 2022

Any news on this issue, experiencing the same problem on a Linux hosted API gateway

@raman-m raman-m added the IIS Internet Information Services (IIS) for Windows® Server label Jan 14, 2024
@raman-m
Copy link
Member

raman-m commented Jan 14, 2024

It should be fixed by #1724.
So, pumping large files should work fine in Nov-December'23 release.
Please watch for this release in a couple of weeks.

If it doesn't help than it should be fixed by #1824 definitely. Watch for Annual 2023 release...
@ipbharaj I don't recommend you to host Ocelot in IIS. We are not responsible for your unstable IIS environment. Please use self-hosted deployments.

@raman-m raman-m closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IIS Internet Information Services (IIS) for Windows® Server
Projects
None yet
Development

No branches or pull requests

3 participants