Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8080/query?id=1' #61

Open
olazaah opened this issue Aug 18, 2020 · 10 comments

Comments

@olazaah
Copy link

olazaah commented Aug 18, 2020

I am having the same I had with the 2nd task, after running the npm start, opening the react app, clicking the bank stream data button I am getting this error as shown below. I tried all the troubleshooting tips and I also tried downloading the node module provided in the task material. I am using a windows 10 operating system. Note before now I already had node and npm installed on my system so I did not install the nvm as described.
image

@Grv-Singh
Copy link

Start Server App in /datafeed by python3 server3.py

@unfettered-one
Copy link

I am getting the same error and given solution is not working..?

@dejazzhands
Copy link

same thing here.

@alt-shreya
Copy link

check if your ports are aligned, ie, your backend server server.py should be deployed at the same port that is mentioned in the file called DataStreamer.ts

@Aaronturas
Copy link

@Grv-Singh Thanks very much! That worked for me! Had to think about it for a bit but to simplify it for everyone you must:

  1. Go to server.py
  2. Run Python File
  3. New/Open Terminal
  4. Type: "npm start"
  5. Boom! It should work :)

I used VSCode

@Dzholdoshev
Copy link

Hello World! try to install dateutil first. pip install python-dateutil use this command, then npm start

@at1230
Copy link

at1230 commented Jul 18, 2023

I'm getting same error , I have run server.py file first also did all step but still getting this error.

@Mukulshitole
Copy link

https://youtu.be/A_GKr7JCWTY
watch this video it would help

@SaurabhVerma-007
Copy link

SaurabhVerma-007 commented Aug 25, 2024

Just run this command first from the root directory "python datafeed/server3.py" then open new terminal in the same project and type "npm start"

@SaurabhVerma-007
Copy link

https://youtu.be/A_GKr7JCWTY watch this video it would help

Thanks! It worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants