-
Notifications
You must be signed in to change notification settings - Fork 42
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
ImaginaryCommunicationException Imaginary request failed #657
Comments
Getting same error message with fresh AIO install on Arch for the Passwords App. I am logged in with the browser plugin on multiple machines/browsers using it without issue just the logs are filling up with these errors.
Nextcloud logging has many entries for this today (snippet below)
Docker Info:
Let me know if more data is needed. |
Apologies I see I posted the wrong log.
Regards, |
Ok, looking at the log, it's definitely #663. A fix for this will be available later this week. |
Server Information
Client Information
Browser and Version: Firefox, latest version
Client OS and Version: zorinOS latest version or windows 11 latest version
Bug description
Nextcloud error log show the following message for the latest version of the password app:
{"reqId":"XFNNOazzHVsVYhxzMUBa","level":4,"time":"2024-05-17T09:22:16+00:00","remoteAddr":"192.168.1.1","user":"GabyUdo","app":"passwords","method":"GET","url":"/index.php/apps/passwords/api/1.0/service/favicon/www.linkedin.com/16","message":"Imaginary request failed","userAgent":"Offizielle Passwords Firefox Extension auf Win","version":"28.0.5.1","exception":{"Exception":"OCA\Passwords\Exception\Image\Imaginary\ImaginaryCommunicationException","Message":"Imaginary request failed","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/passwords/lib/Helper/Image/ImaginaryHelper.php","line":86,"function":"sendRequest","class":"OCA\Passwords\Helper\Image\ImaginaryHelper","type":"->","args":[["OCA\Passwords\Helper\Image\Imaginary\ImaginaryImage"],"info"]},{"file":"/var/www/html/custom_apps/passwords/lib/Helper/Favicon/ResizeFaviconHelper.php","line":62,"function":"cropImageRectangular","class":"OCA\Passwords\Helper\Image\ImaginaryHelper","type":"->","args":[["OCA\Passwords\Helper\Image\Imaginary\ImaginaryImage"]]},{"file":"/var/www/html/custom_apps/passwords/lib/Services/FaviconService.php","line":65,"function":"resizeFavicon","class":"OCA\Passwords\Helper\Favicon\ResizeFaviconHelper","type":"->","args":[["OC\Files\SimpleFS\SimpleFile"],16]},{"file":"/var/www/html/custom_apps/passwords/lib/Controller/Api/ServiceApiController.php","line":144,"function":"getFavicon","class":"OCA\Passwords\Services\FaviconService","type":"->","args":["www.linkedin.com",16]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\Passwords\Controller\Api\ServiceApiController","type":"->","args":["www.linkedin.com",16]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Passwords\Controller\Api\ServiceApiController"],"getFavicon"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Passwords\Controller\Api\ServiceApiController"],"getFavicon"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\AppFramework\App","type":"::","args":["ServiceApiController","getFavicon",["OC\AppFramework\DependencyInjection\DIContainer"],["www.linkedin.com","16","passwords.service_api.get_favicon"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/passwords/api/1.0/service/favicon/www.linkedin.com/16"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/passwords/lib/Helper/Image/ImaginaryHelper.php","Line":218,"Previous":{"Exception":"GuzzleHttp\Exception\ClientException","Message":"Client error:
POST http://nextcloud-aio-imaginary:9000/info
resulted in a401 Unauthorized
response:\n{"message":"Invalid or missing API key","status":401}\n","Code":401,"Trace":[{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":69,"function":"create","class":"GuzzleHttp\Exception\RequestException","type":"::","args":["*** sensitive parameters replaced "]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":204,"function":"GuzzleHttp\{closure}","class":"GuzzleHttp\Middleware","type":"::","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":153,"function":"callHandler","class":"GuzzleHttp\Promise\Promise","type":"::","args":[1," sensitive parameters replaced "," sensitive parameters replaced "]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":48,"function":"GuzzleHttp\Promise\{closure}","class":"GuzzleHttp\Promise\Promise","type":"::","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":248,"function":"run","class":"GuzzleHttp\Promise\TaskQueue","type":"->","args":[true]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":224,"function":"invokeWaitFn","class":"GuzzleHttp\Promise\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":269,"function":"waitIfPending","class":"GuzzleHttp\Promise\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":226,"function":"invokeWaitList","class":"GuzzleHttp\Promise\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php","line":62,"function":"waitIfPending","class":"GuzzleHttp\Promise\Promise","type":"->","args":[]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"wait","class":"GuzzleHttp\Promise\Promise","type":"->","args":[]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":301,"function":"request","class":"GuzzleHttp\Client","type":"->","args":["post","http://nextcloud-aio-imaginary:9000/info",["/mnt/ncdata/files_external/rootcerts.crt",30," sensitive parameters replaced ",true,null,"And 4 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/passwords/lib/Helper/Image/ImaginaryHelper.php","line":208,"function":"post","class":"OC\Http\Client\Client","type":"->","args":["http://nextcloud-aio-imaginary:9000/info",[" sensitive parameters replaced ***",true,null,[true],30,"And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/passwords/lib/Helper/Image/ImaginaryHelper.php","line":86,"function":"sendRequest","class":"OCA\Passwords\Helper\Image\ImaginaryHelper","type":"->","args":[["OCA\Passwords\Helper\Image\Imaginary\ImaginaryImage"],"info"]},{"file":"/var/www/html/custom_apps/passwords/lib/Helper/Favicon/ResizeFaviconHelper.php","line":62,"function":"cropImageRectangular","class":"OCA\Passwords\Helper\Image\ImaginaryHelper","type":"->","args":[["OCA\Passwords\Helper\Image\Imaginary\ImaginaryImage"]]},{"file":"/var/www/html/custom_apps/passwords/lib/Services/FaviconService.php","line":65,"function":"resizeFavicon","class":"OCA\Passwords\Helper\Favicon\ResizeFaviconHelper","type":"->","args":[["OC\Files\SimpleFS\SimpleFile"],16]},{"file":"/var/www/html/custom_apps/passwords/lib/Controller/Api/ServiceApiController.php","line":144,"function":"getFavicon","class":"OCA\Passwords\Services\FaviconService","type":"->","args":["www.linkedin.com",16]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\Passwords\Controller\Api\ServiceApiController","type":"->","args":["www.linkedin.com",16]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Passwords\Controller\Api\ServiceApiController"],"getFavicon"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Passwords\Controller\Api\ServiceApiController"],"getFavicon"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\AppFramework\App","type":"::","args":["ServiceApiController","getFavicon",["OC\AppFramework\DependencyInjection\DIContainer"],["www.linkedin.com","16","passwords.service_api.get_favicon"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/passwords/api/1.0/service/favicon/www.linkedin.com/16"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":113},"message":"Imaginary request failed","exception":[],"CustomMessage":"Imaginary request failed"},"id":"664870f1c7c95"}Steps to reproduce
Expected behavior
Nextcloud Logs
Browser Logs
as this is happening with different clients, not necessary?
The text was updated successfully, but these errors were encountered: