Giter VIP home page Giter VIP logo

Comments (7)

michaelherger avatar michaelherger commented on September 26, 2024

Hi there - a few questions:

  • you say "when I used docker-compose": does that mean without docker-compose it would work?
  • "everything looks fine": would internet radio work?
  • "I understand it should be blocked": I don't understand. Why should it be?
  • Please enter the proxy's IP address in LMS without the http://, just the IP address and port

You could enable debug logging for network.asynchttp to get more information in the log file. It would tell you whether it was picking up the proxy or not.

from slimserver-platforms.

wswv avatar wswv commented on September 26, 2024

Hi, Michael,

Thanks for your feedback!

Purpose to remove affect of the setting in dockker-compose, I remove non-normal setting in docker-compose(add proxy in environment). add proxy in setting->Advance->Web Proxy like: 192.168.1.11:1234. then I tried to grab some log like below(according to your guidance):

lms_log.txt

  • you say "when I used docker-compose": does that mean without docker-compose it would work?
    -- I don't test it, I just use docker-compose to test it.
  • "everything looks fine": would internet radio work?
    -- it means the web interface, it could scan file. I don't test radio work. from the log, the radio looks can not work.
  • "I understand it should be blocked": I don't understand. Why should it be?
    -- I tried the link: https://github.com/LMS-Community/lms-plugin-repository/raw/master/extensions.xml in browser, it can not open, but it could open with proxy in browser.
  • Please enter the proxy's IP address in LMS without the http://, just the IP address and port
    -- yes, I grab log with your advise.

from slimserver-platforms.

michaelherger avatar michaelherger commented on September 26, 2024

Thanks for the log - that should be useful. What I'm seeing is that the proxied connection works fine. Proxy is being used, and response from GitHub.com received. That response would be a redirection to https://raw.githubusercontent.com/LMS-Community/lms-plugin-repository/master/extensions.xml. Unfortunately it's that second URL which fails to load. It seems that your DNS would not return an IP address for it:

[22-02-01 13:11:45.8937] Slim::Networking::Async::DNS::__ANON__ (58) Lookup failed for raw.githubusercontent.com

Are you using some particular DNS for the name resolution? Can you open the above URL in a browser? Would that browser be using the same DNS as LMS?

from slimserver-platforms.

wswv avatar wswv commented on September 26, 2024

Hi, Michael,

I tried the link: raw.githubusercontent.com, it jump to https://github.com/ with proxy in browser. it can not open without proxy in browser.

I tried to restart the docker and check proxy log, find there is no access log of raw.githubusercontent.com. it only has opml.radiotime.com record from the lms activities. then I tried access raw.githubusercontent.com from web browser with proxy, I can find the raw.githubusercontent.com in proxy log.

if it happened due to DNS. I should find the access log in proxy log. then I tried to update my other docker image by watch tower. it will access githubusercontent.com. I saw some log pkg-containers.githubusercontent.com in proxy log.

By the way, my OS used for LMS is Debian burster. I tried to install Perl SSL package according to https://forums.slimdevices.com/showthread.php?103728.

 sudo apt-get install libio-socket-ssl-perl libnet-ssleay-perl

It installed and there is no error report.

But all these installed and the issue still duplicated even I reboot total system.

from slimserver-platforms.

michaelherger avatar michaelherger commented on September 26, 2024

if it happened due to DNS. I should find the access log in proxy log

No, if DNS lookup failed, the server wouldn't even try to reach out to the host, thus wouldn't come by the proxy. Please double check the container's DNS/network configuration.

from slimserver-platforms.

wswv avatar wswv commented on September 26, 2024

Yesterday I tried it on raspibian with docker deploy, it could connect to the plugin site(Could access the link: https://raw.githubusercontent.com/LMS-Community/lms-plugin-repository/master/extensions.xml), then I can find new plugin list and install plugin by myself.

Thanks for your support! it looks like the issue caused by openmedialvalut 5.

from slimserver-platforms.

wswv avatar wswv commented on September 26, 2024

Solved by add DNS server in docker-compose file.

services:
  lms:
    container_name: lms
    image: lmscommunity/logitechmediaserver
    dns:
      - 8.8.8.8
      - 4.4.4.4

from slimserver-platforms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.