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

connecting to ip #33

Closed
ethhhhh opened this issue Feb 4, 2021 · 14 comments
Closed

connecting to ip #33

ethhhhh opened this issue Feb 4, 2021 · 14 comments
Labels
help wanted Extra attention is needed

Comments

@ethhhhh
Copy link

ethhhhh commented Feb 4, 2021

Hi when i attempt to connect my ip to the webhook url i get the error of "the host is not allowed".

@fabston
Copy link
Owner

fabston commented Feb 4, 2021

Hi,

You probably run the script as a non root user. Since Flask binds it on port 80/443 root privileges are required.

Either you chose to run it as root; forward port 80 to something like 8080; or you run it behind Apache / Nginx. Easiest solution is the first one, but not recommended.

@fabston fabston closed this as completed Feb 4, 2021
@fabston fabston added the help wanted Extra attention is needed label Feb 4, 2021
@ethhhhh
Copy link
Author

ethhhhh commented Feb 4, 2021 via email

@fabston
Copy link
Owner

fabston commented Feb 4, 2021

It sounds correct however running it from your local machine can be a little struggle since you most likely have to open ports too.

@ethhhhh
Copy link
Author

ethhhhh commented Feb 4, 2021 via email

@fabston
Copy link
Owner

fabston commented Feb 4, 2021

Serving on 0.0.0.0 is just your local IP. You'd have to use your external IP in TV's Alerts message. You can find that out by typing ifconfig in your terminal, if your on Linux.

@ethhhhh
Copy link
Author

ethhhhh commented Feb 4, 2021 via email

@fabston
Copy link
Owner

fabston commented Feb 4, 2021

A desired output would be what you said, serving at 0.0.0.0:80.

Config looks fine. As long as you use the same key ($$) in your TV Alerts. However even if not the terminal will print the rejection. Hosting it from a home sever is always tricky and iffy. Would not advice to do it.

Alternatively I'm offering a service which also supports the attachment of Chart Screenshots. Maybe your interested. TV-Alerts.com.

@ethhhhh
Copy link
Author

ethhhhh commented Feb 4, 2021 via email

@fabston
Copy link
Owner

fabston commented Feb 4, 2021

Has been explained in the installation guide point 6.

@ethhhhh
Copy link
Author

ethhhhh commented Feb 4, 2021 via email

@fabston
Copy link
Owner

fabston commented Feb 4, 2021

Hosting it on a VPS as mentioned in the Readme. Will cost you ~$4/mo depending on the service you choose.

@tabullarasa
Copy link

tabullarasa commented Feb 5, 2021 via email

@fabston
Copy link
Owner

fabston commented Feb 5, 2021

I am using Hetzner. (Use my ref link and get 20€ free credits)

@tabullarasa
Copy link

tabullarasa commented Feb 5, 2021 via email

Repository owner locked as resolved and limited conversation to collaborators Feb 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants