var created_match : NakamaRTAPI.Match = yield(socket.create_match_async(), “completed”)
if created_match.is_exception():
print(“An error occured: %s” % created_match)
return
print(“New match with id %s.”, created_match.match_id)
@darvin7531 can you run the server with DEBUG level logs enabled (use --logger.level DEBUG) and let me know if you see any specific error messages in the logs related to the logic to create the multiplayer match?
@Ayush-Agarwal123 I’m not very familiar with mobile development but, as far as I know, if an app is put in the background the sockets may be closed by the OS, your app needs to be able to handle this scenario.