Can't install add-ons or scrape movies

Hi all, could someone please help me with this,
I have just installed osmc, never had these issues with raspbmc, I can not find any add-ons or scrape movies it tells me that it can’t download information and is unable to connect to remote server.
I have scanned TV shows with nil issues so am clearly connected to the Internet (wifi) but can’t do the movies or bring up any add-ons.
Oh I have installed all of the updates as well which downloaded over wifi, any help greatly appreciated.

Thanks in advance.

Update: am using raspberry Pi 2b

Sounds like you have an internet access issue - difficult to say what without debug logs showing you trying and failing.
Derek

How do I record those from a Pi and put them on here?

Really scary that even a “pinned” topic is overlooked

https://discourse.osmc.tv/t/how-to-obtain-provide-necessary-info-for-a-useful-support-request-includes-current-versions/5507

If that scares you you should get out more. Maybe that would make you less condescending.

Nope I’m not a genius and not great with forums but I’m having a crack.

Thanks for making a newcomer feel super welcome.

Ok have had a look at the pinned thread, which log should I be looking at if it may be an Internet issue?

Just tried to log it all but then it said it couldn’t find the URL for the upload.

Why would it say my internet is connected in the network section of myomc but then not be able to connect for add-ons or movie scraping or uploading the logs but it can for TV shows and updates?

Really to help you we need some more info.

Can you SSH into your Pi? Can you post ifconfig and do basic test like ping www.google.com?

There is an option to copy selected logs to the sdcard… then shut down, carry sdcard to your desktop/laptop and paste them at http://paste.osmc.io and provide us with the resulting URL here

I got the log, went to that site and pasted it in there and then pressed save but then what is supposed to happen? I didn’t see any URL or anything come up, have I done this wrong? I couldn’t find any instructions on using that page, just information that it was there.

After you press save, give us the URL of the resulting webpage from the address bar of your browser. Like so - http://paste.osmc.io/ocafudazeq.vbs

Okay here it is, it is massive though so I am not sure I did it properly.

http://paste.osmc.io/qekaxiyogu.vhdl

Anyone?

@Jacktar Can you try enabling max_usb_current in MyOSMC>PiConfig>GPU Mem&Codec followed by a reboot?

Okay, have done that but no change.

I think your ip settings (gateway/dns are incorrect).

You should do what fzinken asked

      Really to help you we need some more info.

Can you SSH into your Pi? Can you post ifconfig and do basic test like ping www.google.com?

The TV scraper and Movie scraper connect to completely different websites for their information.

An internet connection is not an all or nothing affair, it’s very possible for you not to be able to connect to particular sites, for example if either your router or your ISP implement any kind of traffic filtering/blocking.

(For example at work through a corporate network I can scrape Movies but not TV Shows, as the TV Show scraper website is blocked for some reason by our firewall)

The following from your log shows that Kodi is unable to connect to the Kodi repository:

10:48:04 T:1957138432   DEBUG: Checking repositories for updates (triggered by Kodi Add-on repository)
10:48:04 T:1957138432   DEBUG: ------ Window Deinit (Pointer.xml) ------
10:48:04 T:1768490016   DEBUG: CFileCache::Open - opening <addons/gotham/addons.xml.md5> using cache
10:48:04 T:1768490016   DEBUG: CurlFile::Open(0x6f113400) http://mirrors.kodi.tv/addons/gotham/addons.xml.md5
10:48:04 T:1768490016    INFO: easy_aquire - Created session to http://mirrors.kodi.tv
10:48:04 T:1698665504   DEBUG: UpdateMenuLanguage - using TV menu language is disabled
10:48:04 T:1768490016   ERROR: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
10:48:04 T:1768490016   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
10:48:04 T:1768490016   ERROR: Open - failed to open source <http://mirrors.kodi.tv/addons/gotham/addons.xml.md5>
10:48:04 T:1768490016   ERROR: Failed to fetch checksum for directory listing http://mirrors.kodi.tv/addons/gotham/addons.xml for repository repository.xbmc.org.

Can you try going to http://mirrors.kodi.tv/addons/gotham/addons.xml in your browser to see what you get, and also let us know what URL it redirects to ?

The following log lines show a dns error trying to look up the scraper website:

10:48:48 T:1785267232   DEBUG: CurlFile::Open(0x6414d718) http://api.tmdb.org/3/search/movie?api_key=57983e31fb435df4df77afb854740ea9&query=22%20Bullets&year=2010&language=en
10:48:48 T:1785267232    INFO: easy_aquire - Created session to http://api.tmdb.org
10:48:49 T:1785267232   ERROR: CCurlFile::FillBuffer - Failed: Couldn't resolve host name(6)
10:48:49 T:1785267232   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.

Can you try pinging api.tmdb.org or going to it in your browser ?

Definitely some sort of network/internet issues there…

No problem getting to the movie database through my browser.

URL directed to is:
http://mirror.rackcentral.com.au/xbmc/addons/gotham/addons.xml

And oages of writing which look a lot like this:
all

Auto update libraryWatchdog will watch your media sources for changes and automatically update the library when new files are added or removed. Update is instant.GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007[RELEASE] Library watchdogGitHub - tamland/xbmc-addon-watchdog: Library watchdog addon for XBMCtrue

Oh that writing comes up as source text in my browser but then changed when I put it in here.

BTW I changed ISPs today, no change.

And your Pi is using the same DNS servers as your PC ? Check in the networking GUI to see what DNS servers have been assigned and whether they are the same as those assigned to your PC.

Thank you all very much for your help, all fixed.
Got a new modem/router with my new ISP and now it all works like a dream.