Try the fastest and simplest way to install ONLYOFFICE

Slow Community Server (Docker)

Slow Community Server (Docker)

Postby mrman » Sun Oct 25, 2015 12:19 pm

Hey All,

I'm having to run the community server in an environment without an internet connection which is causing me some issue with slowness due to the server waiting for a response from various website... which it can as there is no internet connection.

The most obvious hold up with 55ms is:

https://by.uservoice.com/t/94629/x/p/track.js?....

Anyone know where I can comment this out in the codebase to prevent the slow down?
Last edited by mrman on Mon Nov 09, 2015 8:40 pm, edited 1 time in total.
mrman
 
Posts: 52
Joined: Sun Oct 25, 2015 12:15 pm

Re: Slow Community Server (Docker)

Postby AnaMih » Tue Oct 27, 2015 11:42 am

You can make the following:
Open the file /var/www/onlyoffice/WebStudio/web.appsettings.config
Find the lines with the external links in "value". After applying changes restart monoserve.
User avatar
AnaMih
 
Posts: 264
Joined: Mon Aug 25, 2014 10:15 am

Re: Slow Community Server (Docker)

Postby mrman » Fri Oct 30, 2015 12:35 pm

Hi,

I've removed all external links and the URL is still there...
mrman
 
Posts: 52
Joined: Sun Oct 25, 2015 12:15 pm

Re: Slow Community Server (Docker)

Postby AnaMih » Tue Nov 03, 2015 2:01 pm

Delete the url also, please.
User avatar
AnaMih
 
Posts: 264
Joined: Mon Aug 25, 2014 10:15 am

Re: Slow Community Server (Docker)

Postby mrman » Wed Nov 04, 2015 9:50 pm

I have search the file and it doesn't exist anywhere... I assume it's been hardcoded.
mrman
 
Posts: 52
Joined: Sun Oct 25, 2015 12:15 pm

Re: Slow Community Server (Docker)

Postby AnaMih » Sat Nov 07, 2015 1:56 pm

Please, make sure that the file "The web.appsettings.config" inside the Docker container has been changed (not the file on your host machine).
You should attach to a docker container and edit the file.
User avatar
AnaMih
 
Posts: 264
Joined: Mon Aug 25, 2014 10:15 am

Re: Slow Community Server (Docker)

Postby mrman » Wed Nov 11, 2015 2:40 am

This is the content of the file:

