7D7-Development

Results 9 comments of 7D7-Development

Same thing happening here. Looks to be something with the server-sided spawning, even after changing the callback that is being referred to as needed... which is not the latest qb-core...

In the config you refer to this: https://github.com/qbcore-framework/qb-core/blob/81ffd872319d2eb8e496c3b3faaf37e791912c84/server/events.lua#L252 If you go to the latest version of qb-core.... it looks like: https://github.com/qbcore-framework/qb-core/blob/7314e8453f5ad15eaf26b3b43b24e1aa6cb3adc8/server/events.lua#L271

After more testing, I found that the error would still occur at random, just not after every restart, as in the results before the change above. I added to the...

Did you change http to https and also copy paste the above changes? I haven't seen this message again after making these changes, on multiple servers.

> > Good to go brother. @GhzGarage > > I have still the error "Failed to retrieve real time from API.....etc" > > Why cant this problem not be solved?...

@ayvaniniyisi The intention is to use the API to get the time of the machine that the FiveM server is running on, then sync all clients to that time instead...

> I have still the same error in log "Failed to retrieve real time from API, falling back to local time". > > How can we solve this issue? I...

The fix is in the pull requests, just awaiting approval. You can manually make the changes that are shown here: https://github.com/qbcore-framework/qb-weathersync/pull/84/files