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

One unreachable repository breaks list of multiple repositories #1238

Closed
dertroglodyt opened this issue Jul 5, 2015 · 1 comment · Fixed by #3645
Closed

One unreachable repository breaks list of multiple repositories #1238

dertroglodyt opened this issue Jul 5, 2015 · 1 comment · Fixed by #3645
Labels
Bug Something is not working as intended Core (ckan.dll) Issues affecting the core part of CKAN GUI Issues affecting the interactive GUI Network Issues affecting internet connections of CKAN ★☆☆

Comments

@dertroglodyt
Copy link

If you have multiple Metadata repositories refreshing breaks if one of them is unreachable.
On start of CKAN everything is fine. After refreshing (and waiting for some minutes) the list of available mods only contains the one that are installed.

Removing the unreachable repository returns CKAN to normal behavior.

@Postremus Postremus added Bug Something is not working as intended ★☆☆ labels Jul 5, 2015
@Postremus
Copy link
Contributor

Postremus commented Jul 15, 2015

Even the cli crashes with:

Unbehandelte Ausnahme: System.Net.WebException: Die Verbindung mit dem Remoteserver kann nicht hergestellt werden. ---> System.Net.Sockets.SocketException: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat 128.199.40.123:80
   bei System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   bei System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.Net.WebClient.DownloadFile(Uri address, String fileName)
   bei CKAN.Net.Download(String url, String filename, IUser user) in c:\Users\Martin\Documents\Visual Studio 2013\Projects\CKAN\Core\Net\Net.cs:Zeile 110.
   bei CKAN.Net.Download(Uri url, String filename, IUser user) in c:\Users\Martin\Documents\Visual Studio 2013\Projects\CKAN\Core\Net\Net.cs:Zeile 32.
   bei CKAN.Repo.UpdateRegistry(Uri repo, Registry registry, KSP ksp, IUser user, Boolean clear) in c:\Users\Martin\Documents\Visual Studio 2013\Projects\CKAN\Core\Net\Repo.cs:Zeile 134.
   bei CKAN.Repo.UpdateAllRepositories(RegistryManager registry_manager, KSP ksp, IUser user) in c:\Users\Martin\Documents\Visual Studio 2013\Projects\CKAN\Core\Net\Repo.cs:Zeile 89.
   bei CKAN.CmdLine.Update.UpdateRepository(KSP ksp, String repository) in c:\Users\Martin\Documents\Visual Studio 2013\Projects\CKAN\Cmdline\Action\Update.cs:Zeile 155.
   bei CKAN.CmdLine.Update.RunCommand(KSP ksp, Object raw_options) in c:\Users\Martin\Documents\Visual Studio 2013\Projects\CKAN\Cmdline\Action\Update.cs:Zeile41.
   bei CKAN.CmdLine.MainClass.Main(String[] args) in c:\Users\Martin\Documents\Visual Studio 2013\Projects\CKAN\Cmdline\Main.cs:Zeile 176.

RichardLake added a commit that referenced this issue Jul 17, 2015
Catch WebException when downloading metadata
@HebaruSan HebaruSan added GUI Issues affecting the interactive GUI Core (ckan.dll) Issues affecting the core part of CKAN Network Issues affecting internet connections of CKAN labels Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Core (ckan.dll) Issues affecting the core part of CKAN GUI Issues affecting the interactive GUI Network Issues affecting internet connections of CKAN ★☆☆
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants