1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.54k stars 782 forks source link

web flasher not working #1930

Closed deanfourie1 closed 3 months ago

deanfourie1 commented 4 months ago

Before submitting a problem please check the troubleshooting section https://docs.openmqttgateway.com/upload/troubleshoot.html

Describe the bug The web flasher tool is not working. The button just does nothing.

To Reproduce Steps to reproduce the behavior: Use chrome and attempt to flash a board.

Expected behavior The popup to come up and select a serial port.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Not installed yet.

Additional context

Third-party cookie will be blocked. Learn more in the Issues tab.
/manifest.json:1 

       Failed to load resource: the server responded with a status of 404 ()
/manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.
web-install.html:1 Access to script at 'https://unpkg.com/esp-web-tools@3.4.2/dist/web/start-flash-9b1cffdc.js?module' from origin 'https://docs.openmqttgateway.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
unpkg.com/esp-web-tools@3.4.2/dist/web/start-flash-9b1cffdc.js?module:1 

       Failed to load resource: net::ERR_FAILED
install-button.js?module:1 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://unpkg.com/esp-web-tools@3.4.2/dist/web/start-flash-9b1cffdc.js?module
web-install.html:1 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://unpkg.com/esp-web-tools@3.4.2/dist/web/start-flash-9b1cffdc.js?module
install-button.js?module:1 Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://unpkg.com/esp-web-tools@3.4.2/dist/web/start-flash-9b1cffdc.js?module
manifest.json:1 

       Failed to load resource: the server responded with a status of 404 ()
1technophile commented 4 months ago

Hello,

I just tried it and it was working: image

Maybe a transient error

deanfourie1 commented 4 months ago

oh that's weird.

I've tried every solution I think could be blocking it.

deanfourie1 commented 4 months ago

Are you using latest version of chrome?

1technophile commented 4 months ago

I'm using Version 123.0.6312.122 (Official Build) (64-bit) on Windows Tested on MacOS also with 122.0.6261.129 and it works

1technophile commented 4 months ago

Alternatively you could try the development version falsher: https://docs.openmqttgateway.com/dev/

DigiH commented 4 months ago

@deanfourie1

How is this flash erase site working for you?

https://espressif.github.io/esptool-js/

and which OS are you on?

1technophile commented 3 months ago

Closing as no answer

deanfourie1 commented 3 months ago

I got this working, not sure how or why it wasnnt working, just started working