I am building an application of a live news feed where I used newsfilter.io API. They have a socket server and all you have to do is connect a socket.io client to it. I had the live news feed working perfectly fine and all of a sudden I started getting the error.
NOTE: I am able to have the news feed functioning in INCOGNITO MODE on localhost:3000 but it does not work when on regular browsing localhost: 3000
My code is the same as it was before when the news feed was functioning. I have tried resetting my router several times, cleared cache/cookies, and checked for errors in my code. The application works perfectly fine on incognito but is not working on regular browsing
Proxy error: Could not proxy request /socket.io/?EIO=3&transport=polling&t=NOnTLaS from localhost:3000 to http://127.0.0.1:3001 (ECONNREFUSED).
This is the code that newsfilter.io gives to connect to their server. This code was working perfectly before as stated above but then I started getting network errors. I am using socket.io version 2.0.4 as that is required for this API
Related
It's my first time using expo for mobile development. I am trying to fetch the API from the JSON-Server but there is always the network request failed error. I have seen many posts on this issue but none of which worked for me.
What I have done:
Change to LAN connection on Expo. Start the json-server and set the host as my IPv4 address, worked on web, not on my android mobile. Also fetch http://192.xxx:3000 using the IP instead of localhost.
Change to 10.0.0.2 which should work for android emulator, but since I am using physical device. It does not work for me as well.
Change to 0.0.0.0. Does not work on both web and mobile (the endpoint is not working in the first place).
I have no ideas what else I can do now so I would like to ask if anyone knows what is happening here?
Currently working on a project and everything was working fine. Then suddenly after rebooting from a power cut whilst working on said project, the electron application has since failed to load any online resources. It works perfectly fine when on a native browser using localhost but will fail to load any online resources on the electron application version.
Initially, I thought it was a firewall issue but changing settings has not changed anything. I've reset router/pc multiple times to no avail.
The error recieved for any online resource is GET [URL] net::ERR_EMPTY_RESPONSE
Edit: Here is a screenshot of the error displayed in electron:
Used auth0 for my react project and it works fine at my local.
When i put my project to the server login page shows up, but after i try to login i get an error.
http://localhost:3000/callback?code=ZSaQ96OshsFfpBUN&state=q3KiPGbEPtIZ3UuSLd.KSbKjdXqk9-pD
firefox says
unable to connect - cant establish a connection to localhost:3000 and on
chrome i got
this site can't be reached - localhost refused to connect
I tried different callback urls on the auth0 side but nothing changed. I do not know exactly what to do actually
It looks like your project isn't running on the same connection that you were locally. Make sure to change all the registered callbacks to their current locations when changing to a different deployment.
I have an website developed with yii2. My full script working fine, but In admin system Create votes not working. That system worked fine before here but now suddenly not working here. The same script working fine on others shared hosting but not working on my hosting. and I check error log of cpanel there no Error Log messages. I never change any script and file. Suddenly it's not working on my hosting. show below my error screen shot.
When opening some web pages in Safari (iOS - CMS website hosted in a Apache server) it shows the following message.
Tried to remove all scripts from the page and it doesn't worked
Checked Apache access log and none on the requests were logged in access log
Checked Apache error log and no errors are logged
Tried lot of methods to figure it out (technically and logically). Anyone experienced the same issue?
If none of your requests are being logged, then your client isn't getting through and you have a problem outside of your application scope (like a network connectivity or firewall issue)