Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connecting problem on hosted shard.
Author Message
Baal
Apprentice
*

Posts: 24
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jul 2013
Reputation: 0



Post: #1
Connecting problem on hosted shard.
Hello,im working on Sphere shard 56b.
I can connect on local without problem,finally,i end the shard,and host it.
But when ill go to connect online hosted shard,the client (2.0.3) stuck on connecting after pick character.
Info:

Sphere 56b
Client 2.0.3
Using: Inection-and No Injection.

On console account x connected.
account x disconnected.

Thank you so much for the help!
11-23-2016 05:36 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #2
RE: Connecting problem on hosted shard.
Check this lines in Sphere.ini
Code:
// What client protocol version used
// Comment out the ClientVersion line to allow any client that is supported.
//ClientVersion=2.0.3

// Set this to 1 to allow login to encrypted clients
UseCrypt=1

// Set this to 1 to allow login to unencrypted clients
UseNoCrypt=1

Grandmaster Localhost Admin
11-23-2016 05:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Baal
Apprentice
*

Posts: 24
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jul 2013
Reputation: 0



Post: #3
RE: Connecting problem on hosted shard.
[quote='Kanibal' pid='24569' dateline='1479843787']
Check this lines in Sphere.ini
Code:
// What client protocol version used
// Comment out the ClientVersion line to allow any client that is supported.
//ClientVersion=2.0.3

// Set this to 1 to allow login to encrypted clients
UseCrypt=1

// Set this to 1 to allow login to unencrypted clients
UseNoCrypt=1
[code]



[/quote]
They are at 1 all.Still the same problem,thank you so much.

CONSOLE:

21:02:1a8:Client connected [Total:1] ('83.42.198.210' 1/1)
21:02:1a8:Login 'Admin'
21:02:1a8:Client disconnected [Total:0] ('83.42.198.210' 0/0)

And im using the same client used on local.
(This post was last modified: 11-23-2016 06:03 AM by Baal.)
11-23-2016 05:49 AM
Find all posts by this user Like Post Quote this message in a reply
eddiedean
Apprentice
*

Posts: 4
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2014
Reputation: 0



Post: #4
RE: Connecting problem on hosted shard.
I'm having the very same issue:

PHP Code:
15:36:0:Client connected [Total:1] ('95.122.XXX.XXX' 1/1)
15:36:0:Login 'EddieD'
15:36:0:Client disconnected [Total:0] ('95.122.XXX.XXX'

Tested on Windows (2008 and 2012) & Linux (Ubuntu and CentOS) servers, both without any firewall in place. I can login locally, but not if it is elsewhere. I've changed the local IP in sphere.ini with the public IP and downloaded latest prerelease. Also I've tried to compile the last version available in GitHub but I get this error:

PHP Code:
./makefileline 1SHELLcommand not found
./makefileline 5MARCHcommand not found
./makefileline 8MARCHcommand not found
./makefileline 8OPTDEFAULTcommand not found
./makefileline 9MARCHcommand not found
./makefileline 9COPTDEFAULTcommand not found
./makefileline 10OPTDEFAULTcommand not found
./makefileline 10OPTcommand not found
./makefileline 11COPTDEFAULTcommand not found
./makefileline 11COPTcommand not found
./makefileline 12WARNcommand not found
./makefileline 13CWARNcommand not found
./makefileline 15ifdefcommand not found
./makefileline 16DEBUGcommand not found
./makefileline 17syntax error near unexpected token `else'
./makefile: line 17: 
`else
Now I think that I might be missing something very obvious. Any help would be appreciated.

EDIT: Also used different clients (5.0.9.1 and 7.0.52.2)

Thanks a lot.
(This post was last modified: 01-15-2017 02:10 AM by eddiedean.)
01-15-2017 02:00 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: Connecting problem on hosted shard.
if you're using any router on your PC, you must create proper port fowarding rules on your router
here you can test if sphere port is working fine on your server: http://www.canyouseeme.org/

if even with port fowarding rules properly set you still unable to connect, try using the command SERV.SERVIP=0.0.0.0 (insert your IP here)
PS: on servers with static IP, you can make this command run automatically at server startup, just add the command on sphere_serv_triggers.scp -> f_onserver_start
01-15-2017 06:36 PM
Find all posts by this user Like Post Quote this message in a reply
eddiedean
Apprentice
*

Posts: 4
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2014
Reputation: 0



Post: #6
RE: Connecting problem on hosted shard.
(01-15-2017 06:36 PM)Coruja Wrote:  if even with port fowarding rules properly set you still unable to connect, try using the command SERV.SERVIP=0.0.0.0 (insert your IP here)
PS: on servers with static IP, you can make this command run automatically at server startup, just add the command on sphere_serv_triggers.scp -> f_onserver_start

This solved my issue. Thanks a lot Coruja Big Grin
01-15-2017 09:57 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)