-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CachedRequestService.php #4439
base: main
Are you sure you want to change the base?
Conversation
Fixes Issue nextcloud#1486 Signed-off-by: erdogan-work <[email protected]>
This might be one for @juliusknorr to review since I am unsure about the implications of this and he worked on it. |
Can you share more details about your setup? Are you using the built-in CODE server (richdocumentscode app) or a dedicated collabora server as docker or package installation? The timeout is probably way too large for usual setups where i would expect the requets to finish faster then 1 second |
Sure! Its a Linux SLES 15 SP 6. I got timeouts when tried to open office documents and read in the logfiles about the expired timout. Umut Erdogan |
Can you do a manual curl request towards https://yourcollaboraurl/hosting/discovery on the Nextcloud server and measure the time? We should really avoid such long timeouts and I'd rather expect some setup issue there then. |
The Url with https://yourcollaboraurl/hosting/discovery displays an error page: The Url https://yourcollaboraurl/apps/richdocumentscode/proxy.php?req=/hosting/discovery Maybe I can try it with the original settings for a while to test whether it would now work? KR |
Otherwise I get a timeout instead on this page:
![image](https://private-user-images.githubusercontent.com/190462139/409477891-e0d2fc7e-fab4-459a-a0e5-1abe84ba4b68.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjkzMjgsIm5iZiI6MTczOTYyOTAyOCwicGF0aCI6Ii8xOTA0NjIxMzkvNDA5NDc3ODkxLWUwZDJmYzdlLWZhYjQtNDU5YS1hMGU1LTFhYmU4NGJhNGI2OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxNDE3MDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01YTczYTZkYzY0MThkNGIzZjY4YTE3ZjgxMWExN2E4YzNhNjU1MjAyNjZmYjYzNzg4Yjc2ZWM2NDEyNWE3NjViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.-jRrjZ6nDGgelIFfD9Yo2IGzdlxzKWlVbCvNFDhoRyM)