sspiff / lms-plugin-pyrrha

Pyrrha - Daughter of Pandora
GNU General Public License v2.0
13 stars 4 forks source link

can't connect on windows #11

Closed sspiff closed 6 months ago

sspiff commented 6 months ago

Multiple users reporting an error trying to connect when LMS is running on Windows:

[24-02-14 12:31:50.5296] Plugins::Pyrrha::Utils::getWebService (39) creating new websvc
[24-02-14 12:31:50.5309] Plugins::Pyrrha::Utils::getWebService (51) 500 Can't connect to ...:443
[24-02-14 12:31:50.5310] Plugins::Pyrrha::Utils::__ANON__ (105) 500 Can't connect to ...:443
nabertrand commented 6 months ago

I think this is a problem with the version of LWP packaged into the Windows LMS binary. I was able to replicate the issue using Pyrrha but did not run into the same issue using https://github.com/nabertrand/lms-plugin-pandoradirect, which uses Slim::Networking::SimpleAsyncHTTP instead of LWP::UserAgent/HTTP::Request for the API calls.

sspiff commented 6 months ago

Great feedback! A good reason to prioritize moving to async calls.