1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Date and time issues

Discussion in 'Help' started by NotAnExpert, May 2, 2020.

  1. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    so, i have just created a pocketmine 3.0.9 server. if i try to join, it gives me this error: logged
    out due to Invalid session. Reason: Token can't be used yet - check the server's date/time matches the client.
    i am using windows 7 64 bit to host this, php 7.3, pocketmine 3.0.9 and a few plugins. i am on the correct version of minecraft to join, connected to xbl, and have a good wifi connection. i would appreciate an answer.
    Thanks!
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Well is the time on your pc and phone correct?
     
  3. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    no they are not, but the time in my server.properties cant seem to set it to the right time as it is 1 hour behind. i am not sure if thats because of daylight savings or not. Do you think setting my tablet 1 hour behind and then making another server would solve the problem?
     
  4. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    i tried doing this it didnt work. :(
     
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Try manually setting timezone in the php.ini (located at server folder/bin/php/php.ini) to yours.
    You do this by adding the following line:
    Code:
    date.timezone = "your timezone here"
    
    See here for a list of php timezone names: https://www.php.net/manual/en/timezones.php

    For a temporary workaround, you can also try setting xbox-auth to false in server.properties.
     
  6. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    i have tried the xbox live thing, it didnt work:( ill try the other method
     
  7. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    it worked
     
  8. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Which one?
     
  9. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    the one you told me to manually change the timezone. thx!
     
    HimbeersaftLP likes this.
  10. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    No problem. I guess it has problems with automatically detecting it on Windows 7
     
  11. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    yea, windows 7 is a bit buggy but my favourite os!
     
  12. NotAnExpert

    NotAnExpert Silverfish

    Messages:
    21
    i tried it again, i realized that i disabled xbl not manually change. i tried it, but i guess im dumb cuz i cant find out how.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.