Skip to content

Error PHP XMLReader::read(): Load Data before trying to read at /var/www/nextcloud/3rdparty/sabre/xml/lib/Reader.php#63 #22281

Closed

Description

@k-matti

Nextcloud version: 19.0.1

Logging tab is full of:

Error PHP XMLReader::read(): Load Data before trying to read at /var/www/nextcloud/3rdparty/sabre/xml/lib/Reader.php#63

Activity

  1. added
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Aug 18, 2020
  2. chgardener commented on Aug 27, 2020

    @chgardener

    I have exactly the same problem.

  3. DevDorrejo commented on Aug 28, 2020

    @DevDorrejo

    have the same on 19.0.2 full

  4. 0x1d commented on Aug 28, 2020

    @0x1d

    I had the same issue with 19.0.1.
    When i looked at the whole error message, it looks like that it was related to an external storage i've added recentrly:

    [PHP] Error: XMLReader::read(): Load Data before trying to read at /var/www/html/3rdparty/sabre/xml/lib/Reader.php#63
    GET /index.php/apps/files_external/userstorages/3?testOnly=false
    from 10.42.6.0 by pd at 2020-08-28T18:11:33+00:00
    

    After removing the external storage, the error was gone.

  5. chgardener commented on Aug 28, 2020

    @chgardener

    I’m not so lucky, mine gives the following error:

    {"reqId":"123abc","level":3,"time":"2020-08-28T21:14:24+00:00","remoteAddr":"x.x.x.x","user":"xyz","app":"PHP","method":"SEARCH","url":"/nextcloud/remote.php/dav","message":"XMLReader::read(): Load Data before trying to read at /var/www/html/nextcloud/3rdparty/sabre/xml/lib/Reader.php#63","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.4","version":"19.0.1.1"}`

  6. nokoa77 commented on Sep 12, 2020

    @nokoa77

    same problem here : 10 times per second I had this error :
    {"reqId":"XXXXXX","level":3,"time":"2020-09-12T20:41:49+00:00","remoteAddr":"109.xx.xx.xx","user":"XXXX","app":"PHP","method":"SEARCH","url":"/remote.php/dav","message":"XMLReader::read(): Load Data before trying to read at /var/www/MYNEXTCLOUD.TLD/3rdparty/sabre/xml/lib/Reader.php#63","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/3.0.6","version":"19.0.2.2"}
    I revoked the security TOKEN for my iOS app... and the error vanished ... for now !

  7. chgardener commented on Sep 14, 2020

    @chgardener

    I could solve it too, it was always the same user and the same IP-Address for weeks. Since IPs change I figured it was probably some request that got stuck in a loop or something and deleted the user. That solved the problem.

  8. coolibre commented on Nov 1, 2020

    @coolibre

    same problem here. The logfile easily eats up my 6TB hard drive after a few weeks.

  9. ChristophWurst commented on Nov 20, 2020

    @ChristophWurst
  10. ChristophWurst commented on Nov 20, 2020

    @ChristophWurst
  11. ChristophWurst commented on Nov 20, 2020

    @ChristophWurst
  12. ChristophWurst commented on Nov 20, 2020

    @ChristophWurst
    Member

    Found it! sabre/xml@2.2.0 contained a regression that was fixed with 2.2.1 and later (sabre-io/xml#183). I'll prepare a PR.

  13. ChristophWurst commented on Nov 20, 2020

    @ChristophWurst
    Member
  14. ChristophWurst commented on Nov 23, 2020

    @ChristophWurst
    Member

    PR for 19 is at #24306. Please help review and test ✌️

  15. added
    4. to releaseReady to be released and/or waiting for tests to finish
    and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Nov 23, 2020
  16. added this to the Nextcloud 21 milestone on Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    4. to releaseReady to be released and/or waiting for tests to finishbug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions