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

Web- Service restart on changeView #66

Closed
n3roGit opened this issue Jan 17, 2022 · 32 comments
Closed

Web- Service restart on changeView #66

n3roGit opened this issue Jan 17, 2022 · 32 comments
Labels

Comments

@n3roGit
Copy link

n3roGit commented Jan 17, 2022

Good day,

I have the phenomenon that my web.1 adapter restarts constantly when I trigger a changeView via script.
After some searching, I strongly suspect that the problem is related to the proxy adapter.
If this is not the case, I am happy to be proven wrong. Maybe you have another idea.

As soon as this is active, the web.1 adapter hangs and restarts often.
I can see the following message in the log:
`

web.1 2022-01-17 17:13:50.008 error Exception-Code: ECONNRESET: read ECONNRESET
web.1 2022-01-17 17:13:50.007 error Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
web.1 2022-01-17 17:13:50.007 error uncaught exception: read ECONNRESET
`

My configuration and versions are as follows:
image
image
I recently updated the web adapter from the stabel to the latest available, hoping to fix the problem. Unfortunately, there was no improvement at all.
image
image
image
image
image

@Apollon77
Copy link
Collaborator

Please provide more logs

@n3roGit
Copy link
Author

n3roGit commented Jan 17, 2022

I have run the log through a GREP. Does it fit like this?
cat iobroker.current.log | grep 'web.1|proxy.0'

2022-01-17 17:34:25.388  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437277708
2022-01-17 17:34:25.395  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437277708: 200(OK)
2022-01-17 17:34:25.403  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281299
2022-01-17 17:34:25.406  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281305
2022-01-17 17:34:25.411  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281305: 200(OK)
2022-01-17 17:34:25.416  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281299: 200(OK)
2022-01-17 17:34:25.475  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437277792
2022-01-17 17:34:25.477  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281378
2022-01-17 17:34:25.489  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437277792: 200(OK)
2022-01-17 17:34:25.493  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281378: 200(OK)
2022-01-17 17:34:25.497  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281386
2022-01-17 17:34:25.503  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281386: 200(OK)
2022-01-17 17:34:25.546  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437277870
2022-01-17 17:34:25.549  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437277870: 200(OK)
2022-01-17 17:34:25.558  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281461
2022-01-17 17:34:25.562  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281465
2022-01-17 17:34:25.564  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281461: 200(OK)
2022-01-17 17:34:25.571  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281465: 200(OK)
2022-01-17 17:34:25.628  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437277947
2022-01-17 17:34:25.634  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437277947: 200(OK)
2022-01-17 17:34:25.646  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281546
2022-01-17 17:34:25.665  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281550
2022-01-17 17:34:25.666  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281546: 200(OK)
2022-01-17 17:34:25.676  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281550: 200(OK)
2022-01-17 17:34:25.711  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278032
2022-01-17 17:34:25.715  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278032: 200(OK)
2022-01-17 17:34:25.741  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281635
2022-01-17 17:34:25.743  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281639
2022-01-17 17:34:25.747  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281639: 200(OK)
2022-01-17 17:34:25.750  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281635: 200(OK)
2022-01-17 17:34:25.794  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278113
2022-01-17 17:34:25.808  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278113: 200(OK)
2022-01-17 17:34:25.845  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281745
2022-01-17 17:34:25.849  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281745: 200(OK)
2022-01-17 17:34:25.852  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281756
2022-01-17 17:34:25.857  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281756: 200(OK)
2022-01-17 17:34:25.886  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278205
2022-01-17 17:34:25.890  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278205: 200(OK)
2022-01-17 17:34:25.919  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281822
2022-01-17 17:34:25.923  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281822: 200(OK)
2022-01-17 17:34:25.932  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281834
2022-01-17 17:34:25.935  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281834: 200(OK)
2022-01-17 17:34:26.010  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281914
2022-01-17 17:34:26.014  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281914: 200(OK)
2022-01-17 17:34:26.020  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281923
2022-01-17 17:34:26.023  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281923: 200(OK)
2022-01-17 17:34:26.052  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278368
2022-01-17 17:34:26.056  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278368: 200(OK)
2022-01-17 17:34:26.098  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282001
2022-01-17 17:34:26.101  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282001: 200(OK)
2022-01-17 17:34:26.107  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282010
2022-01-17 17:34:26.111  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282010: 200(OK)
2022-01-17 17:34:26.147  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278464
2022-01-17 17:34:26.151  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278464: 200(OK)
2022-01-17 17:34:26.207  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282112
2022-01-17 17:34:26.210  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282112: 200(OK)
2022-01-17 17:34:26.217  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282121
2022-01-17 17:34:26.219  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282121: 200(OK)
2022-01-17 17:34:26.230  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278550
2022-01-17 17:34:26.233  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278550: 200(OK)
2022-01-17 17:34:26.286  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282190
2022-01-17 17:34:26.290  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282190: 200(OK)
2022-01-17 17:34:26.299  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282202
2022-01-17 17:34:26.302  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282202: 200(OK)
2022-01-17 17:34:26.352  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278663
2022-01-17 17:34:26.354  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278663: 200(OK)
2022-01-17 17:34:26.368  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282270
2022-01-17 17:34:26.371  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282270: 200(OK)
2022-01-17 17:34:26.393  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282285
2022-01-17 17:34:26.398  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282285: 200(OK)
2022-01-17 17:34:26.421  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278742
2022-01-17 17:34:26.430  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278742: 200(OK)
2022-01-17 17:34:26.475  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282376
2022-01-17 17:34:26.478  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282376: 200(OK)
2022-01-17 17:34:26.483  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282384
2022-01-17 17:34:26.486  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282384: 200(OK)
2022-01-17 17:34:26.503  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278825
2022-01-17 17:34:26.509  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278825: 200(OK)
2022-01-17 17:34:26.572  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282472
2022-01-17 17:34:26.575  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282472: 200(OK)
2022-01-17 17:34:26.587  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282478
2022-01-17 17:34:26.589  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278906
2022-01-17 17:34:26.598  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282478: 200(OK)
2022-01-17 17:34:26.600  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278906: 200(OK)
2022-01-17 17:34:26.660  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282561
2022-01-17 17:34:26.670  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282565
2022-01-17 17:34:26.673  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437278985
2022-01-17 17:34:26.676  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282561: 200(OK)
2022-01-17 17:34:26.682  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437278985: 200(OK)
2022-01-17 17:34:26.686  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282565: 200(OK)
2022-01-17 17:34:26.734  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282639
2022-01-17 17:34:26.737  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282639: 200(OK)
2022-01-17 17:34:26.744  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282646
2022-01-17 17:34:26.748  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282646: 200(OK)
2022-01-17 17:34:26.752  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279071
2022-01-17 17:34:26.756  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279071: 200(OK)
2022-01-17 17:34:26.834  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279150
2022-01-17 17:34:26.838  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282743
2022-01-17 17:34:26.843  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279150: 200(OK)
2022-01-17 17:34:26.851  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282749
2022-01-17 17:34:26.854  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282743: 200(OK)
2022-01-17 17:34:26.863  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282749: 200(OK)
2022-01-17 17:34:26.917  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279234
2022-01-17 17:34:26.921  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282824
2022-01-17 17:34:26.923  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279234: 200(OK)
2022-01-17 17:34:26.928  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282824: 200(OK)
2022-01-17 17:34:26.933  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282833
2022-01-17 17:34:26.938  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282833: 200(OK)
2022-01-17 17:34:27.002  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279318
2022-01-17 17:34:27.006  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279318: 200(OK)
2022-01-17 17:34:27.016  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282907
2022-01-17 17:34:27.021  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282911
2022-01-17 17:34:27.022  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282907: 200(OK)
2022-01-17 17:34:27.029  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282911: 200(OK)
2022-01-17 17:34:27.079  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279400
2022-01-17 17:34:27.083  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279400: 200(OK)
2022-01-17 17:34:27.092  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282991
2022-01-17 17:34:27.095  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282995
2022-01-17 17:34:27.102  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282995: 200(OK)
2022-01-17 17:34:27.105  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282991: 200(OK)
2022-01-17 17:34:27.170  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279490
2022-01-17 17:34:27.173  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279490: 200(OK)
2022-01-17 17:34:27.223  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283125
2022-01-17 17:34:27.228  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283127
2022-01-17 17:34:27.232  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283125: 200(OK)
2022-01-17 17:34:27.235  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283127: 200(OK)
2022-01-17 17:34:27.252  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279572
2022-01-17 17:34:27.255  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279572: 200(OK)
2022-01-17 17:34:27.302  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283203
2022-01-17 17:34:27.306  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283209
2022-01-17 17:34:27.307  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283203: 200(OK)
2022-01-17 17:34:27.312  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283209: 200(OK)
2022-01-17 17:34:27.360  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279669
2022-01-17 17:34:27.369  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279669: 200(OK)
2022-01-17 17:34:27.378  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283282
2022-01-17 17:34:27.387  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283282: 200(OK)
2022-01-17 17:34:27.399  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283292
2022-01-17 17:34:27.413  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283292: 200(OK)
2022-01-17 17:34:27.432  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279751
2022-01-17 17:34:27.440  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279751: 200(OK)
2022-01-17 17:34:27.467  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283364
2022-01-17 17:34:27.480  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283364: 200(OK)
2022-01-17 17:34:27.484  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283372
2022-01-17 17:34:27.490  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283372: 200(OK)
2022-01-17 17:34:27.524  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279844
2022-01-17 17:34:27.529  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279844: 200(OK)
2022-01-17 17:34:27.543  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283444
2022-01-17 17:34:27.547  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283444: 200(OK)
2022-01-17 17:34:27.564  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283461
2022-01-17 17:34:27.569  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283461: 200(OK)
2022-01-17 17:34:27.602  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437279923
2022-01-17 17:34:27.605  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437279923: 200(OK)
2022-01-17 17:34:27.626  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283530
2022-01-17 17:34:27.633  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283530: 200(OK)
2022-01-17 17:34:27.642  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283544
2022-01-17 17:34:27.649  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283544: 200(OK)
2022-01-17 17:34:27.690  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280009
2022-01-17 17:34:27.695  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280009: 200(OK)
2022-01-17 17:34:27.709  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283614
2022-01-17 17:34:27.713  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283614: 200(OK)
2022-01-17 17:34:27.729  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283629
2022-01-17 17:34:27.732  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283629: 200(OK)
2022-01-17 17:34:27.773  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280090
2022-01-17 17:34:27.781  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280090: 200(OK)
2022-01-17 17:34:27.813  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283716
2022-01-17 17:34:27.817  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283716: 200(OK)
2022-01-17 17:34:27.828  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283731
2022-01-17 17:34:27.834  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283731: 200(OK)
2022-01-17 17:34:27.855  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280172
2022-01-17 17:34:27.858  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280172: 200(OK)
2022-01-17 17:34:27.888  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283795
2022-01-17 17:34:27.891  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283795: 200(OK)
2022-01-17 17:34:27.905  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283809
2022-01-17 17:34:27.908  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283809: 200(OK)
2022-01-17 17:34:27.936  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280256
2022-01-17 17:34:27.939  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280256: 200(OK)
2022-01-17 17:34:27.971  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283873
2022-01-17 17:34:27.976  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283873: 200(OK)
2022-01-17 17:34:27.986  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283888
2022-01-17 17:34:27.989  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283888: 200(OK)
2022-01-17 17:34:28.025  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280343
2022-01-17 17:34:28.029  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280343: 200(OK)
2022-01-17 17:34:28.049  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283955
2022-01-17 17:34:28.052  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283955: 200(OK)
2022-01-17 17:34:28.066  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437283968
2022-01-17 17:34:28.071  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437283968: 200(OK)
2022-01-17 17:34:28.110  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280429
2022-01-17 17:34:28.117  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280429: 200(OK)
2022-01-17 17:34:28.141  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284035
2022-01-17 17:34:28.147  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284035: 200(OK)
2022-01-17 17:34:28.179  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284081
2022-01-17 17:34:28.181  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284081: 200(OK)
2022-01-17 17:34:28.195  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280513
2022-01-17 17:34:28.198  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280513: 200(OK)
2022-01-17 17:34:28.243  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284148
2022-01-17 17:34:28.247  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284148: 200(OK)
2022-01-17 17:34:28.260  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284163
2022-01-17 17:34:28.263  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284163: 200(OK)
2022-01-17 17:34:28.279  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280596
2022-01-17 17:34:28.281  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280596: 200(OK)
2022-01-17 17:34:28.327  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284231
2022-01-17 17:34:28.332  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284231: 200(OK)
2022-01-17 17:34:28.346  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284246
2022-01-17 17:34:28.350  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284246: 200(OK)
2022-01-17 17:34:28.365  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280689
2022-01-17 17:34:28.370  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280689: 200(OK)
2022-01-17 17:34:28.408  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284312
2022-01-17 17:34:28.412  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284312: 200(OK)
2022-01-17 17:34:28.426  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284326
2022-01-17 17:34:28.429  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284326: 200(OK)
2022-01-17 17:34:28.446  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280768
2022-01-17 17:34:28.448  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280768: 200(OK)
2022-01-17 17:34:28.490  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284393
2022-01-17 17:34:28.493  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284393: 200(OK)
2022-01-17 17:34:28.514  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284412
2022-01-17 17:34:28.518  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284412: 200(OK)
2022-01-17 17:34:28.544  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280867
2022-01-17 17:34:28.549  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280867: 200(OK)
2022-01-17 17:34:28.575  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284480
2022-01-17 17:34:28.578  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284480: 200(OK)
2022-01-17 17:34:28.596  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284495
2022-01-17 17:34:28.600  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284495: 200(OK)
2022-01-17 17:34:28.638  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437280947
2022-01-17 17:34:28.641  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437280947: 200(OK)
2022-01-17 17:34:28.666  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284568
2022-01-17 17:34:28.669  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284568: 200(OK)
2022-01-17 17:34:28.677  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284581
2022-01-17 17:34:28.680  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284581: 200(OK)
2022-01-17 17:34:28.709  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281028
2022-01-17 17:34:28.712  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281028: 200(OK)
2022-01-17 17:34:28.764  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284669
2022-01-17 17:34:28.767  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284669: 200(OK)
2022-01-17 17:34:28.778  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284680
2022-01-17 17:34:28.781  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284680: 200(OK)
2022-01-17 17:34:28.793  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281110
2022-01-17 17:34:28.797  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281110: 200(OK)
2022-01-17 17:34:28.871  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284778
2022-01-17 17:34:28.874  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281191
2022-01-17 17:34:28.875  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284778: 200(OK)
2022-01-17 17:34:28.878  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281191: 200(OK)
2022-01-17 17:34:28.892  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284793
2022-01-17 17:34:28.895  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284793: 200(OK)
2022-01-17 17:34:28.952  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284857
2022-01-17 17:34:28.956  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281274
2022-01-17 17:34:28.957  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284857: 200(OK)
2022-01-17 17:34:28.962  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281274: 200(OK)
2022-01-17 17:34:28.971  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284871
2022-01-17 17:34:28.973  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284871: 200(OK)
2022-01-17 17:34:29.036  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281354
2022-01-17 17:34:29.039  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284939
2022-01-17 17:34:29.044  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281354: 200(OK)
2022-01-17 17:34:29.046  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284939: 200(OK)
2022-01-17 17:34:29.066  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437284963
2022-01-17 17:34:29.069  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437284963: 200(OK)
2022-01-17 17:34:29.115  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281434
2022-01-17 17:34:29.118  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281434: 200(OK)
2022-01-17 17:34:29.130  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285031
2022-01-17 17:34:29.134  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285031: 200(OK)
2022-01-17 17:34:29.143  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285044
2022-01-17 17:34:29.151  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285044: 200(OK)
2022-01-17 17:34:29.202  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281514
2022-01-17 17:34:29.205  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281514: 200(OK)
2022-01-17 17:34:29.253  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285155
2022-01-17 17:34:29.255  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285155: 200(OK)
2022-01-17 17:34:29.260  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285168
2022-01-17 17:34:29.263  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285168: 200(OK)
2022-01-17 17:34:29.283  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281599
2022-01-17 17:34:29.286  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281599: 200(OK)
2022-01-17 17:34:29.331  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285233
2022-01-17 17:34:29.334  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285233: 200(OK)
2022-01-17 17:34:29.347  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285247
2022-01-17 17:34:29.351  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285247: 200(OK)
2022-01-17 17:34:29.379  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281699
2022-01-17 17:34:29.383  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281699: 200(OK)
2022-01-17 17:34:29.413  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285313
2022-01-17 17:34:29.421  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285313: 200(OK)
2022-01-17 17:34:29.430  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285329
2022-01-17 17:34:29.434  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285329: 200(OK)
2022-01-17 17:34:29.466  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281779
2022-01-17 17:34:29.472  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281779: 200(OK)
2022-01-17 17:34:29.494  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285399
2022-01-17 17:34:29.497  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285399: 200(OK)
2022-01-17 17:34:29.508  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285410
2022-01-17 17:34:29.511  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285410: 200(OK)
2022-01-17 17:34:29.536  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281859
2022-01-17 17:34:29.541  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281859: 200(OK)
2022-01-17 17:34:29.583  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285484
2022-01-17 17:34:29.587  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285484: 200(OK)
2022-01-17 17:34:29.592  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285492
2022-01-17 17:34:29.596  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285492: 200(OK)
2022-01-17 17:34:29.620  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437281940
2022-01-17 17:34:29.623  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437281940: 200(OK)
2022-01-17 17:34:29.668  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285571
2022-01-17 17:34:29.671  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285571: 200(OK)
2022-01-17 17:34:29.676  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437285580
2022-01-17 17:34:29.679  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437285580: 200(OK)
2022-01-17 17:34:29.705  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282024
2022-01-17 17:34:29.709  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282024: 200(OK)
2022-01-17 17:34:29.792  - debug: web.1 (2297845) GET: http://localhost:8765/picture/2/current/?_=1642437282112
2022-01-17 17:34:29.795  - debug: web.1 (2297845) [proxy] Response for /picture/2/current/?_=1642437282112: 200(OK)
2022-01-17 17:34:29.820  - error: web.1 (2297845) uncaught exception: read ECONNRESET
2022-01-17 17:34:29.846  - info: javascript.0 (1892168) script.js.System.Adapter_Report: ❌ Adapter web.1 meldet Probleme
2022-01-17 17:34:29.890  - error: host.iobroker instance system.adapter.web.1 terminated with code 1 (JS_CONTROLLER_STOPPED)
2022-01-17 17:34:29.890  - info: host.iobroker Restart adapter system.adapter.web.1 because enabled
2022-01-17 17:34:59.923  - info: host.iobroker instance system.adapter.web.1 started with pid 2297897
2022-01-17 17:35:00.719  - debug: web.1 (2297897) Redis Objects: Use Redis connection: 127.0.0.1:9001
2022-01-17 17:35:00.754  - debug: web.1 (2297897) Objects client ready ... initialize now
2022-01-17 17:35:00.756  - debug: web.1 (2297897) Objects create System PubSub Client
2022-01-17 17:35:00.757  - debug: web.1 (2297897) Objects create User PubSub Client
2022-01-17 17:35:00.758  - debug: web.1 (2297897) Objects client initialize lua scripts
2022-01-17 17:35:00.781  - debug: web.1 (2297897) Objects connected to redis: 127.0.0.1:9001
2022-01-17 17:35:00.785  - debug: web.1 (2297897) objectDB connected
2022-01-17 17:35:00.786  - debug: web.1 (2297897) Redis States: Use Redis connection: 127.0.0.1:6379
2022-01-17 17:35:00.791  - debug: web.1 (2297897) States create System PubSub Client
2022-01-17 17:35:00.792  - debug: web.1 (2297897) States create User PubSub Client
2022-01-17 17:35:00.799  - debug: web.1 (2297897) States connected to redis: 127.0.0.1:6379
2022-01-17 17:35:00.799  - debug: web.1 (2297897) statesDB connected
2022-01-17 17:35:01.111  - debug: web.1 (2297897) Plugin sentry Initialize Plugin (enabled=true)
2022-01-17 17:35:01.252  - info: web.1 (2297897) starting. Version 3.4.16 in /opt/iobroker/node_modules/iobroker.web, node: v14.18.3, js-controller: 3.3.22

