Closed Asiapay-iraq closed 3 months ago
@Asiapay-iraq Start by updating to the latest Nakama release as there have been many fixes and improvements since the 3.15.0 you're using.
If that still causes you issues it would help to see more complete logs. What you've shared is too little to draw conclusions from.
@Asiapay-iraq Start by updating to the latest Nakama release as there have been many fixes and improvements since the 3.15.0 you're using.
If that still causes you issues it would help to see more complete logs. What you've shared is too little to draw conclusions from.
Dear, i did as you recommended , i updated the nakama version to 3.21 but i still face the same issue as before, the nakama service stoped this morning again
here is the full server log
one more thing i suspect causing the issue is, i have written a custom query in lua to fetch some random rows from the database so the user can send them friend requests
might that cause the problem ????
@Asiapay-iraq You can try using the nk.users_get_random(...)
function instead of your own custom query if you want to be sure.
Your updated screenshots also do not look like complete server logs at all, just a fragment of a goroutine dump. We can't try to help unless you share complete logs, and please use a text format even attach text files if needed. Screenshots of code or logs are hard to use.
@Asiapay-iraq You can try using the
nk.users_get_random(...)
function instead of your own custom query if you want to be sure.Your updated screenshots also do not look like complete server logs at all, just a fragment of a goroutine dump. We can't try to help unless you share complete logs, and please use a text format even attach text files if needed. Screenshots of code or logs are hard to use.
It happened again today around 5:34 and i restarted it in 6:01, i also stress tested the random RPC by sending 1000 calls in around 2 minutes but didn't cause the server to terminate
i attached the server logs for 15/5/2024 log.txt
Your log doesn't show anything useful, and also doesn't seem to contain anything that's in your screenshots.
At this point it's looking like it's an issue with your setup or server environment, which I'm not sure we can help debug since we don't control or have any insight into it.
We found the issue, it was a problem with the lua code metadata = { } should be local metadata = { } and that fixed the issue.
Hi, i have a unity game i created using nakama, the game uses relayed matchmaker and for some custom server code i used lua, but recently the server keeps stoping since now i have a lot of users.
i think this issue has to do with my lua code but i can't find where.
some additional info:
error after server termination
server code includes only one lua file
some nakama configuration