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

Webui is not starting #379

Open
DerNoli opened this issue Feb 17, 2024 · 4 comments
Open

Webui is not starting #379

DerNoli opened this issue Feb 17, 2024 · 4 comments

Comments

@DerNoli
Copy link

DerNoli commented Feb 17, 2024

Installerd the addon, saved the config and started, but on neither port ui is working

best

@mlinko6
Copy link

mlinko6 commented Feb 19, 2024

I have the same issue with the app...

My logs:
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, /",
"Content-Type": "application/json",
"User-Agent": "axios/1.6.0",
"Content-Length": "246",
"Accept-Encoding": "gzip, compress, deflate, br"
},
"responseType": "text",
"method": "post",
"url": "http://192.168.1.2:8000/notify",
"data": "{"urls":"mailto://user:pass@gmail.com","title":"epicgames-freegames-node","body":"epicgames-freegames-node needs an action performed.\nreason: LOGIN\naccount: example@gmail.com\nurl: https://epic.example.com/daekve\",\"format\":\"text\",\"type\":\"info\"}"
},
"code": "ECONNREFUSED",
"status": null

I don't know where it gehts the IP from... 192.168.1.2 is no I configured on the Interfaces - docker uses different IPs on my HA Server...

The Logs:
[supervisor.docker.addon] Add-on Epic Games Free try to access to blocked device sda!

@claabs
Copy link
Owner

claabs commented Feb 19, 2024

You'll need to look at the documentation for the addon: https://github.com/alexbelgium/hassio-addons/tree/master/epicgamesfree

There is no web UI that is always active. The webserver only exists to redirect you to the device auth login page, and it is only running when a scheduled run occurs and needs someone to log in.

@mlinko6
Copy link

mlinko6 commented Feb 20, 2024

Thx for the input, the thing is - the more I look at the .json file the more I don't get what to put in to get it to work...

I dont need the whole part with the "notification" and so on... I just want to input my Account which is only the username - don't know when or where I should input my password...

If I'm not mistaken the "Installation" Steps are following:

Add my add-ons repository to your home assistant instance (in supervisor addons store at top right, or click button below if you have configured my HA) Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

  1. Install this add-on.
  2. Click the Save button to store your configuration.
  3. Set the add-on options to your preferences
  4. Start the add-on.
  5. Check the logs of the add-on to see if everything went well.
  6. Open the webUI and adapt the software options

There is no need to edit the Config.json mentioned in the installation instructions... So I still don't get it why the "webUI" is not starting...

@claabs Can you point me to where I have to input my username and password so that the script will finaly work?

Thx!
Rok

@claabs
Copy link
Owner

claabs commented Feb 20, 2024

It looks like you have a misunderstanding of what this project offers. Passwords are not used, just device code authorization. Device code authorization requires you to click a link, which requires a notification (unless you want to look at the logs?). Redeeming a game also requires a notification, as Epic's bot protection prevents it from being done automatically.

As for the setup instructions, I'll refer you back to the addon's project: https://github.com/alexbelgium/hassio-addons/tree/master/epicgamesfree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants