BIMcloud / BIM Server becomes inaccessible from Archicad when the display goes to sleep mode on the computer where BIMcloud / BIM Server is installed. Archicad users may experience the following error messages in Teamwork:
"Unsuccessful Teamwork operation! Connection to server failed!"
"The selected server does not provide BIM Portal Services."
"Error occurred during the last Teamwork operation! Connection to server failed!"
In the affected versions, Timer Coalescing can prevent the operations of BIMcloud / BIM Server in the above situation.
Disable Timer Coalescing in macOS on the computer where BIMcloud / BIM Server is installed.
Run the Terminal application: /Applications/Utilities/Terminal.app
Copy and paste the following string into Terminal: sudo sysctl -w kern.timer.coalescing_enabled=0
Hit Enter/Return. Note that to execute a sudo command in Terminal, you must be logged in with an administrator account that has a password. After you enter the command, Terminal asks you to enter your password and it does not show your password you type it.
After a computer restart the Timer Coalescing setting resets to the default setting automatically, so the above Terminal command has to be executed after every computer restart!
Modify the BIMcloud / BIM Server Manager's configuration settings:
Copy the BIMcloud / BIM Server Manager's configuration file to the desktop (+ make sure to create a backup copy from the file).
BIM Server: /Applications/GRAPHISOFT/BIM Server <version>/BIMcloud Manager/Config/PortalServer.config.xml
Right click on the PortalServer.config.xml file on the desktop, and select Get Info.
In the Info dialog, under the General tab, uncheck the Locked checkbox, then close the Info dialog.
Run TextEdit and open the TexEdit > Preferences dialog. Make sure to uncheck the Smart copy/paste and Smart quotes options in the dialog. This will prevent TextEdit to automatically modify the quotation marks in the next steps. Close the Preferences dialog.
Open the PortalServer.config.xml from the desktop in TextEdit.
After the <Server /> entry, type the following line (do NOT copy+paste the text from here, because the quotation marks might be re-formatted!): <FrontendProxy maxLatency="10000" />
Beware, because the quotation mark characters might be re-formatted by your text editor! Because of the wrong format the BIM Server will not start! In that case replace the config file with your backup config file and restart the BIMcloud / BIM Server Manager.
Save the file.
Right click on the file and select Get Info, check the Locked checkbox then close the Info dialog.
Copy the PortalServer.config.xml to its original location and overwrite the original file.