fredrikbaberg / ha-3dprinter-addons

3DPrinter-related add-ons for Home Assistant.
11 stars 2 forks source link

Home assistant addon doesnt work #99

Open chechilll opened 6 months ago

chechilll commented 6 months ago

Describe the issue you are experiencing

Can't run the addon

Which add-on are you reporting an issue with?

3DPrinter-OctoPrint

What is the version of the add-on?

2024.01.2

Steps to reproduce the issue

  1. Instaled addon 2024.01.2
  2. Run the Addon

Anything in the add-on logs that might be useful?

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/octoprint.sh
/etc/cont-init.d/octoprint.sh: line 9: octoprint: command not found
Python 3.9.2
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1cd430>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1cd220>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1cd070>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1cd940>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8e1cdbb0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/
ERROR: Could not find a version that satisfies the requirement octoprint==1.9.3
ERROR: No matching distribution found for octoprint==1.9.3
cont-init: info: /etc/cont-init.d/octoprint.sh exited 1
cont-init: info: running /etc/cont-init.d/proxy.sh
curl: (7) Couldn't connect to server
[19:48:07] ERROR: Something went wrong contacting the API
curl: (7) Couldn't connect to server
[19:48:07] ERROR: Something went wrong contacting the API
cont-init: info: /etc/cont-init.d/proxy.sh exited 0
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Additional information

No response

fredrikbaberg commented 6 months ago

This looks like a network issue, not the add-on itself. I did a reinstall on my generic x86-64 install without encountering the same issue.

Could you try to stop and start the add-on again, and see if you get the same issue?

chechilll commented 6 months ago

Its not a network issue. I run it on a raspberry pi 4 (8gb ram) with other 6 addons without problems. I tried reinstall, start/stop, reload, reboot with same result. Installing octoprint with docker works but makes home Assistant not compliance.

Enviado desde Outlook para Androidhttps://aka.ms/AAb9ysg


From: Fredrik Baberg @.> Sent: Tuesday, March 5, 2024 8:21:10 PM To: fredrikbaberg/ha-3dprinter-addons @.> Cc: chechilll @.>; Author @.> Subject: Re: [fredrikbaberg/ha-3dprinter-addons] Home assistant addon doesnt work (Issue #99)

This looks like a network issue, not the add-on itself. I did a reinstall on my generic x86-64 install without encountering the same issue.

Could you try to stop and start the add-on again, and see if you get the same issue?

— Reply to this email directly, view it on GitHubhttps://github.com/fredrikbaberg/ha-3dprinter-addons/issues/99#issuecomment-1979475718, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANXPMHLTKACDQBAAJX436T3YWYLKNAVCNFSM6AAAAABEHWBQKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZZGQ3TKNZRHA. You are receiving this because you authored the thread.Message ID: @.***>

fredrikbaberg commented 6 months ago

I'm currently unable to recreate the issue. I'll see if I get some time to look at it during the weekend.

A quick search indicates the issue could be related to proxy configuration (https://stackoverflow.com/questions/52815784/python-pip-raising-newconnectionerror-while-installing-libraries). Did you also try to reboot the Raspberry Pi 4 itself?

chechilll commented 6 months ago

Did you also try to reboot the Raspberry Pi 4 itself? Yes, as i said I tried reinstall, start/stop (addon), reload (addon), reboot (Raspberry) with same result

zagi988 commented 5 months ago

I have the same problem, running on a Debian server with HA Supervised.

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/octoprint.sh /etc/cont-init.d/octoprint.sh: line 9: octoprint: command not found Python 3.9.2 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5193dad220>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5193dad430>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5193da91c0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5193da9370>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5193da9e50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/octoprint/ ERROR: Could not find a version that satisfies the requirement octoprint==1.9.3 ERROR: No matching distribution found for octoprint==1.9.3 cont-init: info: /etc/cont-init.d/octoprint.sh exited 1 cont-init: info: running /etc/cont-init.d/proxy.sh curl: (7) Couldn't connect to server [19:24:49] ERROR: Something went wrong contacting the API curl: (7) Couldn't connect to server [19:24:49] ERROR: Something went wrong contacting the API cont-init: info: /etc/cont-init.d/proxy.sh exited 0 cont-init: warning: some scripts exited nonzero s6-rc: warning: unable to start service legacy-cont-init: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

zagi988 commented 4 months ago

Any update on this?

fredrikbaberg commented 4 months ago

No update yet, I haven't been able to replicate the issue (and haven't had time to look properly at it). I'll have to prepare a HA Supervised setup to see if I can figure out why it doesn't work.

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

fredrikbaberg commented 3 months ago

I've now been able to replicate the issue, will look at it during the weekend.

chechilll commented 3 months ago

Thanks, ...waiting the patch :)

Enviado desde Outlook para Androidhttps://aka.ms/AAb9ysg


From: Fredrik Baberg @.> Sent: Wednesday, May 29, 2024 8:28:32 AM To: fredrikbaberg/ha-3dprinter-addons @.> Cc: chechilll @.>; Author @.> Subject: Re: [fredrikbaberg/ha-3dprinter-addons] Home assistant addon doesnt work (Issue #99)

I've now been able to replicate the issue, will look at it during the weekend.

— Reply to this email directly, view it on GitHubhttps://github.com/fredrikbaberg/ha-3dprinter-addons/issues/99#issuecomment-2136634314, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANXPMHLXO7PN5MP5PWGMEZTZEVYRBAVCNFSM6AAAAABEHWBQKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGYZTIMZRGQ. You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

chechilll commented 2 months ago

It still doesnt work

Enviado desde Outlook para Androidhttps://aka.ms/AAb9ysg


From: github-actions[bot] @.> Sent: Friday, June 28, 2024 9:15:41 AM To: fredrikbaberg/ha-3dprinter-addons @.> Cc: chechilll @.>; Author @.> Subject: Re: [fredrikbaberg/ha-3dprinter-addons] Home assistant addon doesnt work (Issue #99)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

— Reply to this email directly, view it on GitHubhttps://github.com/fredrikbaberg/ha-3dprinter-addons/issues/99#issuecomment-2196290906, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANXPMHOGLCYDC4B3NFNN7B3ZJUER3AVCNFSM6AAAAABEHWBQKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGI4TAOJQGY. You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

chechilll commented 1 month ago

It still doesnt work

Enviado desde Outlook para Androidhttps://aka.ms/AAb9ysg


From: github-actions[bot] @.> Sent: Thursday, August 1, 2024 8:21:13 PM To: fredrikbaberg/ha-3dprinter-addons @.> Cc: chechilll @.>; Author @.> Subject: Re: [fredrikbaberg/ha-3dprinter-addons] Home assistant addon doesnt work (Issue #99)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

— Reply to this email directly, view it on GitHubhttps://github.com/fredrikbaberg/ha-3dprinter-addons/issues/99#issuecomment-2263687912, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANXPMHMH5TTXUFAMMIXP4ALZPJ4BTAVCNFSM6AAAAABEHWBQKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTGY4DOOJRGI. You are receiving this because you authored the thread.Message ID: @.***>

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

chechilll commented 2 weeks ago

It still doesnt work

Enviado desde Outlook para Androidhttps://aka.ms/AAb9ysg


From: github-actions[bot] @.> Sent: Saturday, August 31, 2024 10:18:18 PM To: fredrikbaberg/ha-3dprinter-addons @.> Cc: chechilll @.>; Author @.> Subject: Re: [fredrikbaberg/ha-3dprinter-addons] Home assistant addon doesnt work (Issue #99)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

— Reply to this email directly, view it on GitHubhttps://github.com/fredrikbaberg/ha-3dprinter-addons/issues/99#issuecomment-2323033920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANXPMHKME267CK4NG2OXX7DZUIQIVAVCNFSM6AAAAABEHWBQKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTGAZTGOJSGA. You are receiving this because you authored the thread.Message ID: @.***>