Testcafe was able to connect browser and trigger test cases before. All of sudden, it stopped working. The main issue is test cafe is able to open browser but it's not connecting to browser and unable to hit URL. Browser is getting opened and being closed by itself after some time. Browser shows following message.
This site can’t be reached XXX.XXX.X.XX took too long to respond.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_TIMED_OUT
I didn't make any changes to softwares except changing my machine's login password. I changed the password in all required places like .npmrc etc.
Appreciate your help if anyone can provide solution.
Software versions:
node -v
v14.17.5
npm -v
7.20.5
testcafe -v
Using locally installed version of TestCafe.
1.15.2
command to trigger my tests : testcafe chrome test.js
Note: This issue happening for all browsers.
Error : ERROR Cannot establish one or more browser connections.
1 of 1 browser connections have not been established:
chrome
Hints:
Increase the value of the "browserInitTimeout" option if it is too low (currently: 2 minutes for local browsers and 6 minutes for remote browsers). This option determines how long TestCafe waits for browsers to be ready.
The error can also be caused by network issues or remote device failure. Make sure that your network connection is stable and you can reach the remote device.
Check permissions, owner and group in /tmp/Crashpad
Related
I am trying to follow this tutorial.
At 55:39 Ania is able to connect to her localhost:8888/.netlify port to see the records she has read from the graphql playground.
I am trying to do the same but cannot connect to the page. I have tried in both chrome and firefox and in both cases, I get a connection refused error message.
My firewall has permitted access for both chrome and firefox, and I even tried disabling the firewall. The error still returns.
I tried it without my vpn turned on.
I have logged into netlify (I have nothing on github yet, so it's just a local deployment).
Is there something special I need to do to be able to run local host with netlify?
The full text of the error message is:
This site can’t be reachedlocalhost refused to connect. Try:
Checking the connection Checking the proxy and the firewall
ERR_CONNECTION_REFUSED Check your Internet connection Check any cables
and reboot any routers, modems or other network devices you may be
using. Allow Chrome to access the network in your firewall or
antivirus settings. If it is already listed as a program allowed to
access the network, try removing it from the list and adding it again.
If you use a proxy server… Check your proxy settings or contact your
network administrator to make sure that the proxy server is working.
If you don't believe you should be using a proxy server: Go to
Applications > System Preferences > Network > Advanced > Proxies and
deselect any proxies that have been selected.
In relation to #1, I am connected to the internet. I can run the local host on port 3000 and get the react app to load. it does not read anything from graphql. When I console log the datastax data from the react app, I get null as a result (where Ania gets the records created in the first hour of the tutorial).
In relation to #2, chrome and firefox are both added to my firewall
In relation to #3, no proxies are used - except the box to use FTP Mode PASV is checked. I tried unchecking it but it makes no difference.
I tried adding the local host 8888 url as a Bypass proxy settings for these Hosts & Domains in my system preferences - but it makes no difference.
My console shows:
◈ Netlify Dev ◈ ◈ Ignored general context env var: LANG (defined in
process) ◈ Injected .env file env var: ASTRA_GRAPHQL_ENDPOINT ◈
Injected .env file env var: ASTRA_DB_APPLICATION_TOKEN ◈ Loaded
function getGenres
http://localhost:8888/.netlify/functions/getGenres. ◈ Functions server
is listening on 55302 ◈ Starting Netlify Dev with Create React App $
react-scripts start (node:55384)
[DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning:
'onAfterSetupMiddleware' option is deprecated. Please use the
'setupMiddlewares' option. (Use node --trace-deprecation ... to show
where the warning was created) (node:55384)
[DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE]
DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated.
Please use the 'setupMiddlewares' option. Starting the development
server...
Compiled successfully!
You can now view nextflix-datastax-clone in the browser.
Local: http://localhost:3000 On Your Network:
http://10.0.0.1:3000
Note that the development build is not optimized. To create a
production build, use yarn build.
webpack compiled successfully
ONE CLUE: I have cleaned my mac, I have cleared my cache (don't know why this would have worked since localhost 3000 loads the react app, but without the datastax data). A little box appears on my mac that says 'verifying AID.dylib'. I understand dylib means a shared database (maybe this some sort of Datastax reference? The process has been running almost 48 hours and the progress bar is at about 10%. Whatever that program is, it hasn't been verified. I wonder if this is why I can't load localhost:8888/.netifly in the same way that Ania can?
ANOTHER CLUE: I just found this post: https://github.com/netlify/cli/issues/3617 which suggests that Netlify can't read functions in v17. I don't know if that's still current. I'm currently stuck in my efforts to check if this is the source of the problem because my brew commands wont run in my terminal. I think this may be because of some incompatibility with the macOS Monteray upgrade that I just installed. I will update this post if I find a way to configure my computer to be able to follow a basic beginner's tutorial.
I need your help.
So, I Installed an Oracle 11G R2 Express Edition. But when I tried to open the Database Home Page in //localhost:8080/apex/ or
//127.0.0.1:8080/apex/, I always got error mssg on my browser (I Used Google Chrome and Baidu Browser).
Here is the Error Msg Pic on Google Chrome And
This one also.
I had tried running this code on my Sql Command Line
connect system
begin
dbms_xdb.sethttpport('8181');
end;
/
Press enter
And tried to access ://localhost:8181/apex/ on my browser, but there is no change.
I checked all the listener port with netstat -a And find out that there is no port 8080 as The Listener/ NO 127.0.0.1:8080.
Then I checked my Listener Status and got THIS
Based on the Listener Status and List of listener port got by netstat -a, I tried access http://0.0.0.0:1521/apex/ on my Chrome browser. GOT THIS
I really have no Idea what should I do. I had read and tried many, but no change at all.. Please if somebody here can help me solve this problem. I would thank and appriciate for all the helper so much..
Do I need to instal XAMPP?
I had turned on / off my firewall from control panel. But there's also no change. Should it be ON / OFF?
Note :
Im using Windows 7 - 32 Bit
Plese give the answer with the detailed steps, as Im not really good about
computer and A new comer in Oracle.
Thanks
I disable the internet connection and run the node server npm start, then it throws the error:
And now enabling internet connection and running the server works fine:
So, I want to confirm if this really needs to be connected to the internet while starting the server?
If it really needs internet connection, then is there any idea to run the server offline?
If I connect to the internet and run the server and there after plug out the internet connection then there's nothing goes wrong. Everything works fine. I don't know why just running the server requires the internet connection.
OMG! It's really cool! I got it working offline after hard research in my code using 127.0.0.1 instead of localhost for mongo uri.
Using localhost needed for me to connect to the internet.
And using 127.0.0.1 worked in both condition i.e. with internet connection and without internet connection.
But, really I'm totally amazed of this.
I found the really cool topic on this which made me clear about this.
If you use 127.0.0.1, then (intelligent) software will just turn that directly into an IP address and use it.
And there's no guarantee that your hosts file will actually be used for that resolution (first, or at all) so localhost may become a totally different IP address.
I am trying to connect to website in win azure using filezilla. It connected fine for few minutes and I was able to upload the files. But then it stopped working. I am getting this message:
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (137,117,88,16,40,32).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Response: 550 The network connection was aborted by the local system.
Error: Failed to retrieve directory listing
I have tried setting transfer mode to ACTIVE and few other suggestions, but nothing seems to work. What could be the problem?
There might be a time-out issue on the server. You will need to tell your FTP client to keep the connection alive so that it doesn't start a second connection while the first connection is still alive.
To set this in FileZilla client, go to Edit, Settings, Connection, FTP, and check "Send FTP keep-alive commands" checkbox.
For more detailed explanation of the problem, visit: http://blogs.msdn.com/b/wats/archive/2013/12/13/setting-up-a-passive-ftp-server-in-windows-azure-vm.aspx Scroll towards the bottom and read the "Points to consider from Azure SLB perspective" section.
I had the same problem with my FTP on Azure (getting 550 errors) and checking the "Send FTP keep-alive commands" checkbox above solved my problem.
Hope this helps!
The error message:
Response: 550 The network connection was aborted by the local system
Suggests that there is an error in your local network.
This error is not within Windows Azure, but within your local network (and appears to only be triggered by FileZilla). Contact your system administrator or Internet Service Provider. Also, please try first solving the problem yourself using something like this.
I'm using Socket.IO on Node.js.
The Example here: http://socket.io/#how-to-use
First Example.
I have tested on my computer, it works great. ( Installed on VPS, connect by IP. not localhost )
But the problem is, my friends, they visit the page:
http://112.78.8.221:8085/
Press F12 for debug , under Console, they show not thing.
But in my browser console ( Chrome, Firefox ) , I see a object return.
On debug of my friend:
I see :
jsonppolling closed due to exceeded duration
setting request GET /socket.io/1/jsonp-polling/blablabalblabal
Setting poll timeout
discatding transport and same as xhr-polling, timeout and discard.
So, both of us used latest version of Chrome and FF, can u guys help on this one? a week with this problem already :(
I believe there is something strange going on with his network. Maybe he is going through a proxy connection or something? I was able to hit your service and got an object back without a problem. Some offices and universities will also block ports other than the common 80, 443, 22, etc. If you can, try hosting on a lower port number, or if possible on port 80 to eliminate that as a cause of the problem.