Browser keeps loading fore ever (vite dev server) - server

I start my vite dev server for my react typescript project.
After working for some time the browser is unable to serve the website and it keeps loading fore ever.
This also slows down my syatem internet speed
After i close the browser and server. The issue is resolved but it again appears after i work sometime on the server.
I am using linux mint as my OS
I have also tried upgrading the u limit as described in the vite js troubleshoot page but no help

Related

Wirecloud failed to run in Firefox / Chrome

I am running dockerized images of wirecloud+nginx from a remote server, trying to access Wirecloud from my browser. Wirecloud failed to load correctly, issueing the following message:
Your browser seems to lack some required features
We recommend you to upgrade your browser to the newest version of either Firefox or Google Chrome as these are the browsers currently supported by WireCloud.
I can confirm my browsers (firefox and chrome) are up-to-date, and I can run wirecloud locally on my machine using same browsers, as in
Any idea why this happens please?
Figure it out now, working...
I had issue with static files environment definitions in my docker-compose.yml file that differs for nginxand wirecloud services.

GWT - DevMode: 'gwt.google.com not found' - 'Cannot display web page'

really need some help.
I have been working for the past 3 days trying to get a webpage to open when I run my web based Java-GWT-eclipse program. IE gives me error "Internet Explorer cannot display webpage" and chrome says "The webpage is not available- The server at gwt.google.com can't be found, because the DNS lookup failed."
I have tried this project on multiple other computers with an older eclipse-gwt plugin installed and it works great. All of these computers are dev boxes and do not have internet access. It does, however, have a solid connection to the database (SQL dev works fine).
what i have tried
copied eclipse and gwt plugin files from another dev box and installed. Gave me above error.
deleted/ uninstalled everything and installed newest version eclipse and gwt plugin. I was able to install gwt in eclipse but it could not locate GWT-user.jar file and would not allow me to create project.
Tried #2 again, same problem. Tried again on another computer, same problem.
Applied older version SDK to newer eclipse version. Gave same error as posted above/ #1.
ran wireshark on a working dev and the problem dev and the problem dev box was trying to communicate with google while the good one was going to some local IP address.
messed around with every setting in eclipse and nothing has worked.
What is left to try??? I am going insane.
What is the web page you are trying to open: http://gwt.google.com ?
Does this page load if you write the url directly in the address box of your browser ?
Does Internet work in that computer? try to access google or any other page.
This error is a clear case of a miss-configuration on your PC internet stack:
The server at gwt.google.com can't be found, because the DNS lookup failed.
What does return this command in your console?
nslookup gwt.google.com
EDITED:
After reading your comments I figure out what is happening: your browser has not the gwt-plugin installed, so the first time it connects to a gwt-dev-mode app, the app redirects it to the gwt site to download the plugin and install it.
You have either, connect this computer to the internet to install the plugin the first time it is requested, or download the plugin and install it manually.

GWT fail to load when I clear browser cache

I have deployed my GWT application on a JBoss server, which is located on a virtual machine. If I open Safari/Firefox/Chrome, clear the cache and then navigate to my app: the app fails to load! I just see a blank screen (the title is loaded).
I use SmartGWT and when I just httpfox to examine the traffic, I can see that most resources (images, javascript) is downloaded, but some SmartGWT js files seems to be hanging.
In the screenshot, ISC_core.js and ISC_Foundation.js has not been completely downloaded, and they never are. (It is not always these two files, it can also be different ones, and it changes everytime I retry).
Now, if I reload the browser my app loads perfectly and when I look in httpfox, the files that were not completely downloaded before, is now fetched from the browser cache.
If I clear the browser cache and try again: blank page and same issue.
Does anyone have a clue about what is causing this behaviour and where I should look to fix it?
Note: this only happens when I deploy on my remote virtual machine. If I deploy locally in the same JBoss server setup, I have no problem and cannot reproduce the above issue. Also no problems when I debug in Eclipse and use the Jetty server.
May be this is an Known issue ..Which is posted on Google groups .
As a side note enable gzip on your jboss also..please refer to this link to do that

GWT: Running the development mode code server (from Eclipse)

i am only start learning GWT by following their tutorial on https://developers.google.com/web-toolkit/doc/2.1/tutorial/create
On that page, when i reach the heading Running the development mode code server (from Eclipse), i copied the generated url http://127.0.0.1:8888/StockWatcher.html?gwt.codesvr=127.0.0.1:9997 to my browser.
It eventually times out, says page not loading...the plugin page did not show up initially, so i manually installed the plugin...but it still times out...
On the screen, it says...
===============================================================================
The connection was reset
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web
==============================================================================
Am i missing any configurations etc?
Thanks very much in advance
It still looks like your browser is missing the GWT developer plugin. Try a different browser (preferably Chrome). You can also check the instalation of GWT in Eclipse. Look into Windows/Preferences and under Google/WebToolkit you should see checked GWT SDK. Also you can check if a jetty server runs on port 8888, when you type "netstat -na" on the command line.

Debugging a GWT application in a remote environment

I have deployed my GWT application to its target environment (i.e. compiled and copied the war directory contents to the target device's /var/www) and some parts of it are not working. I understand that I can debug my local instance of the GWT app as if it were running in the target environment, by opening the deployed GWT App URL and adding gwt.codesvr URL parameter to it, like this:
http://deployment_host/gwtapp.html?gwt.codesvr=localhost:9997
I get
Plugin failed to connect to Development Mode server at localhost:9997
Follow the underlying troubleshooting instructions
My Chrome browser is running on the same machine as Eclipse, so localhost above should be ok. Just to make sure, I've added -bindAddress 0.0.0.0 in the Run/Debug configuration in Eclipse and tried with my external IP/hostname, with no change, except that the error message is updated accordingly. What am I doing wrong?
If I replace deployment_host with localhost above everything works fine, but it's of no use to me to debug locally. (There is some Proxy and ReverseProxy-ing going on in the local Apache, so I do not need the 8888 port when running locally, but this should be unrelated)
Questions Debugging GWT applications outside of dev mode? and Debug GWT application in a remote browser are related but do not help.
If you are using chrome, look in the address bar at the right for a grey GWT icon. In any other browser, you would see a popup message confirming that you want to debug, but in Chrome this apparently isn't possible.
Click the icon, and it will ask you to whitelist this site as allowed to run Java locally on your computer. After you whitelist it, it should run correctly.
Along the same lines as the answer above Ive just had some success restarting the extension helped (but restarting browser hadnt)
Just enable and disable it in :
chrome://chrome/extensions/
Good luck! It's the only thing wrong with GWT imho...