YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

MQTT: [Ubuntu IDE] GameMaker hangs loading the Start Page, due to "SocketException (97): Address family not supported by protocol" #2392

Open cybereality opened 11 months ago

cybereality commented 11 months ago

Description

I am using Ubuntu 23.10. I installed the GameMaker Beta GameMaker-Beta-2023.1100.0.450.deb. It appeared to install correctly, but when I open the IDE app, it hangs forever on the Start Page and requires a force quit. I have waited several minutes and nothing ever loads.

GameMaker_Ubuntu_Hang

The ui.log contains lots of this error repeated:

[21:39:34:438(46e7)] MQTT - System.AggregateException: One or more errors occurred. (Address family not supported by protocol)
 ---> System.Net.Sockets.SocketException (97): Address family not supported by protocol
   at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
   at MQTTnet.Implementations.CrossPlatformSocket..ctor(AddressFamily addressFamily)
   at MQTTnet.Implementations.MqttTcpServerListener.Start(Boolean treatErrorsAsWarning, CancellationToken cancellationToken)
   at MQTTnet.Implementations.MqttTcpServerAdapter.RegisterListeners(MqttServerTcpEndpointBaseOptions options, X509Certificate2 tlsCertificate, CancellationToken cancellationToken)
   at MQTTnet.Implementations.MqttTcpServerAdapter.StartAsync(IMqttServerOptions options)
   at MQTTnet.Server.MqttServer.StartAsync(IMqttServerOptions options)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at YoYoStudio.IDE.MqttInitialise()

Expected Change

The IDE Should Load Correctly

Steps To Reproduce

  1. Start GameMaker
  2. See the issue

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

Beta (Please put the exact version number in your Description)

Which operating system(s) are you seeing the problem on?

Ubuntu 22 LTS

Are you running GameMaker from inside your Steam library?

No

Contact Us Package Attached?

Sample Project Added?

YYDan commented 11 months ago

Hello, I can see you have ticked the box, but not actually attached your ui.log or other files, so there's no info we have to investigate. To be clear, Ubuntu 23.10 is not officially supported, but we would need the logs in order to see what's going on here,

Can you attach your ui.log file from ./var/opt/GameMakerStudio2/ please?

cybereality commented 11 months ago

Thanks for the quick reply. Sadly that folder does not exist. I search and ended up finding the ui.log file in this folder: ~/.local/share/GameMakerStudio2-Beta. I've attached it. I took a quick look and I see 2 main errors. One, it is looking in that folder you said and not the actual location. But is seems the problem a network error. I have IPv6 disabled for security reasons, and it appears your system is requiring IPv6. Unless I am reading that wrong, but it certainly seems network related. Thanks. ui.zip

YYDan commented 11 months ago

Hehe, I forgot the "-Beta" bit was required for my message, but interesting to know yours now lives elsewhere anyway when using Ubuntu 23. Thanks for attaching the log - we can now see the errors also.

YYDan commented 11 months ago

FYI, we confirmed that Ubuntu 23 changes where all of GM's files are stored and so we just updated the permissions FAQ with the new info.