Page MenuHomePhabricator

Wikisource Export: "Uncaught PHP Exception GuzzleHttp\Exception\ServerException"
Closed, ResolvedPublicBUG REPORT

Description

What is the problem?
Message:  Uncaught PHP Exception GuzzleHttp\Exception\ServerException: "Server error: `GET https://tools.wmflabs.org/phetools/credits.py?lang=sl&format=json&page=Deseti_brat...` resulted in a `500 Internal Server Error` response:  
  <?xml version="1.0" encoding="iso-8859-1"?>  
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
           "htt (truncated...)  
  " at /var/www/tool/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php line 113  
Time:  2020-11-18T11:07:19.117977+00:00  
Channel:  request  
Context:   exception:  {    
         "class": "GuzzleHttp\\Exception\\ServerException",    
         "message": "Server error: `GET https://tools.wmflabs.org/phetools/credits.py?lang=sl&format=json&page=Deseti_brat...` resulted in a `500 Internal Server Error` response:\n<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n         \"htt (truncated...)\n",    
         "code": 500,    
         "file": "/var/www/tool/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113",    
         "trace": [    
             "/var/www/tool/vendor/guzzlehttp/guzzle/src/Middleware.php:65",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:204",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:153",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/TaskQueue.php:48",    
             "/var/www/tool/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:118",    
             "/var/www/tool/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:145",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:248",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:224",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:269",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:226",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:62",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/EachPromise.php:113",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:248",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:224",    
             "/var/www/tool/vendor/guzzlehttp/promises/src/Promise.php:62",    
             "/var/www/tool/src/BookProvider.php:241",    
             "/var/www/tool/src/BookProvider.php:162",    
             "/var/www/tool/src/BookProvider.php:48",    
             "/var/www/tool/src/BookCreator.php:51",    
             "/var/www/tool/src/Controller/ExportController.php:92",    
             "/var/www/tool/src/Controller/ExportController.php:63",    
             "/var/www/tool/vendor/symfony/http-kernel/HttpKernel.php:157",    
             "/var/www/tool/vendor/symfony/http-kernel/HttpKernel.php:79",    
             "/var/www/tool/vendor/symfony/http-kernel/Kernel.php:196",    
             "/var/www/tool/public/index.php:35"    
         ]    
     }    
Extra:   host:  wsexport.wmflabs.org    
   uri:  http://wsexport.wmflabs.org/tool/book.php?format=pdf-a4&lang=sl&page=Deseti_brat...
Ebooks that have reproduced this bug

Event Timeline

@ifried This error has been seen 5 times on production since 18th Nov. Total number of downloads in November was ~65000.

ifried claimed this task.

I'm not able to reproduce this error from the link provided above, and we have finished the ebook export project. I'm closing this ticket. If new issues emerge, a new ticket can be written.