Community Hass.io Add-on: IDE, based on Cloud9

Hi all,

I have a question is there a way to connect cloud9 to a bitbucket repo?

It supports gitā€¦ it doesnā€™t matter where the repo is hosted.

Thanks Frenck,

Im not able to set it up can you show me how?

Could9 IDE is pretty well documented, so just do a quick Google search :wink:

:tada: Release v0.7.0

Full Changelog

This release adds authentication :lock: against Home Assistant.

From now on, you have to log in with the same username and password and you use to log on to the Home Assistant frontend. No need to provide credentials in the add-on configuration anymore (so, those can be removed).

Changed

  • Changed past to paste (#23) (@dayofdoom)
  • Adds HA Authentication (#24)
  • Upgrades git to 2.18.1-r0
  • Upgrades libxml2 to 2.9.8-r1
  • Upgrades libxml2-utils to 2.9.8-r1
  • Small improvements to HA authentication proxy
  • Upgrades Cloud9 Core to c4d1c59

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck or https://buymeacoff.ee/frenck

2 Likes

I am not getting prompted for a user name and password. Config is default. I have tried in a incognito window.

Try cleaning the browser cache/cookies, or (just for test) try to open in anonymous modeā€¦

Iā€™m still using legacy PW. How do I login if I have no username and only a legacy password? Usernames as blank and homeassistant didnā€™t work. I tried to add a username and password to the config and it removes them.

You have to use the HA auth now - canā€™t use legacy anymore for this addon.

1 Like

Has anyone had issues with scrolling in the terminal? It seems that oh my zsh is constantly detecting the terminal in applicationKeypad mode and interprets scrolling as the up and down keys. This in turn means that if you run something like hassio homeassistant check, you canā€™t scroll back up in the terminal window to see the output, it just scrolls through the previously used commands at the prompt. There have been a few other people with similar issues in other projects. Itā€™s something to do with the terminal configuration, but Iā€™m honestly not familiar enough with zsh to know how to diagnose it.

I have the same issue

Ditto that!

Iā€™ve Just set this up and forwarded the port etc but Iā€™m getting ā€œ401 Access Deniedā€ when i click on ā€˜OPEN WEB UIā€™ - does anyone know what I may be doing wrong please?

Tried both Chrome and Edge.

The system log
XX.XXX.XXX.XX - - [12/Dec/2018:15:21:39 +0000] ā€œGET / HTTP/1.1ā€ 401 29 ā€œ-ā€ ā€œMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36ā€
XX.XXX.XXX.XX - - [12/Dec/2018:15:21:40 +0000] ā€œGET /favicon.ico HTTP/1.1ā€ 401 29 ā€œhttps://XXXXX.duckdns.org:8321/ā€ ā€œMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36ā€
2018/12/12 15:21:52 [info] 761#761: *6 client closed connection while waiting for request, client: XX.XXX.XXX.XX, server: 0.0.0.0:8321

Thank you.

:tada: Release v0.7.1

Added the colordiff package (thanks for the suggestion @adonnolux) and added support for serial devices.

Full Changelog

Changed

  • Upgrades nginx to 1.14.1-r0
  • Adds support for serial devices
  • Adds info about HA auth to README.md (#25) (@PixelJonas)
  • Upgrades openssl to 1.0.2p-r0
  • Upgrades bind-tools to 9.12.3-r0
  • Adds colordiff package

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck or https://buymeacoff.ee/frenck

Getting this message while starting the IDE :

Cloud9 is up and running
PANIC: unprotected error in call to Lua API (bad light userdata pointer)
INFO: Starting the NGINX daemon
PANIC: unprotected error in call to Lua API (bad light userdata pointer)
INFO: Starting the NGINX daemon

HA is running on a Pine64 with Debian 64 bitsā€¦ looks to be releated to nginx

found this (having the exact same problem): arm64: unprotected error in call to Lua API (bad light userdata pointer) Ā· Issue #2802 Ā· kubernetes/ingress-nginx Ā· GitHub

Anyway to update nginx in the IDE docker ?

:warning: :ambulance: :lock: Release v0.7.2

This version contains an important security fix, and it is strongly recommend for ALL installations to be upgraded to this version immediately.

Bypass of Authentication

The authentication against Home Assistant can be bypassed by an anonymous and unauthorized user. The issue has been mitigated in the latest release.

To be clear on the subject: This is an add-on issue and not an issue with the Home Assistant authentication itself.

Exact details of the vulnerability are not disclosed in order to give our users the time to upgrade.

Thanks to Lars Larsson for responsibly reporting this vulnerability.

Versions Affected

Affects all releases that support authentication against Home Assistant, add-on versions v0.7.0 and higher. Older releases are not affected.

Full Changelog

Changed

  • Upgrades nginx to 1.14.2-r0
  • Upgrades YAMLlint to 1.13.0
  • Fixes authentication bypass vulnerability

Questions? Join our Discord server! https://discord.me/hassioaddons

Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck or https://buymeacoff.ee/frenck

Hi ! I donā€™t know if itā€™s been answer or if itā€™s the last addon update (Iā€™m still new to home assistant and Hass.io)

I donā€™t have any user and password in my config but when I start the IDE addon it ask me a user/password

I canā€™t add a username and password my config is always override

I disable the ssl

Thanks

It uses your home assistant username and password.

nop ā€¦ it doesnā€™t workā€¦

This is my setup.

{
  "log_level": "info",
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "packages": [],
  "init_commands": []
}

What does the logfile in the addon say?

1 Like