The OpenWrt Firmware Selector

Just worked for me. What OpenWrt version?

@efahl Downloading any custom built firmwares doesn't work for several days now. The FS builds the image when requesting a custom firmware, but can't download it - the browser just loads and loads, but can't get the file to my PC.

Interestingly enough, the alternate github.io FS works just fine https://openwrt.github.io/firmware-selector-openwrt-org/

Ok, just tested for 24.10.1 x86/64 and it did a build then download just fine. Is it still failing for you? Could it be a browser issue???

Yeah, it seems like it's a browser issue, indeed. It only occurs in Firefox, but not in Chrome, for any custom SNAPSHOT build request. I'll clear the Firefox cookies/cache and check again...

The coding here is pretty bad and has been for quite a while, there are unhandled promise rejections:
Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Edit: And now it doesn't work at all. I press on Request Build and nothing happens. Man, is this bad...

That's in the FS javascript? Could you post a traceback, I'll see if I can figure out what's up with it.

Can't reproduce it right now. It wasn't working for a while, now it's back to the main issue, where I can't download the built image with Firefox. So, after the build is finished, it throws this error:


and the Console logged a CORS error:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sysupgrade.openwrt.org/api/v1/build/0e19dd41711d5e926bc689c9ca0e8229f94f120dedc4edd006f9b55fa8b0a35a. (Reason: CORS request did not succeed). Status code: (null).

I already cleared the cookies/data/cache whatever else, but it didn't help.

It looks like you run the firmware-selector yourself. For ASU you need to allow Cross-Origin Requests in your browser. It is not related to cookies/data/cache.

No, I'm actually loading and using https://firmware-selector.openwrt.org in Firefox. The issue doesn't seem to occur in Chrome. Do you think it's due to me using the Avast antivirus? I know it behaves as a man-in-the-middle service in browsers.

But then, why is https://openwrt.github.io/firmware-selector-openwrt-org/ working perfectly fine in the same Firefox browser?

Edit: Reinstalled Avast, problem seems to be fixed.

1 Like