Thread: Can't login to localhost when I have no internet.

Results 1 to 8 of 8
  1. #1 Can't login to localhost when I have no internet. 
    EXALTED

    Join Date
    Nov 2012
    Posts
    393
    Thanks given
    35
    Thanks received
    33
    Rep Power
    5
    When I'm not connected to the internet (and connecting to localhost with client) I'm unable to login to my server. It loads and connects but once I press the login button it'll crash the client and output this error in the client console:

    Code:
    Error: sy.c() client.er() client.ae() mc.m() mc.e() | Class460.method5980:380 client.method2806:2807 
    
    client.method2773:608 Class291.method2764:534 Class291.method2759:375 Class291.run:323 
    
    java.lang.Thread.run | java.lang.NullPointerException |  0,0,104,104 0,8,8 1 0 2 765,503 0 0 0 0 0 0 
    
    248 4 8079 hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx
    java.net.ConnectException: Connection refused: connect
    error_game_crash
    	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    	at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    	at java.net.PlainSocketImpl.connect(Unknown Source)
    	at java.net.SocksSocketImpl.connect(Unknown Source)
    	at java.net.Socket.connect(Unknown Source)
    	at java.net.Socket.connect(Unknown Source)
    	at sun.net.NetworkClient.doConnect(Unknown Source)
    	at sun.net.www.http.HttpClient.openServer(Unknown Source)
    	at sun.net.www.http.HttpClient.openServer(Unknown Source)
    	at sun.net.www.http.HttpClient.<init>(Unknown Source)
    	at sun.net.www.http.HttpClient.New(Unknown Source)
    	at sun.net.www.http.HttpClient.New(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    	at java.net.URL.openStream(Unknown Source)
    	at IPAddress.method6062(IPAddress.java:127)
    	at Class291.run(Class291.java:327)
    	at java.lang.Thread.run(Unknown Source)
    There are no errors server side and everything works perfectly when I am connected to the internet. I was trying to google this like a madman with my phone last night but the only results I got was cache is broken and that's clearly not the case, however perhaps it's unable to load the cache for some reason when there is no internet? I'm not sure. This is on a 718L742 server, any help would be appreciated.
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    May 2016
    Posts
    83
    Thanks given
    18
    Thanks received
    14
    Rep Power
    3
    I've always figured that since you needed to open a port to locally host a server that you couldn't connect to the server if you weren't connected to the internet.

    Could be completely wrong, but id assume that you've checked all the IP's to make sure they're set to be local?
    Reply With Quote  
     

  3. #3  
    EXALTED

    Join Date
    Nov 2012
    Posts
    393
    Thanks given
    35
    Thanks received
    33
    Rep Power
    5
    Yes, they're all set to local
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Apr 2016
    Posts
    54
    Thanks given
    0
    Thanks received
    3
    Rep Power
    0
    what source?

    This matters because in some sources there is actually a ip adress in settings.java, along with an ip adress in the loader.java (718)
    #1 pre-eoc rsps pking commentary, please watch!
    Reply With Quote  
     

  5. #5  
    EXALTED

    Join Date
    Nov 2012
    Posts
    393
    Thanks given
    35
    Thanks received
    33
    Rep Power
    5
    Quote Originally Posted by scimitar2 View Post
    what source?

    This matters because in some sources there is actually a ip adress in settings.java, along with an ip adress in the loader.java (718)
    Like I've mentioned in my OP, I connect but it crashes when I try to login. The ips both server sided and client sided have been checked, there are no issues regarding them.
    Reply With Quote  
     

  6. #6  
    Donator

    Join Date
    May 2016
    Posts
    83
    Thanks given
    18
    Thanks received
    14
    Rep Power
    3
    does your source have antileeches that are preventing you from passing the login screen?
    I recall a source i used one time that had set it so that you could log but you would be instantly kicked out after logging in.
    So once again like scimitar asked what source?
    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Apr 2016
    Posts
    220
    Thanks given
    123
    Thanks received
    79
    Rep Power
    0
    IPAddress.java tries to get your ip / something and it isnt caugh in exception so it crashes
    try adding try catch exception
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Apr 2016
    Posts
    54
    Thanks given
    0
    Thanks received
    3
    Rep Power
    0
    Bro we need to know the source, some sources are different than others
    #1 pre-eoc rsps pking commentary, please watch!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Can't connect server to client?
    By TheCommunist in forum Help
    Replies: 1
    Last Post: 03-10-2016, 04:37 AM
  2. Replies: 6
    Last Post: 05-21-2014, 09:51 PM
  3. Replies: 6
    Last Post: 05-17-2013, 05:42 AM
  4. What happens when i have no ideas..
    By TurtleDesigns in forum Showcase
    Replies: 11
    Last Post: 03-29-2012, 08:16 PM
  5. Can't connect client to server on vps
    By Thock321 in forum Help
    Replies: 2
    Last Post: 03-03-2012, 06:05 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •