I've been rebuilding my entire Launchbox setup, and have imported thousands of ROMs and downloaded all media and metadata available for all collections... up until this weekend. I was bringing in some largish collections - Commodore 64, Commodore Amiga, and started to run into issues with coming back to the program after leaving it to run overnight, and finding it stalled in the download process partway through. The error that shows up indicated that a session has expired, or that I am being asked to log in again (I am assuming EmuMovies is the culprit in those cases). Snippet from last night's log:
2021-09-27 08:08:24 AM Downloading "http://api.gamesdbase.com/5c35342ec836375e38c8355d3531372b65336461c62ba060ffddc9f75ec86c6466c85bc5d2676455c86e72c8726ccf6e6f606262c867645fd262ce5a75c62dc65e2b363135.png" to "E:\LaunchBox\Images\Commodore Amiga\Screenshot - Game Title\Assassin_ Special Edition-01.png"
2021-09-27 08:08:24 AM FIRST CHANCE EXCEPTION: The remote server returned an error: (404) Session has expired. Please login..
at System.Net.HttpWebRequest.SendRequest()
2021-09-27 08:08:24 AM FIRST CHANCE EXCEPTION: The remote server returned an error: (404) Session has expired. Please login..
at System.Net.HttpWebRequest.SendRequest()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2021-09-27 08:08:24 AM FIRST CHANCE EXCEPTION: The remote server returned an error: (404) Session has expired. Please login..
at System.Net.HttpWebRequest.GetResponse()
2021-09-27 08:08:24 AM FIRST CHANCE EXCEPTION: The remote server returned an error: (404) Session has expired. Please login..
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
2021-09-27 08:08:24 AM FIRST CHANCE EXCEPTION: The remote server returned an error: (404) Session has expired. Please login..
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
2021-09-27 08:08:24 AM EmuMovies 404 error, updating URLs
At this point the program gets stalled and sits for a very long time in this state. I had 61 errors in the error list that all said that the session had expired. Seems to me that the appropriate thing the program should be doing is to renew the connection to the database(s) (start a new session, resend credentials) before trying again.