floccusaddon / floccus

:cloud: Sync your bookmarks privately across browsers and devices
https://floccus.org
Mozilla Public License 2.0
5.83k stars 241 forks source link

Syncing failed with E020: Could not parse server response. (...special characters at title) #992

Closed github195 closed 2 years ago

github195 commented 3 years ago

FYI: stopped syncing with error E020 but terminates without an error after remove of the eye (👁) in FF bookmars "Name" ...found a bunch of other bugs like this when I searched for E020 so feel free to close this bug as duplicated Thanks in advance :)

-cut logfile-

... oldItem: - #43;17> Tronxy x5s mosquito direct drive by mcjo79 - Thingiverse parentId: 17, index: 5, oldIndex: 1 } ] } 2021-11-05T12:21:04.763Z Checking failsafe: 0/1173=0 2021-11-05T12:21:04.763Z (nextcloud-folders)CREATE - #undefined3Dfind.it 👁 Visual Search Engine & Content Platform parentId: 109 2021-11-05T12:21:04.764Z (nextcloud-folders)CREATE - #undefined3Dfind.it 👁 Visual Search Engine & Content Platform parentId: 109 2021-11-05T12:21:09.989Z { [Error: E020: Could not parse server response. Is the bookmarks app installed on your server?] code: 20, response: 'JSON.parse: unexpected character at line 1 column 1 of the JSON data' } 2021-11-05T12:21:09.991Z { [Error: E020: Could not parse server response. Is the bookmarks app installed on your server?] code: 20, response: 'JSON.parse: unexpected character at line 1 column 1 of the JSON data' } 2021-11-05T12:21:09.993Z Syncing failed with E020: Could not parse server response. Is the bookmarks app installed on your server? E020: Could not parse server response. Is the bookmarks app installed on your server?

-n paste logfile-

Desktop

(please complete the following information)

Server

(please complete the following information)

github-actions[bot] commented 3 years ago

Hi @github195! This issue is being automatically closed because it does not follow the issue template.

marcelklehr commented 3 years ago

Please see if https://github.com/floccusaddon/floccus#troubleshooting helps

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

0cwa commented 2 years ago

