esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS
MIT License
1.35k stars 423 forks source link

Websocket broken in version 7.5 #129

Closed wat32 closed 6 years ago

wat32 commented 6 years ago

I have a problem with connection via websocket in last version 7.5 v 7.5 wscat --auth admin:admin -c ws://door.domen.xx/ws error: Unexpected server response: 401

v.7.3 wscat --auth admin:admin -c ws://door.domen.xx/ws connected (press CTRL+C to quit)

Here is wscat version used (the last one)

wscat --version 2.2.1 npm install -g wscat

Also I tryed wsc WebSocket client for the terminal

Or maybe there is a way how to connect the last version from the console?

omersiar commented 6 years ago

Did you try latest version? https://github.com/omersiar/esp-rfid/releases/download/0.7.6/firmware.bin

wat32 commented 6 years ago

If I load this firmware in the interface I have version 7.5

omersiar commented 6 years ago

Ok, there is a problem with the latest release. I will prepare a new one

wat32 commented 5 years ago

on 8.0 work , 8.2 broken again

iBobik commented 5 years ago

Also have it broken on 8.2.

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (bootstrap.min.css.map, line 0) [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (glyphicons-halflings-regular.woff2, line 0) [Error] WebSocket connection to 'ws://192.168.4.1/ws' failed: Unexpected response code: 401 [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (favicon.ico, line 0)