Meteor stopped auto refreshing the browser when user logs in - meteor

I'm using the latest Meteor + latest React. A couple of days ago it stopped auto-refreshing on file change in Chrome. I opened Safari and it worked there, so I continued my development using it. Today Safari stopped auto-refreshing as well. There are no errors in any of the consoles (meteor or browser). I do get Client modified -- refreshing (x12) messages in Meteor console, but nothing else happens. I removed the .meteor/local/build folder and restarted Meteor but that didn't help. Looking for any pointers to fix this. Thank you in advance
Update:
It does work when in incognito or in regular browser window but only if I'm not logged in to the site. Once I log in, there are three local storage items created: Meteor.userId, Meteor.loginToken, and Meteor.loginTokenExpires. And auto-refresh no longer works. If I log out, auto-refresh starts working again.

Related

changes on browser moved locally but no changes

I have a website built in Reactjs and SCSS.
I'm doing some `SCSS changes on the browser, however when I move those changes to Visual Studio,
what is supposed to be is when I refresh the browser the changes should appear. however, the changes lost to note that some changes were done successfully to other parts.
I have done search since a couple of days ago and this is what I found
that I should disable caches also delete them plus cookies. I did that. I have also tried to open it in incognito mode
but the problem still appears
link for the sample of the website
here
so i got this error in console log
index.js:1 Warning: Failed prop type: Invalid prop `color` of value `gray3` supplied to `ForwardRef(Typography)`, expected one of ["initial","inherit","primary","secondary","textPrimary","textSecondary","error"]
what I am missing?
Try to refresh the browser by hitting CTRL + F5. This way, the cache will be cleaned, and the CSS changes will be applied
I found out that i was editing the wrong file
since the project is not built by me
thank you everyone who tried to help me

Can't update (deploy) page to Firebase host

I looked for a while for similiar quest, but those solutions didn't work for me.
firebase deploy command doesn't change version on the web's url.
Even though there is an update seen in the console there in no change seen in web.
I don't know if it's important but I run those commands from cmd
The page is updated, but your browser shows you the old version of the page. To fix this do a hard cache reset. Open the website in Chrome and press ctrl + shift + r.

Chrome waiting for available sockets, Firefox is fine

We have a Wordpress based website (rendeljkinait.hu), and we face freezing issues while editing articles when using Chrome. When I hit the save button for the 7th time without page reload, the article editor freezes during save and I get "waiting for available socket" error in Chrome. No matter how long I wait, the editor won't save until I reload the page. When I'm using Firefox, everything is fine, no matter how much I hit the save button. Current Wordpress version is 5.2.3, but error occured in former versions too.
I investigated the error, and found it is caused because Chrome never closes the open sockets until I reload the page. So until hitting the button 6 times everything is fine, since Chrome and other modern browsers allow to have maximum 6 paralell connection to a single host. But after I press the button for the 7th time, there is no space for another connection, so Chrome is waiting for the older connections to get closed, but it never happens.
Here's a screenshot from net log
Using Firefox I observed that it always closes the connection after the save is successful, so only 1 connection is active all the time, it never exceeds the 6 paralell connection limit. I attached Chrome netlog file here, you can view it here. I also attached a video showing Firefox closing the connection here (107.6.*.** is our servers IP).
For various reasons we have to use Chrome, so I would like to find a solution for this problem, but I'm completely stuck. Does anyone have a suggestion what could cause the problem and how to solve it?
Thanks in advance!
I have the same problems with chrome and gutenberg.
It is impossible to do any heavy editing on the site, so I use firefox for all admin related stuff.
Haven't found a solution either...
For anyone who might find this topic with similar problem: seems like it was a Wordpress bug, a Wordpress update solved the issue.

Facebook's in-app-browser returns the error "net::ERR_FAILED", but no other browser

The Facebook in-app-browser returns the error "net::ERR_FAILED". What could be the reason for this?
The website was made a long time ago for me and my brother and it has worked fine until recently. Suddenly we couldn't open in Facebook in-app-browser anymore. I've tried to look for error but none are printed (neither in PHP nor JS console). The website works great on all other browsers. I've even tried using Ghostlab (hosting on local PC and visit the website via this URL on the in-app-browser), and by doing that it works.
I except the page to be loaded. Right now nothing is loaded and I'm left without any logs.
The issue was resolved after the update that came a few days later. But I never figured out the issue. Let's hope it doesn't happen again.

Cannot download google-services.json from firebase console

I'm trying to download google-services.json from firebase console. The error is There was an error. The config file cannot be downloaded at this time. as it can be seen in the below screenshot.
There are answers on Stackoverflow which didn't work for me (one and two). Specifically, clearing cache and history, using a newly installed chrome, trying with firefox and edge, using incognito tabs, didn't work.
What else can be done to get rid of this annoying error?
For me also I had this issue. Before trying anything, I refreshed/reloaded my page, and it works. After refreshing my page, I was able to download google-services.json file.
I had the same problem for a while with firebase google
what I did was to open the Developer Options for the web and looked at the request response from google
and I found out that the network response is very clear:
"The Google cloud platform for this project is disabled please go to https://console.cloud.google.com/apis/api/firebase.googleapis.com/overview?project=<YOUR_PROJECT> and enable"
but for some reason the UI is very un-clear
Very simple solution, go to the link below and enable your project:
https://console.cloud.google.com/apis/api/firebase.googleapis.com/overview?project=
While in my case, the issue was caused by my ad blocker. I opened network monitor through developer tools and found out that my ad blocker was canceling post requests sent by Firebase. Disabling it for Firebase solved my issue.
I was using Brave , stopped ad blocker but still it does not work , Use Chrome if nothing works ....it worked for me..

Resources