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

Webinterface not showing up #17

Open
MikelillOi opened this issue Jul 12, 2017 · 9 comments
Open

Webinterface not showing up #17

MikelillOi opened this issue Jul 12, 2017 · 9 comments

Comments

@MikelillOi
Copy link

Hi!

I flash the ATMEGA328 succesfully and the esp8266 too. But when I try to go to the webinterface it shows the password dialog. I put it, but then, I always received a 404 error.

I flashed the espurna normal firmware and it works, but I only can process as a sonoff switch.

The console, only shows "[WEBSERVER] Request: GET /" when I received the 404 error.

@DerKorb
Copy link

DerKorb commented Sep 10, 2017

There is another target "upload spiffs" in platform.io. You need to run it for the webserver content to be uploaded to the esp.

@timgray
Copy link

timgray commented Sep 13, 2017

I also am getting this and I am not using Platform.IO. No web interface at all. I get the login request and after that it fails.

@DerKorb
Copy link

DerKorb commented Sep 13, 2017

you need to upload the webserver content even if you are not using platform.io
no idea how to do it without platform.io

@xoseperez
Copy link
Owner

Please note version 1.0 does not use SPIFFS. Instead the web content is converted into a PROGMEM byte array and incloded in the main firmware image. You should have a index.html.gz.h under esp8266/sonoffsc/static. If you don't you can build it again following this instructions from the ESPurna repository.

@bastshoes
Copy link

I'm also can't get to web interface. After inputting default admin password I'm getting wrong credentials message. Browser console log gives 404 error. I'm using latest master branch.

@Cabalist
Copy link

Cabalist commented Sep 4, 2018

Ditto on the "Wrong Credentials" this happens after I put in 'admin/fibonacci' into the WebUI's login. If I put in 'admin/foo' it correctly rejects that so it seems the issue is after the first round of authentication.

I imagine at this point the codebase has fallen a good deal behind core espurna but I can't seem the find same issue over there. I wonder if this has to do with a library getting updated sometime between Oct and Jan? Websocket related?

Some more info:

The error in the browser is:
Failed to load resource: net::ERR_CONNECTION_REFUSED /auth:1

@minipilot1300
Copy link

minipilot1300 commented Sep 23, 2018

Hi,

same for me. Wrong Credentials when i put admin/fibonacci. Any other password reject, the input mask is shown again.
The index.html.gz.h is in the correct path. I also try to use the one from master branch.

@minipilot1300
Copy link

minipilot1300 commented Sep 24, 2018

*** SOLUTION ***
Delete the Memory of the esp. Then flash the firmware. Than the sc will do the job!

I use esptool.py -p /dev/cu.usbserial-00000000 erase_flash for this. It is possible that platform io can arrange this too.

@wiatrM
Copy link

wiatrM commented Apr 9, 2020

@xoseperez @minipilot1300 Any other solutions for this problem? Im trying to log-in (also disabled login check in defines) but with lo luck (html Wrong Crenentials displayed even when Im putting right credentials :/)

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

8 participants