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

Its runs, but what now..? #15

Open
sebastianengman opened this issue Jul 17, 2023 · 7 comments
Open

Its runs, but what now..? #15

sebastianengman opened this issue Jul 17, 2023 · 7 comments

Comments

@sebastianengman
Copy link

Hi.

Am I correct that the service will provide a webservice on the port configured in config.yml?

I get everything to run on the machine, but cannot access the service from browser or VLC.

This is what iptv-proxy dumps when starting.

17.07.2023 10:08:52 [INFO ] :: App :: loading config...
17.07.2023 10:08:53 [INFO ] :: IptvProxyService :: starting
17.07.2023 10:08:53 [INFO ] :: IptvProxyService :: updating channels
17.07.2023 10:08:53 [INFO ] :: AsyncLoader :: 00001| loading playlist: iptvteststream, retry: 0, url: http://*********
17.07.2023 10:08:53 [INFO ] :: IptvProxyService :: parsing playlist: iptvteststream, url: http://*********
17.07.2023 10:08:53 [DEBUG] :: HttpUtils :: 00001| ok (739ms)
17.07.2023 10:08:54 [INFO ] :: IptvProxyService :: channels updated
17.07.2023 10:08:54 [INFO ] :: IptvProxyService :: started
<

@sebastianengman
Copy link
Author

This is my config.yml

host: 127.0.0.1
port: 8080
base_url: http://ubuntu:8080
servers:

  • name: iptvteststream
    connections:
    • url: http://*******
      max_connections: 1
      allow_anonymous: true

@parryhotter007
Copy link

Can you elobrate more on what would be the URL we need to access in the above example?

@kvaster
Copy link
Owner

kvaster commented Dec 11, 2023

Above example is misconfigured unless 'ubuntu' is resolved to 127.0.0.1 or you have something like nginx in front of. With base_url above you need to access via:

http://ubuntu:8080/m3u/<login> - m3u
http://ubuntu:8080/epg.xml.gz - epg if you have one

@kvaster
Copy link
Owner

kvaster commented Dec 11, 2023

My proposition is to try following config for you:

host: 0.0.0.0
port: 8080
servers:
  name: iptvteststream
  connections:
    url: http://*******
    max_connections: 1
    allow_anonymous: true

Omit base_url and listen on all interfaces with 0.0.0.0
And connect via url: http://<you ip address>:8080/m3u

@kvaster
Copy link
Owner

kvaster commented Jan 3, 2024

@sebastianengman , looks like your config have an error:

[Source: (File); line: 5, column: 3] -> it seems here (in 'servers' section) you have object instead of array.

Just realized that you have used my snippet. Corrected one:

host: 0.0.0.0
port: 8080
servers:
- name: iptvteststream
  connections:
    url: http://*******
    max_connections: 1
    allow_anonymous: true

@sebastianengman
Copy link
Author

@sebastianengman , looks like your config have an error:

[Source: (File); line: 5, column: 3] -> it seems here (in 'servers' section) you have object instead of array.

Just realized that you have used my snippet. Corrected one:

host: 0.0.0.0
port: 8080
servers:
- name: iptvteststream
  connections:
    url: http://*******
    max_connections: 1
    allow_anonymous: true

Thanks :)

I found it and deleted my comment but you replied after. Thank you!

@sebastianengman
Copy link
Author

@sebastianengman , looks like your config have an error:
[Source: (File); line: 5, column: 3] -> it seems here (in 'servers' section) you have object instead of array.
Just realized that you have used my snippet. Corrected one:

host: 0.0.0.0
port: 8080
servers:
- name: iptvteststream
  connections:
    url: http://*******
    max_connections: 1
    allow_anonymous: true

Thanks :)

I found it and deleted my comment but you replied after. Thank you!

allow_anonymous: true has to be without spaces right? Not under the server section?

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

3 participants