It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Asstrole: I had this issue manifest on a fresh install of Windows. Had never seen it before. Tried a battery of things including running the GOG service automatically etc. For some reason that service gets closed directly after login while using Remote Desktop. No luck on anything I tried. However, I then physically logged into the computer and it went away. I had been using Remote Desktop from my laptop to setup the workstation's software installs. So, don't use remote desktop until after GOG is loaded (then it is fine). This is repeatable. I doubt this helps very many people since it's such a specific manifestation of the problem. But, perhaps someone out there is dealing with this specific instance. GL
YES that worked for me, thank you
On macOS Sonoma, I had this annoying error. GOG Galaxy starts up fine, but after a little while: "GOG Galaxy - Error / Connection blablabla / Galaxy will now shutdown" (modal window)

Running /Users/Shared/GOG.com/Galaxy/redists/GalaxyCommunication in a terminal beforehand will help, but that's a bad way to solve the problem. Seems just sloppy programming.
Post edited March 09, 2024 by bmeerdink
avatar
Asstrole: I had this issue manifest on a fresh install of Windows. Had never seen it before. Tried a battery of things including running the GOG service automatically etc. For some reason that service gets closed directly after login while using Remote Desktop. No luck on anything I tried. However, I then physically logged into the computer and it went away. I had been using Remote Desktop from my laptop to setup the workstation's software installs. So, don't use remote desktop until after GOG is loaded (then it is fine). This is repeatable. I doubt this helps very many people since it's such a specific manifestation of the problem. But, perhaps someone out there is dealing with this specific instance. GL
avatar
eriave: YES that worked for me, thank you
LoL same situation, remote desktop and this error occurs, not yet a work around?

P.D I've to open parsec and then Remote Desktop, so I confirm, it's something with remote desktop
Post edited March 22, 2024 by XiaoLux
avatar
bmeerdink: On macOS Sonoma, I had this annoying error. GOG Galaxy starts up fine, but after a little while: "GOG Galaxy - Error / Connection blablabla / Galaxy will now shutdown" (modal window)

Running /Users/Shared/GOG.com/Galaxy/redists/GalaxyCommunication in a terminal beforehand will help, but that's a bad way to solve the problem. Seems just sloppy programming.
above didn't work for me
this did https://www.gog.com/forum/general_beta_gog_galaxy_2.0/connection_to_communication_service_was_lost_and_could_not_be_restored_gog_galaxy_will_now_shutdown_/post101
avatar
bmeerdink: On macOS Sonoma, I had this annoying error. GOG Galaxy starts up fine, but after a little while: "GOG Galaxy - Error / Connection blablabla / Galaxy will now shutdown" (modal window)

Running /Users/Shared/GOG.com/Galaxy/redists/GalaxyCommunication in a terminal beforehand will help, but that's a bad way to solve the problem. Seems just sloppy programming.
Thank you! That helped.

Additional detail.
Start in terminal first and see if it the process is not quitting.

1st time I run, it worked about 30 seconds and shutdown.
2nd time it shutdown in 5 second.
3rd time - started the GalaxyCommunication and right after (till GalaxyCommunication is up and running) it launched the GOG Galaxy.

I spent a lot of time trying to bypass the problem.
Post edited June 21, 2024 by elcrabbi
macOS Ventura 13.6.7
Apple M1

I tested @bmeerdink's suggestion on my system, and was successful in getting GOG Galaxy to run.

Here's what I found:
The 'GalaxyCommunication' program will exit after about 30 seconds when nothing is connected to it, but will run indefinitely while a connection is established.
The 'GOG Galaxy' program takes several seconds to start up before attempting to connect to 'GalaxyCommunication'. The amount of time varies, but on my system it's somewhere around 10 seconds.

Taking the above information into account (with some trial and error) I wrote a bash script to launch and synchronize the two programs:
$ cat /Applications/gogGalaxyLauncher.app/Contents/MacOS/gog_galaxy_launcher.sh
---
#!/bin/bash

open /Applications/GOG\ Galaxy.app &
sleep 10
/Users/Shared/GOG.com/Galaxy/redists/GalaxyCommunication &

---
You may need to adjust the 'sleep 10' amount (I use 10 seconds) if GOG Galaxy is slower to start on your system.

I made the script executable (current user only) using the 'chmod' command in a terminal:
$ chmod u+x /Applications/gogGalaxyLauncher.app/Contents/MacOS/gog_galaxy_launcher.sh

And packaged it as a macOS app:
$ tree /Applications/gogGalaxyLauncher.app
---
/Applications/gogGalaxyLauncher.app
└── Contents
.......├── MacOS
.......|.......└── gog_galaxy_launcher.sh
.......├── Resources
.......│......└── AppIcon.icns
.......└── info.plist

4 directories, 3 files
---

Here is the info.plist file I used:
$ cat /Applications/gogGalaxyLauncher.app/Contents/info.plist
---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>gog_galaxy_launcher.sh</string>
<key>CFBundleIconFile</key>
<string>AppIcon.icns</string>
</dict>
</plist>
---

For more information on creating macOS apps from shell scripts, you can search stackoverflow with this search term (keep the quotes): "Converting a Shell Script Into a .app File"

You can also run the script by itself if you don't want to construct an entire macOS app, or even just run the commands in a terminal like so:
---
open /Applications/GOG\ Galaxy.app &
sleep 10
/Users/Shared/GOG.com/Galaxy/redists/GalaxyCommunication &
---

When GOG Galaxy is closed, it will terminate its connection to GalaxyCommunication, and about 30 seconds later GalaxyCommunication will exit, so nothing gets left running in the background unnecessarily.

Thanks @bmeerdink for identifying what GOG Galaxy was failing to establish a connection to, your solution works well for me.

Also, when I open the app as installed, the GalaxyCommunication program never runs at all, and I don't see anything in the GOG Galaxy logs indicating that an attempt has been made to open it ¯\_(ツ)_/¯

Note: I don't know if it's possible to format posts in this forum as code blocks or even just monospaced, so some of the formatting is a bit wonky, be cautious if you attempt to replicate what I've done, if you don't understand something do some searches until you find an explanation that makes sense to you. Thanks!

One other thing, for completeness: I have the "GOG Galaxy.app" and "GOG Sp. z o.o." entries enabled in my system settings (Settings -> General -> Login Items -> Allow in the Background). [update: I have since disabled these and the app still seems to run ok]

avatar
bmeerdink: On macOS Sonoma, I had this annoying error. GOG Galaxy starts up fine, but after a little while: "GOG Galaxy - Error / Connection blablabla / Galaxy will now shutdown" (modal window)

Running /Users/Shared/GOG.com/Galaxy/redists/GalaxyCommunication in a terminal beforehand will help, but that's a bad way to solve the problem. Seems just sloppy programming.
Post edited July 14, 2024 by my_gog_username