<?xml version="1.0" encoding="utf-8"?>
<appSettings>
<clear />
<add key="core.base-domain" value="localhost" />
<add key="core.machinekey" value="Vskoproizvolny Salt par Chivreski" />
<add key="core.notify.postman" value="service" />
<add key="core.notify.autoreplyhost" value="localhost" />
<add key="core.payment-region" value="test" />
<add key="core.payment-partners" value="https://partners.teamlab.info/api" />
<add key="web.hide-settings" value="StudioSmsNotificationSettings,VersionSettings,Monitoring,AdministrationPage,WhiteLabel,PublicPortal,MailPrint,Backup,Restore,LdapSettings,LoginHistory,AuditTrail,SingleSignOnSettings" />
<add key="web.cultures" value="en-US,fr-FR,de-DE,es-ES,en-GB,ru-RU,lv-LV,pt-BR,pt-PT,it-IT,tr-TR,el-GR,zh-CN,pl-PL,cs-CZ,uk-UA,vi-VN,fi-FI,az-Latn-AZ,ko-KR,ja-JP,sl-SI" />
<add key="web.display.mobapps.banner" value="files" />
<add key="web.client.bundling" value="true" />
<add key="web.client.store" value="true" />
<add key="web.client.cache.resetkey" value="8.6.0.24" />
<add key="web.transfering.errorstatus-regex" value="/products/files/httphandlers/filehandler\.ashx|/products/files/services/wcfservice/service\.svc" />
<add key="web.portal.test-data" value="false" />
<add key="web.teamlab-site" value="http://www.onlyoffice.com" />
<add key="web.user-forum" value="http://cloud.onlyoffice.org" />
<add key="web.support-feedback" value="http://feedback.onlyoffice.com" />
<add key="web.chat" value="false" />
<!-- XHR type: flash, noflash (with http proxy) or handler (with http-poll handler) -->
<add key="RequestTransportType" value="handler" />
<!-- file uploader type: flash or noflash -->
<add key="FileTransportType" value="noflash" />
<add key="BoshPath" value="http://localhost:5280/http-poll/" />
<add key="web.uservoice" value="" />
<!--IE <= 6, FF<= 3, Safary <=4, Chrome <= 9, Opera <=10 -->
<add key="web.browser-not-supported" value=".*((MSIE\s+(?!(7|8|9|10|11|12|13|14|15)))|(Firefox/(1|2|3)\.)|(AppleWebKit.*?Version[/ ](1|2|3|4)\.)|(AppleWebKit.*?Chrome[/ ](1|2|3|4|5|6|7|8|9)\.)|(Opera.*Version[/ ](?!(10|11|12|13)))).*|^(?!.*MSIE)(?!.*Firefox)(?!.*Safari)(?!.*Opera)(?!.*Trident.*rv:11.0)(?!.*facebookexternalhit).+" />
<add key="api.url" value="~/api/2.0/" />
<add key="web.notenant-url" value="http://www.onlyoffice.com/wrongportalname.aspx" />
<add key="web.import-contacts-url" value="https://service.teamlab.com/import7/import-contacts/importframe.aspx" />
<add key="mobile.urlregex" value="^((?!((/skins/)|(/login\.ashx)|(/wizard\.aspx)|(/confirm\.aspx)|(/api/)|(\.js$)|(/mobile/)|(/products/files/doceditor\.aspx)|(.*/clientscript/.*)|(.*/bundle/.*)|(/products/files/httphandlers/filehandler\.ashx)|(/products/files/services/wcfservice/service\.svc/))).)*$" />
<add key="mobile.regex" value="android|avantgo|playbook|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino" />
<add key="files.thirdparty.enable" value="boxnet,dropbox,google,skydrive,webdav,yandex" />
<add key="files.viewed-images" value=".bmp|.gif|.jpeg|.jpg|.png|.ico" />
<add key="files.uploader.url" value="products/files/" />
<add key="files.uploader.chunk-size" value="5242880" />
<add key="files.docservice.viewed-docs" value=".pptx|.ppsx|.pptt|.ppt|.pps|.odp|.gslides|.xlsx|.xlst|.xls|.ods|.gsheet|.csv|.docx|.doct|.doc|.odt|.gdoc|.txt|.rtf|.mht|.html|.htm|.fb2|.epub" />
<add key="files.docservice.edited-docs" value=".pptx|.ppsx|.pptt|.ppt|.pps|.odp|.xlsx|.xlst|.xls|.ods|.csv|.docx|.doct|.doc|.odt|.txt|.rtf|.mht|.html|.htm|.fb2|.epub" />
<add key="files.docservice.convert-docs" value=".ppt|.pps|.odp|.xls|.ods|.doc|.odt|.rtf|.mht|.html|.htm|.fb2" />
<add key="files.docservice.coauthor-docs" value=".pptx|.pptt|.xlsx|.xlst|.docx|.doct" />
<add key="files.docservice.url.converter" value="" />
<add key="files.docservice.url.api" value="" />
<add key="files.docservice.url.storage" value="" />
<add key="files.docservice.url.command" value="" />
<add key="resources.from-db" value="true" />
<add key="mail.googleOAuth" value="false" />
<add key="mail.download-handler-url" value="/addons/mail/httphandlers/download.ashx?attachid={0}" />
<add key="mail.download-all-handler-url" value="/addons/mail/httphandlers/downloadall.ashx?messageid={0}" />
<add key="mail.view-document-handler-url" value="/addons/mail/httphandlers/viewdocument.ashx?attachid={0}" />
<add key="mail.edit-document-handler-url" value="/addons/mail/httphandlers/editdocument.ashx?attachid={0}" />
<add key="mail.attachments-group-operations" value="false" />
<add key="mail.count-get-first-query" value="3000" />
<add key="mail.count-get-query-interval" value="30000" />
<add key="mail.count-get-query-enable-interval" value="false" />
<add key="mail.server.txt-record-name" value="@" />
<add key="mail.server.spf-record-value" value="v=spf1 +mx ~all" />
<add key="mail.server.mx-record-priority" value="0" />
<add key="mail.server-mailbox-limit-per-user" value="2" />
<add key="mail.server-dkim-selector" value="dkim" />
<add key="mail.server-dns-check-prefix" value="onlyoffice-domain" />
<add key="mail.send-tcp-timeout" value="30000" />
<add key="mail.recieve-tcp-timeout" value="30000" />
<add key="mail.certificate-permit" value="false" />
<add key="mail.no-imap-send-sync-servers" value="imap.googlemail.com|imap.gmail.com" />
<add key="messaging.enabled" value="true" />
<add key="messaging.secret-ips" value="" />
<add key="ipsecurity.enabled" value="true" />
<add key="voip.enabled" value="false" />
<add key="monitoring.log-folder" value="..\Logs\,..\Mail\Aggregator\logs\,..\Mail\Watchdog\logs\" />
<add key="monitoring.service-names" value="OnlyOfficeJabber,OnlyOfficeNotify,OnlyOfficeIndex,OnlyOfficeFeed,OnlyOfficeSignalR,OnlyOfficeMail,OnlyOfficeMailWatchdog" />
<add key="aspnet:MaxHttpCollectionKeys" value="5000" />
<add key="version.number" value="8.6.0.24" />
<add key="saml.request.certificate.password" value="password" />
<add key="web.install-url" value="http://service.teamlab.com/install/email.ashx?v=8" />
<add key="web.client.cache" value="true" />
<add key="web.warmup.type" value="basic" />
<add key="resources.cache-timeout" value="0" />
</appSettings>
mrman
 
Posts: 52
Joined: Sun Oct 25, 2015 12:15 pm

Re: Slow Community Server (Docker)

Postby AnaMih » Thu Nov 12, 2015 4:21 pm

Please remove the value "https://partners.teamlab.info/api"
in the string <add key="core.payment-partners" value="https://partners.teamlab.info/api" />
and restart service monocerve in Docker container with Community Server.
If it doesn't help please analyze the external connections that cause delays (in browser console for example).
User avatar
AnaMih
 
Posts: 264
Joined: Mon Aug 25, 2014 10:15 am


Return to Miscellaneous

Who is online

Users browsing this forum: No registered users and 1 guest