Bug 505470

Summary: There are no Russian cities
Product: [Plasma] plasmashell Reporter: Leviy <partativ25102004>
Component: Weather widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: isma.af, kdedev
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screen
ryazan-search-found

Description Leviy 2025-06-11 11:32:53 UTC
Created attachment 182184 [details]
screen

When trying to select a Russian city in the widget - endless loading
Comment 1 Ismael Asensio 2025-06-11 12:20:41 UTC
Created attachment 182186 [details]
ryazan-search-found

The search for available locations is done by requesting online to several providers, from which just two have worldwide coverage. I can find the suggested location (Ryazan) or other places in Russia. 

When no place is found, there is a message indicating it. In this case, the spinning icon keeps showing without a result, which suggests some network problem to access the providers' URLs for the search queries, and we may not be handling that well.

Can you check if you have access to this URL?
https://open.live.bbc.co.uk/locator/locations?s=ryazan&format=json

If you may, please also provide the versions on your system (output of `kinfo`).

Thanks!
Comment 2 TraceyC 2025-06-11 21:04:22 UTC
Setting status, since we're waiting on information
Comment 3 Leviy 2025-06-11 21:59:19 UTC
(In reply to TraceyC from comment #2)
> Setting status, since we're waiting on information

Thank you, unfortunately this resource is not available to me :( maybe there is a way to configure the service to which the request is sent?
Comment 4 Leviy 2025-06-11 22:14:14 UTC
(In reply to Ismael Asensio from comment #1)
> Created attachment 182186 [details]
> ryazan-search-found
> 
> The search for available locations is done by requesting online to several
> providers, from which just two have worldwide coverage. I can find the
> suggested location (Ryazan) or other places in Russia. 
> 
> When no place is found, there is a message indicating it. In this case, the
> spinning icon keeps showing without a result, which suggests some network
> problem to access the providers' URLs for the search queries, and we may not
> be handling that well.
> 
> Can you check if you have access to this URL?
> https://open.live.bbc.co.uk/locator/locations?s=ryazan&format=json
> 
> If you may, please also provide the versions on your system (output of
> `kinfo`).
> 
> Thanks!

I was able to set up access to bbc, but for some reason it gives an error - failed to get weather information - timed out, although the site itself is available to me. You wrote that 2 providers provide worldwide coverage, but which is the 2nd and is it configured in the widget? thank you very much for your help <3
Comment 5 Leviy 2025-06-11 22:29:08 UTC
(In reply to Leviy from comment #4)
> I was able to set up access to bbc, but for some reason it gives an error -
> failed to get weather information - timed out, although the site itself is
> available to me. You wrote that 2 providers provide worldwide coverage, but
> which is the 2nd and is it configured in the widget? thank you very much for
> your help <3

Okay, sorry, I set up connections to all IP and BBC addresses, finally the weather is displayed in my system!)))
Comment 6 Ismael Asensio 2025-06-11 22:32:52 UTC
(In reply to Leviy from comment #5)
> (In reply to Leviy from comment #4)
> > I was able to set up access to bbc, but for some reason it gives an error -
> > failed to get weather information - timed out, although the site itself is
> > available to me. You wrote that 2 providers provide worldwide coverage, but
> > which is the 2nd and is it configured in the widget? thank you very much for
> > your help <3
> 
> Okay, sorry, I set up connections to all IP and BBC addresses, finally the
> weather is displayed in my system!)))

Nice! I'm glad you could make it work :)