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]: Timeout during Project import. >200MB Import of Vis1 project #254

Closed
1 task done
FlexerJR opened this issue Dec 17, 2023 · 4 comments
Closed
1 task done
Labels
bug 🐞 Something isn't working

Comments

@FlexerJR
Copy link

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

Hallo und guten Tag. Ich habe ein Vis1 Projekt, dass ca 200mb groß ist. Wenn ich das versuche in Vis2 zu importieren bekomme ich die Meldung

Cannot upload project timeout.

Gibt es keine Möglichkeit das Projekt zu importieren?

Viele Grüße

To Reproduce

Import of project

Expected behavior

Sucessful import

Screenshots & Logfiles

image

Adapter version

2.9.6

js-controller version

5.0.17

Node version

18.17.1

Operating system

Ubuntu

Additional context

No response

@FlexerJR FlexerJR added the bug 🐞 Something isn't working label Dec 17, 2023
@foxriver76
Copy link
Collaborator

Can you send me the project somewhere so I can test it?

@foxriver76
Copy link
Collaborator

At a first glance, it seems like the socket connection has troubles with the large file

[2023-12-17T14:33:41.512Z] ws connection error: CLOSE_TOO_LARGE [console.ts:40](http://localhost:8082/vis-2/static/node_modules/@sentry/src/instrument/console.ts)
    c console.ts:40
    ft instrument.ts:129
    setupOnce captureconsole.ts:73
    error socket.io.js:68
    onclose socket.io.js:177

need to check what we can do here.

@foxriver76
Copy link
Collaborator

foxriver76 commented Dec 18, 2023

The websocket server had a default size limit of 100 MB it is now increased with iobroker.ws@2.5.10 and iobroker.web@6.2.3 to 500 MB.

I was able to successfully import your project, however you have to be patient it takes a around 30 seconds and there is currently no loading indicator.

@FlexerJR
Copy link
Author

Thank you so much!!! Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants