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

[BUG] 502 Proxy Error when uploading BOM #2331

Closed
1 of 2 tasks
reilly-callaway opened this issue Nov 19, 2021 · 1 comment · Fixed by #2603
Closed
1 of 2 tasks

[BUG] 502 Proxy Error when uploading BOM #2331

reilly-callaway opened this issue Nov 19, 2021 · 1 comment · Fixed by #2603
Assignees
Labels
bug Identifies a bug which needs to be addressed question This is a question
Milestone

Comments

@reilly-callaway
Copy link

Describe the bug
502 Proxy Error when uploading BOM

Steps to Reproduce

  1. Upload bill of materials button in part
  2. Upload CSV BOM
  3. Match appropriate fields
  4. Press "Submit selections" on step 2 of 3
  5. Hangs for a while
  6. Server returns 502 Proxy error

Screenshots
Screenshot 2021-11-19 114132

Deployment Method

  • Docker
  • Bare Metal

Version Information
InvenTree-Version: 0.6.0 dev
Django Version: 3.2.5
Commit Hash: 77dac2e62
Commit Date: 2021-11-15
Database: mysql
Debug-Mode: True
Deployed using Docker: False

@reilly-callaway reilly-callaway added bug Identifies a bug which needs to be addressed question This is a question labels Nov 19, 2021
@reilly-callaway reilly-callaway changed the title [BUG] Enter bug description [BUG] 502 Proxy Error when uploading BOM Nov 19, 2021
@SchrodingersGat
Copy link
Member

For reference, this is due to the way that the 'BOM import' process provides options to the user.

For each line in the BOM template, the server has to render all available parts which could be selected, and then order them according to how well they match.

For a dataset with thousands of parts this takes a very long time!

This will require a pretty major rework (incoming) to fix...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug which needs to be addressed question This is a question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants