robswc / tradingview-webhooks-bot

a framework 🏗 for trading with tradingview webhooks!
http://tvwb.robswc.me
GNU General Public License v3.0
620 stars 185 forks source link

500 INTERNAL SERVER ERROR #16

Open ivangigi1984 opened 4 years ago

ivangigi1984 commented 4 years ago

Hi Robert,

Thanks for the great work. I follow the steps and when I try to send the test alert from tradingview to ngrok. I encounter an error: 500 INTERNAL SERVER ERROR. The details description is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

500 Internal Server Error

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Pls let me know if you have any idea on how to fix it. Thanks!

Man-ingo commented 4 years ago

I am facing similar issues I have tried several vps and my local PC still the problem persist I think the problem is from tradingview.

JDJoe commented 4 years ago

What do you see in the webserver error log?

vegaso commented 4 years ago

I typed http://127.0.0.1:5000/ into a browser window and once I saw "online" in the browser window, the 500 error stopped happening and everything worked as it should.

turbonerd123 commented 4 years ago

I'm also having this issue. Any other ideas?

turbonerd123 commented 4 years ago

I tried what vegaso did as well, still have the issue.

turbonerd123 commented 4 years ago

AlsoAfter going live with the python app and ngrok I don't see the running on ... after Debug mode in the python script. Any idea why?

robswc commented 4 years ago

hey! by chance are you sending the alerts to localhost:5000/webhook

its something I need to fix, as it can be confusing but that might work!

turbonerd123 commented 4 years ago

Thanks for the response Rob! I figured it out. I posted the details at this link;https://stackoverflow.com/questions/62110129/trading-view-alerts-to-trigger-market-order-through-python-and-oandas-api