Problems with server

Hi. When I start the server and see this errors I know half of the esx resources would not work properly like addoninventory (get or deposit items)
errors:

Authenticated with cfx.re Nucleus: https://trolex-wql696.cfx.re/
[ERROR] connect ETIMEDOUT
[ERROR] [MySQL] [esx_advanced_truck_inventory] An error happens on MySQL for query "DELETE FROM `truck_inventory` WHERE `owned` = 0 OR `count` = 0": connect ETIMEDOUT
[ERROR] [MySQL] [esx_inventoryhud_trunk] An error happens on MySQL for query "SELECT * FROM trunk_inventory": Handshake inactivity timeout
[ERROR] [MySQL] [esx_inventoryhud_trunk] An error happens on MySQL for query "DELETE FROM `trunk_inventory` WHERE `owned` = 0": Handshake inactivity timeout
Error calling system tick function in resource mysql-async: AssertionError [ERR_ASSERTION]: unexpected PromiseRejectEvent
stack:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[ERROR] [MySQL] [esx_jb_eden_garage2] An error happens on MySQL for query "UPDATE owned_vehicles SET state=true WHERE state=false": Handshake inactivity timeout
[ERROR] [MySQL] [esx_addoninventory] An error happens on MySQL for query "SELECT * FROM items": Handshake inactivity timeout
[ERROR] [MySQL] [esx_addonaccount] An error happens on MySQL for query "SELECT * FROM addon_account": Handshake inactivity timeout
[ERROR] [MySQL] [esx_coffee] An error happens on MySQL for query "SELECT * FROM items": Handshake inactivity timeout
[ERROR] [MySQL] [esx_weaponshop] An error happens on MySQL for query "SELECT * FROM weashops": Handshake inactivity timeout
[ERROR] [MySQL] [esx_vehicleshop] An error happens on MySQL for query "SELECT * FROM vehicle_categories": Handshake inactivity timeout
SCRIPT ERROR: @esx_inventoryhud_trunk/server/trunk.lua:21: attempt to get length of a nil value (local 'result')
SCRIPT ERROR: @esx_coffee/server/main.lua:13: attempt to get length of a nil value (local 'result')
> ref (@esx_coffee/server/main.lua:13)
> setImmediate (@mysql-async/mysql-async.js:14898)
SCRIPT ERROR: @esx_addoninventory/server/main.lua:14: attempt to get length of a nil value (local 'items')
SCRIPT ERROR: @esx_addonaccount/server/main.lua:12: attempt to get length of a nil value (local 'result')
server thread hitch warning: timer interval of 151 milliseconds
SCRIPT ERROR: @esx_vehicleshop/server/main.lua:33: attempt to get length of a nil value (upvalue 'Categories')
> fn (@mysql-async/lib/MySQL.lua:194)
SCRIPT ERROR: @esx_society/server/main.lua:27: attempt to index a nil value (field '?')
> fn (@mysql-async/lib/MySQL.lua:194)

My server.cfg:

add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_principal allow
add_ace resource.essentialmode command.add_ace allow

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start ■■■■■■■


start mysql-async
start essentialmode
start esplugin_mysql


start esx_menu_default
start esx_menu_list
start esx_menu_dialog
####phone#####
start vdk_call
start esx_addons_gcphone
start gcphone


start esx_scoreboard

### ESSENTIAL ####
start es_extended
start es_ui
start es_admin2
###start staff

#### Basics ####
start baseevents
start chat-theme-gtao 
start chat-theme-civlifechat

#### ESX ####
start esx_addonaccount
start esx_addoninventory
start esx_datastore
start esx_marker
start esx_society
start esx_identity
start esx_ambulancejob
start esx_animations
start esx_barbershop
start esx_drugeffect
start esx_billing
start esx_carwash
start esx_clotheshop
start esx_deliveryjob
start esx_drugs
start esx_moneywash
start ft_libs
###start esx_realweapons
start esx_jb_eden_garage2
start esx_weaponshop
start esx_legacyfuel
start esx_holdup
start esx_tattooshop
start esx_joblisting
start eden_accesories
start esx_jobs
start esx_license
#start esx_gouvernor
start esx_lscustom
start esx_mask
start esx_mecanojob
start esx_hunting
start esx_policejob
start esx_property
start esx_service
start esx_shops
start esx_unishow
###start esx-kr-advanced-shops
start esx_skin
start esx_vehicleshop
start esx_taxi
start esx_voice
start esx_brinksjob
start esx_gopostal
#start esx_holdupbank
start esx_airlines
start esx_optionalneeds
###start esx_realestateagentjob
start esx_mafia
start esx_coffee
start esx_securityjob
start esx_clip
start esx_lsd
start esx_rpchat
start esx_bishops
start esx_litter
###start esx_dismay
start esx_grove
start esx_ammupzr
start esx_vagos
start esx_ballas
start esx_pare
start esx_cigarette
start esx_jail
start esx_armour
start esx_damage
start esx_criminalrecords
start esx_ktackle
start esx_poolcleaner
start esx_diving
start esx_scratchoffs
###start new_banking
start esx_spectate
start esx_atm	
start esx_inventoryhud
start esx_inventoryhud_trunk
start esx_advanced_truck_inventory
start esx_carshowroom
start esx_stikla
###start esx_bikerjob
###start esx_fib
start esx_hide_hud
###start esx_cartel
start esx_krvehiclepush
start esx_zlatara
start esx_3dme
start esx_blanchisseur
start esx_blanchisseur2
start esx-qalle-sellvehicles
start policijska_modovana
start esx_GetOut
###start esx_jb_stopvehicledespawn
###start handling_mod

start esx_basicneeds
start esx_status

start esx_accessories
start esx_burglary
start esx-ecobottles
start esx_SodaMachine
start civ-pull-out
start esx_garbagecrew
start esx_propertymotels
start esx_speedradar
start mapping_speedradar

#### Other Addons ####
start bob74_ipl
start instance
start PvP
start TLG-ADS
start skinchanger
start VK_main
start RadarWhileDriving
start weaponry
start handsup
start DiscordBot
start custom-maps
start blackmarket
start marijuana_prerada
start preradakoka
start preradameth
start preradaopium
start phxlsmc
start prodajakoka
start prodajamarihuana
start prodajameth
start prodajaopium
start methprerada
start glavniparking
start crouch
start knockout
start lux_vehcontrol
start salty_vehicleblackout
start pointing
start vehcontrol
start pdlock
start pNotify
start InteractSound
start cron
start RealisticVehicleFailure
start npccontrol
start vSync
start ziv-loadscreen
start afkkick
start watermark
start discord
start solokick

start SexySpeedometer-FiveM-master
start InteractSoundS
start seatbelt
start stasiek_selldrugs-master
start PoliceVehiclesWeaponDeleter
start nonpcdrop
start qalle_coords
start burglary
start LockSystem3.1
start pingkick
start motelymap


#start DumpsterDiving

## [Cars] ##
start Mercedes65amg
start bmwl7
start Mercedec63
start Buggati
start lambopoliciija
start Policijaporshe
start Porsche
start audi_a4
start m5e60
start brabus
start BMWS1000RR
start BmwX6
start hamvi
start m3e30
start m3e36
start undercover
start marine
start pres2
start president
start AUDISQ7
start BMWM4LB
start AUDIS8
start ArmoredExpressCIT
start udzip
start Benzc250
start Audi_A8D
start audi_a6
start Mercedess600
start audi_r8
start Lexuspd
start audi_rs3
start mk1rabbit
start audi_rs7
start audi_s3
start audi_s5
start bmw_750li
start bmw_e36
start bmw_i8
start maseratip
start mclarenPD
start BEARCAT
start MustangPD
start renolpolice
start bmw_m3e92
start bmw_m3f80
start bmw_m4f82
start predsjednik
start bmw_m5e39
start bmw_m5f90
start HONDAVARIO
start bmw_m6f13
start Lykan1
start bmw_m760i
start dodge_challenger
start ferrari_250gt
start ford_mustang
start AUDIA4
start taxi
start mclaren_p1
start mclaren_senna
start mercedes_a45
start mercedes_cls63
start mercedes_e63
start mercedes_g6x6
start mercedes_g65
start mercedes_gleamg
start mercedes_s500
start nissan_gtr
start nissan_skyline
start porsche_911cabrio
start porsche_cayennes
start tesla_pd
start toyota_chr
start volkswagen_amarok
start volkswagen_golf7r
start volkswagen_passat
start policet
start volkswagen_passatkaravan
start Alfa_Romeo_1966
start BMW_E34_M5
start BMW_M6_E24
start Chevrolet_Camaro_1970
start Ford_1976
start Maserati_3500_GT
start yugo
start Panamera

## Nova auta ##
start 1997Mercedes55AMG
start 2001DaewooLeganza
start 2018BMW440iXDrive
start 2018Mercedes-Benz X-Class
start DaewooLanos2000
start BMWM3E46CSL
start MazdaRX7
start Mercedes-Benz 500E
start Mercedes-Benz600
start Mercedes-Benz500E
start Mercedes-BenzE420
start Mercedes-BenzS600
start Mercedes-BenzMLBrabus2009
start OpelAstra
start Nissan300ZXZ32
## End of [Cars] ##


##CASINO_MOD##

start program-casino
start program-blackjack
start slotmachine_1
##PROPS##
start cassino_props

##INTERIORES##

start vwdlc_int_01
start vwdlc_int_02
start simpletp-bySimpleX

##EXTERIOR##

start ch3_additions
start ch3_04
start ch3_08
start ch3_12
start ch3_lod
start ch3_occl
start ch3_rd1a
start cityhills_03
start cityhills_03_metadata
## Kraj ##

Can someone help me with this? Thank you.

1 Like

You are not starting the base

How do u mean? I am starting the base?

I am starting but I didn’t write this line here…

I recommend a search, you are having difficulty in the basics

Sounds like it’s not connecting to your MySQL database

1 Like

But other things are working and they are using MySQL to

Cool, but its timing out at some point.

This generally occours when it’s either not connecting, or failing to respond.

Also anything with esx, should be below es_extended…

I fixed everything now in struggling with solo sessions and weapons duplications in mafia inventory :slight_smile:

Here you go for fix ; [RELEASE] Auto-Kick Solo Session v5.0

Solo session its problem with fivem also can be problem if your host connection is bad…

Hey Tinky yea I have this but still, when arbitrator goes down players lose their vehicle sometimes :slight_smile: Thank you for your help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.