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

[Bugfix]HTTP v2 version stream load importing large data files will cause connection reset problems #6148

Closed
hf200012 opened this issue Jul 3, 2021 · 1 comment · Fixed by #6149

Comments

@hf200012
Copy link
Contributor

hf200012 commented Jul 3, 2021

For the http v2 version of stream load, the problem of connection reset will occur when importing large data files. After investigation, it is confirmed that it is the problem of the content tomcat container's implementation of 307 temporary redirection.
solution:
Switch the built-in web container of http v2 SpringBoot to jetty. After testing, this problem can be solved well.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@sjahongir
Copy link

curl --location-trusted -u root -T _data.csv -H "label:20" -H "format:csv_with_names" -H "Expect:100-continue" -H "column_separator:," http://192.168.88.13:8030/api/test_db/test_streamload/_stream_load

This curl works in cmd, postman and go app but not works in C#, node, python.
The error: [NOT_AUTHORIZED]no valid Basic authorization

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

Successfully merging a pull request may close this issue.

2 participants