JsFiddle.net - MooShellEditor is not defined - google-chrome

When I try to access jsfiddle.net from my machine, browser doesn't load the page correctly. I checked on console and it shows following errors:
Uncaught SyntaxError: Unexpected token ) jsfiddle.net/js/EditorCM.js?nojobofferinsidebar:290
Uncaught ReferenceError: MooShellEditor is not defined jsfiddle.net/:89
Uncaught TypeError: Cannot read property 'editor' of undefined jsfiddle.net/js/Actions.js?nojobofferinsidebar:151
I tried on Chrome, Firefox and IE but getting errors on all. Is there any specific browser settings? I can see it's working on different machine.

Posting reply after long time but hope it will be helpful to someone.
If you have Proxy server settings selected under LAN Settings of IE (Tools -> Internet Options -> Connections tab -> LAN settings) then the errors were shown on the console. If I select Automatatically Detect Settings then it worked fine.
If you start Fiddler on your machine then it will select proxy server settings. Probably, that was causing an issue for me.

Related

CORS error on request to public resource from a intranet web page

I have a local web server set up at 192.168.1.39 with domain www.server.local. DNS has been configured to resolve this properly on my router.
Everything worked just fine until recently. My browser started to report the following error if I access page like www.server.local/page.html that references external resources.
Access to CSS stylesheet at 'https://cdn.jsdelivr.net/npm/reveal.js#4.1.0/dist/reset.css' from origin 'http://www.server.local' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `local`.
However, if http://192.168.1.39/page.html is used, the page opens properly.
But the error message really confuses me, because it suggests the css hosted at jsdelivr is in a private address space! Seriously?! Or did I miss something?
My Browser: Microsoft Edge 94.0.992.31 (Official build) (x86_64)
You can try this solution:
Open Edge and navigate to edge://flags/#block-insecure-private-network-requests
Disable the highlighted option Block insecure private network requests.
Restart Edge and test again.
For more details, you could refer to this blog: https://developer.chrome.com/blog/private-network-access-update/

Cannot view GitHub documentation