I get this same error despite reinstalling bookmarks and floccus, and running the troubleshooting guide, here are the logs:

  Error    index              Exception: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given,  2022-02-11T04:05:03+00:00 
                              called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 in file                                 
                              '/var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php' line 79 at                                                     
                              lib/private/AppFramework/Http/Dispatcher.php line 158                                                                                 

                              0. lib/private/AppFramework/App.php line 157                                                                                          
                                 OC\AppFramework\Http\Dispatcher->dispatch(                                                                                         

                                 )                                                                                                                                  
                              1. lib/private/Route/Router.php line 302                                                                                              
                                 OC\AppFramework\App::main(                                                                                                         

                                 )                                                                                                                                  
                              2. lib/base.php line 1006                                                                                                             
                                 OC\Route\Router->match(                                                                                                            

                                 )                                                                                                                                  
                              3. index.php line 36                                                                                                                  
                                 OC::handleRequest(                                                                                                                 

                                 )                                                                                                                                  

                              Caused by TypeError: Argument 1 passed to GuzzleHttp\Psr7\Uri::__construct() must be of the type string, null given,                           
                              called in /var/www/nextcloud/apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php on line 44 at                                      
                              apps/bookmarks/vendor/guzzlehttp/psr7/src/Uri.php line 79                                                                             

                               0. apps/bookmarks/vendor/guzzlehttp/psr7/src/Request.php line 44                                                                     
                                  GuzzleHttp\Psr7\Uri->__construct(                                                                                                 

                                  )                                                                                                                                 
                               1. apps/bookmarks/lib/Http/RequestFactory.php line 26                                                                                
                                  GuzzleHttp\Psr7\Request->__construct(                                                                                             

                                  )                                                                                                                                 
                               2. .../link-preview/src/Models/Link.php line 60                                                                                      
                                  OCA\Bookmarks\Http\RequestFactory->createRequest(                                                                                 

                                  )                                                                                                                                 
                               3. .../marcelklehr/link-preview/src/Models/Link.php line 69                                                                          
                                  Marcelklehr\LinkPreview\Models\Link->fetch(                                                                                       

                                  )                                                                                                                                 
                               4. .../bookmarks/lib/Service/LinkExplorer.php line 54                                                                                
                                  Marcelklehr\LinkPreview\Models\Link->getPreview(                                                                                  

                                  )                                                                                                                                 
                               5. apps/bookmarks/lib/Service/BookmarkService.php line 190                                                                           
                                  OCA\Bookmarks\Service\LinkExplorer->get(                                                                                          

                                  )                                                                                                                                 
                               6. .../lib/Service/BookmarkService.php line 141                                                                                      
                                  OCA\Bookmarks\Service\BookmarkService->_addBookmark(                                                                              

                                  )                                                                                                                                 
                               7. .../lib/Controller/BookmarkController.php line 420                                                                                
                                  OCA\Bookmarks\Service\BookmarkService->create(                                                                                    

                                  )                                                                                                                                 
                               8. .../Http/Dispatcher.php line 217                                                                                                  
                                  OCA\Bookmarks\Controller\BookmarkController->newBookmark(                                                                         

                                  )                                                                                                                                 
                               9. .../AppFramework/Http/Dispatcher.php line 126                                                                                     
                                  OC\AppFramework\Http\Dispatcher->executeController(                                                                               

                                  )                                                                                                                                 
                              10. lib/private/AppFramework/App.php line 157                                                                                         
                                  OC\AppFramework\Http\Dispatcher->dispatch(                                                                                        

                                  )                                                                                                                                 
                              11. lib/private/Route/Router.php line 302                                                                                             
                                  OC\AppFramework\App::main(                                                                                                        

                                  )                                                                                                                                 
                              12. lib/base.php line 1006                                                                                                            
                                  OC\Route\Router->match(                                                                                                           

                                  )                                                                                                                                 
                              13. index.php line 36                                                                                                                 
                                  OC::handleRequest(                                                                                                                

                                  )                                                                                                                                 

  Error    PHP                Error: Undefined offset: 0 at                                                                               2022-02-11T04:05:03+00:00 
                              /var/www/nextcloud/apps/bookmarks/vendor/marcelklehr/link-preview/src/Models/Link.php#55 at                                           
                              lib/private/Log/ErrorHandler.php line 92                                                                                              

                               0. .../vendor/marcelklehr/link-preview/src/Models/Link.php line 55                                                                   
                                  OC\Log\ErrorHandler::onError(                                                                                                     

                                  )                                                                                                                                 
                               1. .../marcelklehr/link-preview/src/Models/Link.php line 69                                                                          
                                  Marcelklehr\LinkPreview\Models\Link->fetch(                                                                                       

                                  )                                                                                                                                 
                               2. .../bookmarks/lib/Service/LinkExplorer.php line 54                                                                                
                                  Marcelklehr\LinkPreview\Models\Link->getPreview(                                                                                  

                                  )                                                                                                                                 
                               3. apps/bookmarks/lib/Service/BookmarkService.php line 190                                                                           
                                  OCA\Bookmarks\Service\LinkExplorer->get(                                                                                          

                                  )                                                                                                                                 
                               4. .../lib/Service/BookmarkService.php line 141                                                                                      
                                  OCA\Bookmarks\Service\BookmarkService->_addBookmark(                                                                              

                                  )                                                                                                                                 
                               5. .../lib/Controller/BookmarkController.php line 420                                                                                
                                  OCA\Bookmarks\Service\BookmarkService->create(                                                                                    

                                  )                                                                                                                                 
                               6. .../Http/Dispatcher.php line 217                                                                                                  
                                  OCA\Bookmarks\Controller\BookmarkController->newBookmark(                                                                         

                                  )                                                                                                                                 
                               7. .../AppFramework/Http/Dispatcher.php line 126                                                                                     
                                  OC\AppFramework\Http\Dispatcher->executeController(                                                                               

                                  )                                                                                                                                 
                               8. lib/private/AppFramework/App.php line 157                                                                                         
                                  OC\AppFramework\Http\Dispatcher->dispatch(                                                                                        

                                  )                                                                                                                                 
                               9. lib/private/Route/Router.php line 302                                                                                             
                                  OC\AppFramework\App::main(                                                                                                        

                                  )                                                                                                                                 
                              10. lib/base.php line 1006                                                                                                            
                                  OC\Route\Router->match(                                                                                                           

                                  )                                                                                                                                 
                              11. index.php line 36                                                                                                                 
                                  OC::handleRequest(                                                                                                                

                                  )                                                                                                                                 
github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.