cib icon indicating copy to clipboard operation
cib copied to clipboard

I think that not working

Open heretic13 opened this issue 6 years ago • 13 comments

I open https://tbfleming.github.io/cib/ But I see that "Preparing clang...", "Preparing runtime..". Buttons disabled. And "Failed to fetch" messages.

heretic13 avatar May 06 '18 00:05 heretic13

Hm. It's not working on latest Chrome Browser, but work in Firefox.

heretic13 avatar May 06 '18 00:05 heretic13

Odd. I just pulled it up on Chrome 66.0.3359.139, 64 bit, Windows 10, and it worked. Failed to fetch could have been from a network glitch.

tbfleming avatar May 06 '18 12:05 tbfleming

At the moment it does not work at all. Neither Firefox nor Chrome

heretic13 avatar May 06 '18 16:05 heretic13

chrome firefox

heretic13 avatar May 06 '18 16:05 heretic13

See if anything appears on your console: ctrl+shift+i

tbfleming avatar May 06 '18 16:05 tbfleming

for Chrome:

(index):357 clang-format init: Downloading clang-format.wasm (index):357 clang init: Downloading clang.wasm (index):357 runtime init: Downloading runtime.wasm process-manager.js:88 GET https://tbfleming.github.io/cib/clang-format.wasm 0 () start @ process-manager.js:88 (anonymous) @ (index):422 (index):357 clang-format error: Failed to fetch process-manager.js:88 GET https://tbfleming.github.io/cib/clang.wasm 0 () start @ process-manager.js:88 (anonymous) @ (index):423 (index):357 clang error: Failed to fetch process-manager.js:88 GET https://tbfleming.github.io/cib/runtime.wasm 0 () start @ process-manager.js:88 (anonymous) @ (index):424 (index):357 runtime error: Failed to fetch

heretic13 avatar May 06 '18 22:05 heretic13

firefox:

clang-format init: Downloading clang-format.wasm cib:357:17 clang init: Downloading clang.wasm cib:357:17 runtime init: Downloading runtime.wasm cib:357:17 clang-format error: NetworkError when attempting to fetch resource. cib:357:17 clang error: NetworkError when attempting to fetch resource. cib:357:17 runtime error: NetworkError when attempting to fetch resource. cib:357:17

heretic13 avatar May 06 '18 22:05 heretic13

Chrome: there should be a network tab on the console. Click it then reload the page. You'll get a long list of entries that looks like this:

image

Since there's errors, some should show up red. Clicking on them should give more detail.

tbfleming avatar May 06 '18 22:05 tbfleming

I suspect there's a firewall or ISP blocking .wasm files.

tbfleming avatar May 06 '18 22:05 tbfleming

Correction: proxy or ISP

tbfleming avatar May 06 '18 22:05 tbfleming

Ok. Thanks. It is a "uBlock origin" plugin for Chrome/Firefox.

Perhaps it's worth adding advice to the user on the web page if it was not possible to download the wasm files. For me, for example, the phrase "failed to fetch" says nothing. But if it was written - "could not download wasm files, please disable ad blockers and make sure that your ISP allows you to download wasm files!". It would be more informative.

heretic13 avatar May 07 '18 06:05 heretic13

Good suggestion.

tbfleming avatar May 07 '18 10:05 tbfleming

I encountered this problem too with uBlock origin installed. But it doesn't works even if I disable uBlock origin. Network tab: Network

maple3142 avatar Jun 05 '18 13:06 maple3142