I cannot view GitHub documentation (https://docs.github.com/*) in Chrome 79.0.3945.117
(MacOS 12.0.1): I see only a blank page.
In the Chrome console, I see the following errors:
DOMException: Failed to execute 'sendBeacon' on 'Navigator': sendBeacon() with a Blob whose type is not any of the CORS-safelisted values for the Content-Type request header is disabled temporarily. See http://crbug.com/490015 for details.
DOMException: Failed to execute 'sendBeacon' on 'Navigator': sendBeacon() with a Blob whose type is not any of the CORS-safelisted values for the Content-Type request header is disabled temporarily. See http://crbug.com/490015 for details.
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred
Error rendering page: TypeError: Cannot read property 'cookies' of undefined
Failed to load resource: the server responded with a status of 404 ()
I have installed a newer version of Chrome (96.0.4664.55) and now I can see the GitHub Documentation Page (thanks #albert for the suggestion).
I was sure that Chrome Automatic Update was activated but clearly I was wrong.
Now I have to check from time to time whether Chrome Automatic Update works propertly.

PhpMyAdmin is suddenly showing errors

I hope you're doing well.
Last week (friday) phpmyadmin was working just fine, but when I tried to work with it today it shows me some errors and doesn't show databases etc.
I'm workin with xampp on windows 7 (it's not my pc ...)
Here is the error:
Fatal error: Uncaught TypeError: Argument 2 passed to
PhpMyAdmin\Core::arrayWrite() must be of the type array, null given,
called in C:\xampp\phpMyAdmin\libraries\classes\Config.php on line
1049 and defined in C:\xampp\phpMyAdmin\libraries\classes\Core.php:677
Stack trace: #0
C:\xampp\phpMyAdmin\libraries\classes\Config.php(1049):
PhpMyAdmin\Core::arrayWrite('lang', NULL, 'fr') #1
C:\xampp\phpMyAdmin\libraries\classes\Config.php(996):
PhpMyAdmin\Config->setUserValue(NULL, 'lang', 'fr', 'en') #2
C:\xampp\phpMyAdmin\libraries\common.inc.php(453):
PhpMyAdmin\Config->loadUserPreferences() #3
C:\xampp\phpMyAdmin\index.php(27):
require_once('C:\xampp\phpMyA...') #4 {main} thrown in
C:\xampp\phpMyAdmin\libraries\classes\Core.php on line 677
Thank you for your interest.
Have a good day.
Please try clearing your browser cache and remove phpMyAdmin cookies, which start with "pma".
follow these steps
Open up your phpMyAdmin in browser
Press F12 to open Developer tools
go to Application > Clear storage
Clear all Cookies and Cache
Try refreshing the page.
Open up your phpMyAdmin url and press F12 for Developer mode .. go to Application Tab and Clear all Cookies .. refresh your phpMyAdmin page .. should be good to go .. enjoy
follow these steps...
Open up your phpMyAdmin URL
Press F12 for Developer mode
go to Application Tab and
Clear all Cookies
refresh your phpMyAdmin page (if not working once restart the server and try again)
.... .. .. hurray!!! it's done .. ... .....
Restore your database 'phpmyadmin' from your latest backup.
Before you stop MariaDb and then as usual, restore and start your DBMS again. It'll work.
I did not find a "Application tab" in the Developers menu like mentioned by Eliki Bula and Norbert
But followed the steps to clear a single site from the cache in Firefox and "forgot" the url of mypage/phpmadmin and it worked, the error was gone.
So its fact.
The reason for this problem is somewhere in the Cookies from phpmyadmin, to you yust have to clear the cookies for this page on any way.

Browser doesn't show expected certificate error

Normally, most of the machines get error when opening url https://host:port/app/xx.do
IE: The security certificate presented by thi swebsite was issued for a different website's address
Chrome: Your connection is not private -- There are issues with the site's certificate chain (net::ERR_CERT_COMMON_NAME_INVALID)
After clicking "Continue"/"Process", it is expected to
IE: Load every dependency including the jar
Chrome: A popup error says: The xxx has not been initialized!
However, there is one machine, it doesn't get the certificate error in both browsers, nor the jar initialized error in Chrome.
When trying to test the web through IE, surely it failed without any warning messages.
So, how can we get the certificate warning back? And let the IE load that jar as normal.

Chrome Fail Error Codes

I've been searching for a while now and I can't find the exact list of all fail to load error code/error description of google chrome.
I'm talking about this the highlighted text
Can someone give me a link?
I did some digging and I must admit, it's not easy to find a full exhaustive list of all (Chromium) networking error codes.
The full list of all Chromium error codes can be found in the file net_error_list.h:
https://cs.chromium.org/chromium/src/net/base/net_error_list.h
It looks like Google Chrome prepends ERR_ to all the codes listed in the above list.
However, error codes in XHR error responses are slightly different. These codes follow the format of the linux system file errno.h as defined by POSIX.1-2001, or C99:
http://man7.org/linux/man-pages/man3/errno.3.html
Finally, some common NodeJS errors have been listed at the NodeJS API Documentation:
https://nodejs.org/api/errors.html#errors_common_system_errors
I'd like to end this answer with a simple comparison example. The error of an operation timeout would be named as follows by the listed 'standards':
TIMED_OUT internally in Chromium.
ERR_TIMED_OUT displayed in Google Chrome.
ETIMEDOUT in the XHR error object (error.code).
Using your example:
CONNECTION_REFUSED -> internally in Chromium
ERR_CONNECTION_REFUSED -> displayed in Google Chrome
ECONNREFUSED -> in linux (POSIX.1) or network error stacks
By the way for only listing all error codes
USE :
chrome://network-errors/
It's about 220 in total as of now in chrome version (69.0.3497.100)
I have chromium Version 97.0.4692.71 (Official Build), snap (32 bit), on Description: Ubuntu 18.04.6 LTS. The problem was solved using the command in the terminal
chromium --no-sandbox
after that everything worked.