VeeamHub / vbo365-rest-self-service

Unofficial Self-Service Web Portal for Veeam Backup for Microsoft Office 365
MIT License
22 stars 8 forks source link

Error on large sharepoint items for recovery #42

Open cybrides opened 2 years ago

cybrides commented 2 years ago

Describe the bug

When we try to acces an organization whit large number of sharepoint items, we get this error.The organization have backup for sharepoint sites.

Error creating resource: [message] fopen(https://X.X.X.X:4443/v5/BackupRepositories/73351583-a5d6-46d9-afdc-860856712ef1/SiteData?limit=250): failed to open stream: HTTP request failed! [file] /var/www/html/vbo365-rest/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 324 No SharePoint sites found for this organization

To Reproduce Steps to reproduce the behavior:

  1. Choose the organization ''
  2. Click on 'Sharepoint'
  3. After some time the error appear
  4. See error

Expected behavior

See the backup available for restore item

Screenshots If applicable, add screenshots to help explain your problem. error_portal

Desktop (please complete the following information):

Additional context Try to change the number of loading item from 250 to 2500 in config.php but the error still remaining

nielsengelen commented 2 years ago

This is for loading the actual SharePoint sites, not related to items within a specific site. Do you see any errors in the REST API logs around the time U try to load this?

cybrides commented 2 years ago

hello,

In the rest logs file i have no error but a rest api call is not the same

the sharepoint whit after some tilmes the error appear at the end of the line i have the parameter "250" and the api call never end

11/10/2021 07:17:51 62 (6976) Request: GET https://X.X.X.X:4443/v5/BackupRepositories/XXXXXXXX/SiteData?limit=250 11/10/2021 07:17:51 62 (6976) Action started: Get backuprepositories (API version: V5)

Other Sharepoint whit no error

11/10/2021 07:28:21 56 (2612) Request: GET https://X.X.X.X:4443/v5/BackupRepositories/X.X.X.X/SiteData?limit=250 11/10/2021 07:28:21 56 (2612) Action started: Get backuprepositories (API version: V5) 11/10/2021 07:28:21 56 (2612) Action completed successfully: Get backuprepositories

regards

nielsengelen commented 2 years ago

Can you enable extended logging and try to perform these actions again and see if the logs show more?

cybrides commented 2 years ago

Hello, sorry for the delay, i have activate the extended logging but same error and nothing more in the log.

On the web ui : Error creating resource: [message] fopen(https://XX.XX.XX.XX:4443/v5/BackupRepositories/73351583-a5d6-46d9-afdc-860856712ef1/SiteData?limit=250): failed to open stream: HTTP request failed! [file] /var/www/html/vbo365-rest/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php [line] 324 No SharePoint sites found for this organization.

On the log in VBO server 9/10/2021 16:59:41 11 (4768) Request: GET https://XX.XX.XX.XX:4443/v5/BackupRepositories/73351583-a5d6-46d9-afdc-860856712ef1/SiteData?limit=250 19/10/2021 16:59:41 11 (4768) Action started: Get backuprepositories (API version: V5)

On the web server Nothing in the log

Regards