@Apollon77
Copy link
Collaborator

Can you please check log again and post the full error around that

2022-01-17 17:34:29.820 - error: web.1 (2297845) uncaught exception: read ECONNRESET line?!

I think the grep hides the relevant stuff here

@n3roGit
Copy link
Author

n3roGit commented Jan 21, 2022

No problem.
I created it with "zcat iobroker.2022-01-17.log.gz | grep "2022-01-17 17:3" > log.txt".

https://www.dropbox.com/s/rbghs7b8r438dji/log.zip?dl=0

@Apollon77
Copy link
Collaborator

Ok, a bit mroe but not thaaaaat helpful

2022-01-17 17:30:22.946 - �[31merror�[39m: web.1 (2297333) uncaught exception: read ECONNRESET
2022-01-17 17:30:23.038 - �[31merror�[39m: host.iobroker Caught by controller[0]: Error: read ECONNRESET
2022-01-17 17:30:23.041 - �[31merror�[39m: host.iobroker Caught by controller[0]: at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
2022-01-17 17:30:23.041 - �[31merror�[39m: host.iobroker instance system.adapter.web.1 terminated with code 1 (JS_CONTROLLER_STOPPED)

@Apollon77
Copy link
Collaborator

could be connected to http-party/node-http-proxy#579

@n3roGit
Copy link
Author

n3roGit commented Jan 21, 2022

Is there anything else I can do to help solve this?

@Apollon77
Copy link
Collaborator

maybe also connected to chimurai/http-proxy-middleware#476 ...

@n3roGit notreally ... its not that easy ...

@Apollon77
Copy link
Collaborator

maybe try tonot to load the image thaaaat ofen ? Logs tells you load that file ever 20ms!

@n3roGit
Copy link
Author

n3roGit commented Jan 21, 2022

Okay but thanks anyway for the quick response!
If you have an idea for a workaround, I would be very grateful.
I am currently considering implementing a nginx as a reverse here.

Which file do you mean exactly?

@Apollon77
Copy link
Collaborator

@n3roGit Please try GitHub version ... I tried to add an error handler for a socket ... Version stays same for now, so manually restart web after update please. If an error happens now it should be logged only (info loglevel).

In fact the error seems to happen when the server whichis conacted by the proxy is resetting the connection while proxy still reads.

See your log "/picture/2/current/" is requested every 20ms ... maybe thats too much for the target server.

@n3roGit
Copy link
Author

n3roGit commented Jan 21, 2022

Thanks a lot!! I will test that right away!

The images come from the slideshow adapter. This is as far as I know still beta. I will deactivate the times and test it.

@Apollon77
Copy link
Collaborator

No leave that high frequenc for the test :-))) Iexpect it will more easy hit when high frequency calls ...

@Apollon77
Copy link
Collaborator

BTW: Grep for "[proxy] Socket Error for" to see if that hit ... (if it does not crash)

@n3roGit
Copy link
Author

n3roGit commented Jan 21, 2022

I was able to reproduce the problem directly. Unfortunately I don't see an entry with "[proxy] Socket Error for".
Does the log excerpt help you?

2022-01-21 13:29:18.672  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_682D3A__ENERGY_Total.cumulativeReading - 153.76599999999996
2022-01-21 13:29:18.672  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_682DBE__ENERGY_Total.cumulativeReading - 633.37
2022-01-21 13:29:18.672  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_6AFF87__ENERGY_Total.cumulativeReading - 337.44
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_D4D9AB__ENERGY_Total.cumulativeReading - 659.826
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_D53887__ENERGY_Total.cumulativeReading - 95.298
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_D55B20__ENERGY_Total.cumulativeReading - 792.0500000000001
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DB41A3__ENERGY_Total.cumulativeReading - 1420.295
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBB9AF__ENERGY_Total.cumulativeReading - 301.281
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBBA78__ENERGY_Total.cumulativeReading - 0.37
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBDA95__ENERGY_Total.cumulativeReading - 23.659000000000002
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBE058__ENERGY_Total.cumulativeReading - 509.78
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBE676__ENERGY_Total.cumulativeReading - 922.152
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_F0D26D__ENERGY_Total.cumulativeReading - 525.6279999999999
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_F40825__ENERGY_Total.cumulativeReading - 93.827
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_F40C75__ENERGY_Total.cumulativeReading - 61.629
2022-01-21 13:29:18.673  - info: javascript.0 (1892168) script.js.System.Global_KW: Global KW: 7743.091
2022-01-21 13:29:18.959  - error: javascript.0 (1892168) Request error: Error: connect EHOSTUNREACH 192.168.1.101:1925
2022-01-21 13:29:18.960  - error: javascript.0 (1892168) script.js.System.Wohnzimmer.Wohnzimmer_TV: {'errno':-113,'code':'EHOSTUNREACH','syscall':'connect','address':'192.168.1.101','port':1925}
2022-01-21 13:29:21.024  - info: javascript.0 (1892168) script.js.System.Movement: 1 Räume mit Bewegung
2022-01-21 13:29:21.037  - info: javascript.0 (1892168) script.js.System.Movement: 2 Räume mit Bewegung
2022-01-21 13:29:21.037  - info: javascript.0 (1892168) script.js.System.BewegungsmelderLichtsteuerung: PIR Done: Kinderzimmer
2022-01-21 13:29:21.038  - info: javascript.0 (1892168) script.js.System._Heizungssteuerung.Global_Heating_Control: Kinderzimmer Heizung - Heater: maxcube.0.devices.thermostat_1964a1.setpoint gestellt auf  - 23
2022-01-21 13:29:21.038  - info: javascript.0 (1892168) script.js.System._Heizungssteuerung.Global_Heating_Control: HeatingCompfort: Kinderzimmer Heizung
2022-01-21 13:29:21.137  - info: javascript.0 (1892168) script.js.System.BewegungsmelderLichtsteuerung: PIR: 0_userdata.0.Rooms.Kinderzimmer.Movement hat Wert - true
2022-01-21 13:29:21.137  - info: javascript.0 (1892168) script.js.System.BewegungsmelderLichtsteuerung: PIR_LUX: deconz.0.Sensors.43.lux hat Wert - 57 - deconz.0.Sensors.43.lux hat Wert - 57
2022-01-21 13:29:21.138  - info: javascript.0 (1892168) script.js.System.BewegungsmelderLichtsteuerung: Schalte: sonoff.0.DVES_11528E.POWER - true - delay 0
2022-01-21 13:29:21.138  - info: javascript.0 (1892168) script.js.System.BewegungsmelderLichtsteuerung: SetSwitchlist
2022-01-21 13:29:23.607  - error: web.1 (2651903) uncaught exception: read ECONNRESET
2022-01-21 13:29:23.636  - info: javascript.0 (1892168) script.js.System.Adapter_Report: ❌ Adapter web.1 meldet Probleme
2022-01-21 13:29:23.637  - info: javascript.0 (1892168) script.js.System.Adapter_Report: starte Adapter neu
2022-01-21 13:29:23.701  - error: host.iobroker Caught by controller[0]: Error: read ECONNRESET
2022-01-21 13:29:23.704  - error: host.iobroker Caught by controller[0]:     at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
2022-01-21 13:29:23.704  - error: host.iobroker instance system.adapter.web.1 terminated with code 1 (JS_CONTROLLER_STOPPED)
2022-01-21 13:29:23.705  - info: host.iobroker Restart adapter system.adapter.web.1 because enabled
2022-01-21 13:29:30.002  - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Power: 0
2022-01-21 13:29:30.005  - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: An unknown error occurred.
2022-01-21 13:29:30.005  - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Check mute: false
2022-01-21 13:29:30.005  - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Mute: null
2022-01-21 13:29:30.008  - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: An unknown error occurred.
2022-01-21 13:29:30.008  - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Volume: null
2022-01-21 13:29:30.013  - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Lautstärke setzen: 

@Apollon77
Copy link
Collaborator

Ok, erstmal sicherstellen das es auch die neue Verison ist :-)))
Bitte schau mal in /opt/iobroker/node_modules/iobroker.proxy/lib/proxy.js das das drin ist
https://github.com/ioBroker/ioBroker.proxy/blob/master/lib/proxy.js#L158-L162

Und Du hast web neu gestartet nach der Installation ???

@n3roGit
Copy link
Author

n3roGit commented Jan 21, 2022

image
Jau das ist drin und die Adapter wurden neu gestartet :)

Log steht auf INFO.

@Apollon77
Copy link
Collaborator

Schade :-( Versuch nochmal neue Github, obwohl ist nicht glaube das es helfen wird

@n3roGit
Copy link
Author

n3roGit commented Jan 21, 2022

Mist! Montag kann ich die nochmal ziehen und das testen. Ich werde berichten :)

@Apollon77
Copy link
Collaborator

kein stress

@n3roGit
Copy link
Author

n3roGit commented Jan 25, 2022

Hier das Log mit der aktuellen Github Version:

`

2022-01-25 11:18:24.424 - info: javascript.0 (1892168) script.js.System.z_OLD.Zauberwürfel: Würfel ist gesperrt!!!
2022-01-25 11:18:28.277 - error: javascript.0 (1892168) Request error: Error: connect EHOSTUNREACH 192.168.1.101:1925
2022-01-25 11:18:28.278 - error: javascript.0 (1892168) script.js.System.Wohnzimmer.Wohnzimmer_TV: {'errno':-113,'code':'EHOSTUNREACH','syscall':'connect','address':'192.168.1.101','port':1925}
2022-01-25 11:18:30.002 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Power: 0
2022-01-25 11:18:30.003 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: An unknown error occurred.
2022-01-25 11:18:30.003 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Check mute: false
2022-01-25 11:18:30.003 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Mute: null
2022-01-25 11:18:30.004 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: An unknown error occurred.
2022-01-25 11:18:30.005 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Volume: null
2022-01-25 11:18:30.009 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Lautstärke setzen: null
2022-01-25 11:18:37.714 - info: alexa2.0 (COMPACT) getState not processed because States database not connected
2022-01-25 11:18:41.383 - info: alexa2.0 (COMPACT) getState not processed because States database not connected
2022-01-25 11:18:41.419 - warn: hue-extended.0 (COMPACT) Error connecting to Hue Bridge: Incorrect data return from Hue API. Already retried 17475x so far. Try again in 1 minute..
2022-01-25 11:18:43.284 - error: javascript.0 (1892168) Request error: Error: connect EHOSTUNREACH 192.168.1.101:1925
2022-01-25 11:18:43.285 - error: javascript.0 (1892168) script.js.System.Wohnzimmer.Wohnzimmer_TV: {'errno':-113,'code':'EHOSTUNREACH','syscall':'connect','address':'192.168.1.101','port':1925}
2022-01-25 11:18:45.004 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Power: 0
2022-01-25 11:18:45.005 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: An unknown error occurred.
2022-01-25 11:18:45.005 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Check mute: false
2022-01-25 11:18:45.005 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Mute: null
2022-01-25 11:18:45.007 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: An unknown error occurred.
2022-01-25 11:18:45.007 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Volume: null
2022-01-25 11:18:45.013 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Lautstärke setzen: null
2022-01-25 11:18:45.339 - error: web.1 (2993373) uncaught exception: read ECONNRESET
2022-01-25 11:18:45.382 - info: javascript.0 (1892168) script.js.System.Adapter_Report: ❌ Adapter web.1 meldet Probleme
2022-01-25 11:18:45.383 - info: javascript.0 (1892168) script.js.System.Adapter_Report: starte Adapter neu
2022-01-25 11:18:45.424 - error: host.iobroker Caught by controller[0]: Error: read ECONNRESET
2022-01-25 11:18:45.426 - error: host.iobroker Caught by controller[0]: at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
2022-01-25 11:18:45.427 - error: host.iobroker instance system.adapter.web.1 terminated with code 1 (JS_CONTROLLER_STOPPED)
2022-01-25 11:18:45.427 - info: host.iobroker Restart adapter system.adapter.web.1 because enabled
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_32323D__ENERGY_Total.cumulativeReading - 280.0679999999999
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_3C2093__ENERGY_Total.cumulativeReading - 936.944
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_3D58B1__ENERGY_Total.cumulativeReading - 0
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_682D3A__ENERGY_Total.cumulativeReading - 153.76599999999996
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_682DBE__ENERGY_Total.cumulativeReading - 636.737
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_6AFF87__ENERGY_Total.cumulativeReading - 343.35699999999997
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_D4D9AB__ENERGY_Total.cumulativeReading - 662.76
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_D53887__ENERGY_Total.cumulativeReading - 95.298
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_D55B20__ENERGY_Total.cumulativeReading - 796.863
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DB41A3__ENERGY_Total.cumulativeReading - 1430.326
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBB9AF__ENERGY_Total.cumulativeReading - 307.627
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBBA78__ENERGY_Total.cumulativeReading - 0.37
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBDA95__ENERGY_Total.cumulativeReading - 23.659000000000002
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBE058__ENERGY_Total.cumulativeReading - 511.518
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_DBE676__ENERGY_Total.cumulativeReading - 926.413
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_F0D26D__ENERGY_Total.cumulativeReading - 531.374
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_F40825__ENERGY_Total.cumulativeReading - 94.343
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: sourceanalytix.0.sonoff__0__DVES_F40C75__ENERGY_Total.cumulativeReading - 61.987
2022-01-25 11:18:48.224 - info: javascript.0 (1892168) script.js.System.Global_KW: Global KW: 7793.41
2022-01-25 11:18:56.601 - info: alexa2.0 (COMPACT) getState not processed because States database not connected
2022-01-25 11:18:58.257 - error: javascript.0 (1892168) Request error: Error: connect EHOSTUNREACH 192.168.1.101:1925
2022-01-25 11:18:58.257 - error: javascript.0 (1892168) script.js.System.Wohnzimmer.Wohnzimmer_TV: {'errno':-113,'code':'EHOSTUNREACH','syscall':'connect','address':'192.168.1.101','port':1925}
2022-01-25 11:19:00.014 - info: javascript.0 (1892168) script.js.System.Schlafzimmer.SharpTVRemote: Power: 0

`

@Apollon77
Copy link
Collaborator

:-( The the question is why it happens :-(

@n3roGit
Copy link
Author

n3roGit commented Jan 25, 2022

I told you that I could not really see anything in the log ... :(
If you want, you can look directly on my system.

@Apollon77
Copy link
Collaborator

All good ... in fact it seems that the system where the request goes to is resetting the connection here and there and this triggers an uncatchable exception on such a proxied connection inside the used proxy library ... so in fact you can really try to reduce the "Number of requests" that they are maybe not done any 20ms .. maybe it is simply "too much" for the device

@n3roGit
Copy link
Author

n3roGit commented Jan 25, 2022

I have deactivated the slideshow now. It seems to help. Time will tell! Thanks to you!

@Apollon77
Copy link
Collaborator

Ok, maybe really try to lower the frequency

@n3roGit
Copy link
Author

n3roGit commented Jan 27, 2022

I have now played around a bit. I think it is because of the iFrame from Motioneye. There the video is streamed with 15FPS. I will test it times to 2FPS reduce and keep an eye on.
If it is really due to the load, can the adapter then be implemented optimizations that avoid these crashes?

In itself, my server here is more than potent enough to cope with this load.

@Apollon77
Copy link
Collaborator

The "Problem" is that this error is thrown by the used proxy library. in fact somehow the connection gets closed unexpectedly which reading data ...

@n3roGit
Copy link
Author

n3roGit commented Jan 31, 2022

Unfortunately, I can not get the problem under control. I have reduced the frame rate to 5 FPS and set up a separate web service for each tablet, but the web service still runs in the restart loop.

I am really with my Latin at the end.

@stale
Copy link

stale bot commented May 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label May 2, 2022
@Apollon77 Apollon77 removed the wontfix label May 2, 2022
@stale
Copy link

stale bot commented Sep 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix label Sep 21, 2022
@stale
Copy link

stale bot commented May 9, 2023

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions.
Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.

@stale stale bot closed this as completed May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants