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

second instance on port 5001 api not connected #182

Open
1 of 2 tasks
icemanmw opened this issue Jan 22, 2024 · 6 comments
Open
1 of 2 tasks

second instance on port 5001 api not connected #182

icemanmw opened this issue Jan 22, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@icemanmw
Copy link

icemanmw commented Jan 22, 2024

The problem

i have two instances on iobroker for octoprint. Since a couple of days i get no api connection for the instance with the port 5001 (on 80 it is running , aso if i switch the port between the instances)
Also same issue with a downgrade from 5.1.0 to 4.0.1

LOG-file - instance octoprint.0 is with port 5001 / octoprint.2 is with port 80

Version of nodejs

v20.11.0

Version of ioBroker js-controller

5.0.17

Version of Adapter

5.1.0

Operating system running ioBroker

Proxmox ioBroker LXC

Checklist of files to include below

  • iobroker.current.log (Please share the logs in debug mode)
  • Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

2024-01-22 22:05:30.740 - info: host.iobroker stopInstance system.adapter.octoprint.0 (force=false, process=true)
--
2024-01-22 22:05:30.743 - info: octoprint.0 (1746503) Got terminate signal TERMINATE_YOURSELF
2024-01-22 22:05:30.743 - info: octoprint.0 (1746503) terminating
2024-01-22 22:05:30.744 - info: octoprint.0 (1746503) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-01-22 22:05:30.863 - info: host.iobroker stopInstance system.adapter.octoprint.0 send kill signal
2024-01-22 22:05:31.245 - info: octoprint.0 (1746503) terminating
2024-01-22 22:05:31.304 - info: host.iobroker instance system.adapter.octoprint.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-01-22 22:05:33.533 - warn: admin.1 (1742244) octoprint has an invalid jsonConfig: [{"instancePath":"","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"iconPosition"},"message":"must NOT have additional properties"}]
2024-01-22 22:05:33.922 - info: host.iobroker instance system.adapter.octoprint.0 started with pid 1751048
2024-01-22 22:05:34.838 - info: octoprint.0 (1751048) starting. Version 5.1.0 (non-npm: klein0r/ioBroker.octoprint) in /opt/iobroker/node_modules/iobroker.octoprint, node: v20.11.0, js-controller: 5.0.17
2024-01-22 22:05:35.445 - info: octoprint.0 (1751048) error ECONNRESET from /api/connection: socket hang up
2024-01-22 22:05:45.443 - info: octoprint.0 (1751048) error ECONNRESET from /api/connection: socket hang up
2024-01-22 22:06:45.489 - info: octoprint.0 (1751048) error ECONNRESET from /api/connection: socket hang up
2024-01-22 22:07:04.520 - info: host.iobroker stopInstance system.adapter.octoprint.1 (force=false, process=true)
2024-01-22 22:07:04.522 - info: octoprint.1 (1745600) Got terminate signal TERMINATE_YOURSELF
2024-01-22 22:07:04.523 - info: octoprint.1 (1745600) terminating
2024-01-22 22:07:04.523 - info: octoprint.1 (1745600) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2024-01-22 22:07:04.567 - info: host.iobroker stopInstance system.adapter.octoprint.1 send kill signal
2024-01-22 22:07:05.024 - info: octoprint.1 (1745600) terminating
2024-01-22 22:07:05.334 - error: octoprint.1 (1745600) Cannot check object existence of "octoprint.1.files.local_AI3M_001100_Klemm_Stoppel_OD4.name": Connection is closed.
2024-01-22 22:07:05.410 - info: host.iobroker instance system.adapter.octoprint.1 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2024-01-22 22:07:07.635 - info: host.iobroker instance system.adapter.octoprint.1 started with pid 1751279
2024-01-22 22:07:08.732 - info: octoprint.1 (1751279) starting. Version 5.1.0 (non-npm: klein0r/ioBroker.octoprint) in /opt/iobroker/node_modules/iobroker.octoprint, node: v20.11.0, js-controller: 5.0.17
2024-01-22 22:07:45.443 - info: octoprint.0 (1751048) error ECONNRESET from /api/connection: socket hang up
@icemanmw icemanmw added the bug Something isn't working label Jan 22, 2024
Copy link

Thanks for reporting a new issue @icemanmw!

  1. Please make sure your topic is not covered in the documentation
  2. Ensure that you use the latest beta version (not the current stable version): 5.1.0
  3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

Otherwise this issue will be closed.

@icemanmw
Copy link
Author

icemanmw commented Feb 3, 2024

Problem is still there. I guess the problem is the webserver location. in my case it is 192.168.1.x/Vyper and 192.168.1.x/MegaX
Log still shows "error ECONNRESET from /api/connection: socket hang up"

@klein0r
Copy link
Owner

klein0r commented Feb 5, 2024

Version 5.1.0 (non-npm: klein0r/ioBroker.octoprint)

Don't install adapters from GitHub... how shoud I know what is installed?

@icemanmw
Copy link
Author

icemanmw commented Feb 6, 2024

Hello, you are right , i didn´t recogniced that i installed during the last days a github version whiel i was testing the .
Now i deinstalled the Github Version and reinstalled the latest official version (i hope so), but still the same issue.

2024-02-06 16:48:35.797 - info: octoprint.1 (2726706) starting. Version 5.1.0 in /opt/iobroker/node_modules/iobroker.octoprint, node: v20.11.0, js-controller: 5.0.17
2024-02-06 16:48:36.024 - info: octoprint.1 (2726706) error ECONNRESET from /api/connection: socket hang up
2024-02-06 16:48:39.866 - info: javascript.0 (312337) script.js.OctoPrint-API.DisplayLayerProgress: request: http://192.168.1.83:5001/plugin/DisplayLayerProgress/values?apikey=9724........xxxxx

@klein0r
Copy link
Owner

klein0r commented Feb 7, 2024

error ECONNRESET from /api/connection: socket hang up

But that sounds like a problem on the other side (connection has been closed by octoprint).

@icemanmw
Copy link
Author

icemanmw commented Feb 7, 2024

It seems that the path is the problem.
I have in parallel the App octopod and the home assistant instance running. In both cases I can point to http://192.168.1.83/Vyper and it works .
In the ioBroker.octoprint instance, I just can point to the IP without the /vyper.
Maybe that is the reason … I don’t know.

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