Comments (14)
Can you please let me know what errors you are seeing in your console when it fails to configure?
from web.
Seeing this in the console
[HTTPS:I] New connection. Socket FID=52
[HTTPS:I] Request: GET / (FID=52)
[ 27882][E][vfs_api.cpp:104] open(): /littlefs/static/index.html does not exist, no permits for creation
[HTTPS:I] Request: GET /index.ed76384f.js (FID=52)
[HTTPS:I] New connection. Socket FID=53
[HTTPS:I] Request: GET /index.c409c94b.css (FID=53)
[ 28084][E][vfs_api.cpp:104] open(): /littlefs/static/index.ed76384f.js does not exist, no permits for creation
[ 29617][E][vfs_api.cpp:104] open(): /littlefs/static/index.c409c94b.css does not exist, no permits for creation
[HTTPS:I] Client closed connection, FID=52
[HTTPS:I] Client closed (FID=52, cstate=2)
[HTTPS:I] Connection closed. Socket FID=52
[HTTPS:I] Client closed connection, FID=53
[HTTPS:I] Client closed (FID=53, cstate=2)
[HTTPS:I] Connection closed. Socket FID=53
[HTTPS:I] New connection. Socket FID=52
[HTTPS:I] Request: GET /Logo_Black.svg (FID=52)
[ 29794][E][vfs_api.cpp:104] open(): /littlefs/static/Logo_Black.svg does not exist, no permits for creation
snip -
[HTTPS:I] New connection. Socket FID=53
[HTTPS:I] Request: GET /hotspot-detect.html (FID=53)
[ 37784][E][vfs_api.cpp:104] open(): /littlefs/static/hotspot-detect.html does not exist, no permits for creation
[ 37788][E][vfs_api.cpp:104] open(): /littlefs/static/hotspot-detect.html.gz does not exist, no permits for creation
snip -
[HTTPS:I] Request: GET /hotspot-detect.html (FID=53)
[ 47962][E][vfs_api.cpp:104] open(): /littlefs/static/hotspot-detect.html does not exist, no permits for creation
[ 47966][E][vfs_api.cpp:104] open(): /littlefs/static/hotspot-detect.html.gz does not exist, no permits for creation
Here is the debug from Firefox. i have marked where i manually hit Ctrl-K reconfigure to get it to load properly.
from web.
Can you show me the console tab of your browser
from web.
Also, what are the response headers for the requests that had cors errors, they should not be appearing as per https://github.com/meshtastic/firmware/blob/master/src/mesh/http/ContentHandler.cpp#L684
from web.
[ERROR] iHttpConnection.ping
❌ NetworkError when attempting to fetch resource. index.ed76384f.js:236:84
E6 http://192.168.1.73/index.ed76384f.js:236
log http://192.168.1.73/index.ed76384f.js:238
ping http://192.168.1.73/index.ed76384f.js:238
(Async: promise callback)
ping http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
f http://192.168.1.73/index.ed76384f.js:252
lt http://192.168.1.73/index.ed76384f.js:252
D8 http://192.168.1.73/index.ed76384f.js:29
O8 http://192.168.1.73/index.ed76384f.js:29
R8 http://192.168.1.73/index.ed76384f.js:29
u5 http://192.168.1.73/index.ed76384f.js:29
_T http://192.168.1.73/index.ed76384f.js:29
R1 http://192.168.1.73/index.ed76384f.js:29
Kx http://192.168.1.73/index.ed76384f.js:32
j3 http://192.168.1.73/index.ed76384f.js:29
R1 http://192.168.1.73/index.ed76384f.js:29
Ex http://192.168.1.73/index.ed76384f.js:29
Y8 http://192.168.1.73/index.ed76384f.js:29
xT http://192.168.1.73/index.ed76384f.js:29
O1 http://192.168.1.73/index.ed76384f.js:29
Wf http://192.168.1.73/index.ed76384f.js:29
Wf http://192.168.1.73/index.ed76384f.js:29
createRoot http://192.168.1.73/index.ed76384f.js:32
http://192.168.1.73/index.ed76384f.js:839
from web.
Can you please try the hosted version at https://client.meshtastic.org
from web.
Looks like the same issue,
Remote or Local / TLS enabled / Disabled.
from web.
That's a super outdated version, please clear your cache and try it again.
from web.
Thanks clearing the cache improved the situation somewhat, that also fixed an issue where i couldn't see new incoming messages until i sent one. (only fixed for the online version - direct web connection to radio still does this)
So this does "work" but i have to manually enter the IP of the radio.
i can ping and resolve meshtastic.local to the IP address on this PC so I'm not thinking its a DNS issue.
[DEBUG] iHttpConnection.ping
Attempting device ping. index.ed76384f.js:233:82
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://meshtastic.local/hotspot-detect.html. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.
[ERROR] iHttpConnection.ping
❌ NetworkError when attempting to fetch resource. index.ed76384f.js:236:84
E6 http://192.168.1.73/index.ed76384f.js:236
log http://192.168.1.73/index.ed76384f.js:238
ping http://192.168.1.73/index.ed76384f.js:238
(Async: promise callback)
ping http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
connect http://192.168.1.73/index.ed76384f.js:238
(Async: setTimeout handler)
connect http://192.168.1.73/index.ed76384f.js:238
Thanks
from web.
Can you please try the latest chrome stable?
That cors errors should have been sorted in the latest version, so I'd like to rule your browser out.
from web.
Switched to my laptop with Chrome. Version 108.0.5359.125 (Official Build) (64-bit)
found that i couldn't connect to the radio at all via the client.meshtastic.org via DNS or IP. (Ctrl-K reconfigure had no effect)
If i point chrome address bar to the local IP directly and also manually enter the IP i am able to connect.
It seems to have cached the page from the web as its at a more recent version than whats on the ESP32.
from web.
Looks like a DNS issue, just confirming using the hosted version: https://client.meshtastic.org and entering your device ip directly, you are able to connect?
If that is the case, you may not have multicast dns on or multiple Meshtastic devices registering the same hostname: meshtastic.local
from web.
Thanks,
Confirming i'm using https://client.meshtastic.org/
i am able to resolve my radio IP when i ping meshtastic.local in command prompt.
When will the current online version of the web be placed into the firmware? may help in testing comparatively.
from web.
Could be that chrome isn't picking up your local dns servers, or there overwritten.
The latest webUI gets automatically bundled every time a new firmware is realeased.
I'll be adding PWA support to the webUI soon so people can lessen there reliance on the bundled version for offline use.
from web.
Related Issues (20)
- website issue
- Add a column in nodes to denote node is contacted by LoRa or MQTT HOT 1
- Channel keys need to tell what format they're expected to be entered in
- [UX] Dark mode should change map into Dark Mode as well HOT 7
- [BUG] Failure to build HOT 1
- rename master to main
- Sidebars take up entire screen on mobile; might be usable otherwise HOT 1
- [Feature Request]: show which nodes are heard via radio and which via mqtt in the web interface HOT 1
- Toast in dark mode uses black text on a dark blue background
- Battery level on the web app (page) for meshtastic
- HopLimit could be set >7 HOT 2
- Number input suffix and controls visually overlap
- Six-digit Bluetooth PIN starting with a zero is truncated when viewed again HOT 1
- Virtual screen and buttons in the web browser HOT 5
- [Feature Request] Enable Map Reporting HOT 1
- [Bug]: Web interface Send/Receive broken HOT 9
- Feature request: change icon for the search box in webUI
- BUG: Channel 0 should always be PRIMARY HOT 1
- `position_precision` value not setting correctly
- [Feature Request]: Map settings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web.