•  
      request #7040 GET /projects/101/backlog return 500 Internal Error
    Infos
    #7040
    Laurent Delaigue (ldelaigue)
    2016-06-23 16:20
    2014-06-11 09:51
    7057
    Details
    GET /projects/101/backlog return 500 Internal Error
    I get a 500 - Internal Error when calling /projects/101/backlog on Tuleap.net (this route should return the top-planning backlog of project "Tuleap" on Tuleap.net)
    API
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed
    2016-06-23
    Attachments
    Screenshot of the issue in restler
    References
    References list is empty

    Follow-ups

    User avatar
    This error seems not be raised anymore. I close the request.

    Feel free to reopen it if necessary.

    • Status changed from Waiting for information to Closed
    • Reported in version cleared values: 7.1
    • Close date set to 2016-06-23
    User avatar
    I just found this in the logs, I do not know if it is related…

    PHP Fatal error: Call to undefined function
    permission_db_authorized_ugroups() in
    /usr/share/codendi/plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php
    on line 182
    User avatar
    If you have access to the server logs, you should find a message matching my attempts, this could help you a lot I think.
    User avatar
    last edited by: Yannis ROSSETTO (rossettoy) 2014-06-12 16:12

    I get the same error with curl:

    $ curl --verbose -H "X-Auth-Token: JDJ5JDE1JEwx(...)" -H "X-Auth-UserId: (...)" https://www.tuleap.net/api
    /v1/projects/101/backlog
    * Adding handle: conn: 0x1e22df8
    * Adding handle: send: 0
    * Adding handle: recv: 0
    * Curl_addHandleToPipeline: length: 1
    * - Conn 0 (0x1e22df8) send_pipe: 1, recv_pipe: 0
    * About to connect() to www.tuleap.net port 443 (#0)
    *   Trying 50.56.122.158...
    * Connected to www.tuleap.net (50.56.122.158) port 443 (#0)
    * successfully set certificate verify locations:
    *   CAfile: C:\Program Files (x86)\Git\bin\curl-ca-bundle.crt
      CApath: none
    * SSLv3, TLS handshake, Client hello (1):
    * SSLv3, TLS handshake, Server hello (2):
    * SSLv3, TLS handshake, CERT (11):
    * SSLv3, TLS handshake, Server key exchange (12):
    * SSLv3, TLS handshake, Server finished (14):
    * SSLv3, TLS handshake, Client key exchange (16):
    * SSLv3, TLS change cipher, Client hello (1):
    * SSLv3, TLS handshake, Finished (20):
    * SSLv3, TLS change cipher, Client hello (1):
    * SSLv3, TLS handshake, Finished (20):
    * SSL connection using DHE-RSA-AES256-SHA
    * Server certificate:
    *        subject: C=FR; postalCode=73370; ST=Savoie; L=LE BOURGET DU LAC; street=12 allée du Lac de garde; O=ENALEAN; OU=0002 531796621; OU=Enalean; CN=tuleap.net
    *        start date: 2013-06-14 00:00:00 GMT
    *        expire date: 2014-07-14 23:59:59 GMT
    *        subjectAltName: www.tuleap.net matched
    *        issuer: C=FR; ST=Calvados; L=Caen; O=TBS INTERNET; OU=Terms and Conditions: http://www.tbs-internet.com/CA/repository; OU=TBS INTERNET CA; CN=TBS X509 CA busin
    ess
    *        SSL certificate verify ok.
    > GET /api/v1/projects/101/backlog HTTP/1.1
    > User-Agent: curl/7.30.0
    > Host: www.tuleap.net
    > Accept: */*
    > X-Auth-Token: JDJ5JDE1J(.....)
    > X-Auth-UserId: 771
    >
    * HTTP 1.0, assume close after body
    < HTTP/1.0 500 Internal Server Error
    < Date: Thu, 12 Jun 2014 14:08:39 GMT
    < Server: Apache/2.2.3 (CentOS)
    < X-Powered-By: PHP/5.3.3
    < Vary: Accept,User-Agent,Accept-Encoding
    < Access-Control-Allow-Origin: *
    < Access-Control-Allow-Credentials: true
    < Access-Control-Allow-Headers: Accept, Accept-Charset, Authorization, Content-Type, Origin
    < Content-Length: 0
    < Connection: close
    < Content-Type: text/html
    <
    * Closing connection 0
    * SSLv3, TLS alert, Client hello (1):
    User avatar
    last edited by: Yannis ROSSETTO (rossettoy) 2014-06-12 15:33
    You have strange output. For instance, you have Content-encoding: gzip and I've Content-Type: application/json; charset=utf-8.
    Furthermore, error 500 are not thrown for this route, but for append file to an artifact.

    Can you please :

    - try with a CURL this route
    - retry in the UI after leaving the page and doing a refresh with cleared cache

    Thanks
    User avatar
    Hello Laurent,

    I've just tested on https://tuleap.net/api/explorer/ the v1/projects/101/backlog route and I've got a result.

    Do you still face the issue ?

    • Status changed from New to Waiting for information
    • Assigned to changed from None to Yannis ROSSETTO (rossettoy)