{"action":"created","issue":{"url":"https://api.github.com/repos/hassio-addons/addon-node-red/issues/105","repository_url":"https://api.github.com/repos/hassio-addons/addon-node-red","labels_url":"https://api.github.com/repos/hassio-addons/addon-node-red/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/hassio-addons/addon-node-red/issues/105/comments","events_url":"https://api.github.com/repos/hassio-addons/addon-node-red/issues/105/events","html_url":"https://github.com/hassio-addons/addon-node-red/issues/105","id":395082386,"node_id":"MDU6SXNzdWUzOTUwODIzODY=","number":105,"title":"Can not log in to Node-Red","user":{"login":"john-arvid","id":10496003,"node_id":"MDQ6VXNlcjEwNDk2MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/10496003?v=4","gravatar_id":"","url":"https://api.github.com/users/john-arvid","html_url":"https://github.com/john-arvid","followers_url":"https://api.github.com/users/john-arvid/followers","following_url":"https://api.github.com/users/john-arvid/following{/other_user}","gists_url":"https://api.github.com/users/john-arvid/gists{/gist_id}","starred_url":"https://api.github.com/users/john-arvid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-arvid/subscriptions","organizations_url":"https://api.github.com/users/john-arvid/orgs","repos_url":"https://api.github.com/users/john-arvid/repos","events_url":"https://api.github.com/users/john-arvid/events{/privacy}","received_events_url":"https://api.github.com/users/john-arvid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-01-01T13:20:14Z","updated_at":"2019-01-01T13:42:26Z","closed_at":"2019-01-01T13:42:26Z","author_association":"NONE","body":"# Problem/Motivation\r\n\r\nCan not log in to Node-Red\r\n\r\n## Expected behavior\r\n\r\nBe able to log in\r\n\r\n## Actual behavior\r\n\r\nThe login page just refreshes when entering the username and password. No error in the logs or any messages in the browser. Tested with Google Chrome and Internet Explorer.\r\nTried also with several HA users.\r\n\r\n## Steps to reproduce\r\n\r\n-Clean install of todays Home assistant on raspberry pi.\r\n-Install node-red from the ADD-ON STORE.\r\n-Add secret and set ssl to false.\r\n-Start node-red\r\n-Go to http://hassio.local:1880 and try to log in\r\n\r\nConfig:\r\n```\r\n{\r\n  \"log_level\": \"info\",\r\n  \"credential_secret\": \"8BK636ZlpH%gYKtsnwBp\",\r\n  \"http_node\": {\r\n    \"username\": \"\",\r\n    \"password\": \"\"\r\n  },\r\n  \"http_static\": {\r\n    \"username\": \"\",\r\n    \"password\": \"\"\r\n  },\r\n  \"port\": 1880,\r\n  \"ssl\": false,\r\n  \"certfile\": \"fullchain.pem\",\r\n  \"keyfile\": \"privkey.pem\",\r\n  \"require_ssl\": false,\r\n  \"system_packages\": [],\r\n  \"npm_packages\": [],\r\n  \"init_commands\": []\r\n}\r\n```\r\n\r\nLog:\r\n\r\n```\r\n[s6-init] making user provided files available at /var/run/s6/etc...exited 0.\r\n[s6-init] ensuring user provided files have correct perms...exited 0.\r\n[fix-attrs.d] applying ownership & permissions fixes...\r\n[fix-attrs.d] done.\r\n[cont-init.d] executing container initialization scripts...\r\n[cont-init.d] 00-banner.sh: executing... \r\n-----------------------------------------------------------\r\n Hass.io Add-on: Node-RED v1.2.2\r\n Flow-based programming for the Internet of Things\r\n From: Community Hass.io Add-ons\r\n By: Franck Nijhof <frenck@addons.community>\r\n-----------------------------------------------------------\r\n armhf / HassOS 1.13 / HA 0.84.6 / SU 141 / stable\r\n-----------------------------------------------------------\r\n[cont-init.d] 00-banner.sh: exited 0.\r\n[cont-init.d] 01-log-level.sh: executing... \r\nLog level is set to INFO\r\n[cont-init.d] 01-log-level.sh: exited 0.\r\n[cont-init.d] 02-updates.sh: executing... \r\nINFO: You are running the latest version of this add-on\r\n[cont-init.d] 02-updates.sh: exited 0.\r\n[cont-init.d] 10-requirements.sh: executing... \r\n[cont-init.d] 10-requirements.sh: exited 0.\r\n[cont-init.d] 20-config.sh: executing... \r\n[cont-init.d] 20-config.sh: exited 0.\r\n[cont-init.d] 50-remove-conflicts.sh: executing... \r\nup to date in 2.507s\r\nfound 0 vulnerabilities\r\n[cont-init.d] 50-remove-conflicts.sh: exited 0.\r\n[cont-init.d] 80-system-packages.sh: executing... \r\n[cont-init.d] 80-system-packages.sh: exited 0.\r\n[cont-init.d] 81-npm-packages.sh: executing... \r\n[cont-init.d] 81-npm-packages.sh: exited 0.\r\n[cont-init.d] 82-user-scripts.sh: executing... \r\n[cont-init.d] 82-user-scripts.sh: exited 0.\r\n[cont-init.d] done.\r\n[services.d] starting services\r\n[services.d] done.\r\n> hassio-addon-node-red@ start /opt\r\n> node $NODE_OPTIONS node_modules/node-red/red.js \"--settings\" \"/etc/node-red/config.js\"\r\n1 Jan 13:14:17 - [info] \r\nWelcome to Node-RED\r\n===================\r\n1 Jan 13:14:17 - [info] Node-RED version: v0.19.5\r\n1 Jan 13:14:17 - [info] Node.js  version: v8.14.0\r\n1 Jan 13:14:17 - [info] Linux 4.14.81-v7 arm LE\r\n1 Jan 13:14:18 - [info] Loading palette nodes\r\n1 Jan 13:14:24 - [info] Settings file  : /etc/node-red/config.js\r\n1 Jan 13:14:24 - [info] Context store  : 'default' [module=memory]\r\n1 Jan 13:14:24 - [info] User directory : /config/node-red/\r\n1 Jan 13:14:24 - [warn] Projects disabled : editorTheme.projects.enabled=false\r\n1 Jan 13:14:24 - [info] Flows file     : /config/node-red/flows.json\r\n1 Jan 13:14:24 - [info] Server now running at http://127.0.0.1:1880/\r\n1 Jan 13:14:24 - [info] Starting flows\r\n1 Jan 13:14:24 - [info] Started flows\r\n1 Jan 13:14:24 - [info] [server:Home Assistant] WebSocket Connected to http://hassio/homeassistant\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/hassio-addons/addon-node-red/issues/comments/450729670","html_url":"https://github.com/hassio-addons/addon-node-red/issues/105#issuecomment-450729670","issue_url":"https://api.github.com/repos/hassio-addons/addon-node-red/issues/105","id":450729670,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDcyOTY3MA==","user":{"login":"frenck","id":195327,"node_id":"MDQ6VXNlcjE5NTMyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/195327?v=4","gravatar_id":"","url":"https://api.github.com/users/frenck","html_url":"https://github.com/frenck","followers_url":"https://api.github.com/users/frenck/followers","following_url":"https://api.github.com/users/frenck/following{/other_user}","gists_url":"https://api.github.com/users/frenck/gists{/gist_id}","starred_url":"https://api.github.com/users/frenck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenck/subscriptions","organizations_url":"https://api.github.com/users/frenck/orgs","repos_url":"https://api.github.com/users/frenck/repos","events_url":"https://api.github.com/users/frenck/events{/privacy}","received_events_url":"https://api.github.com/users/frenck/received_events","type":"User","site_admin":false},"created_at":"2019-01-01T13:42:26Z","updated_at":"2019-01-01T13:42:26Z","author_association":"MEMBER","body":"I'm glad the issue got resolved for you. Thanks for letting me know."}}
{"actor":{"display_login":"frenck"}}