Jump to content
  • 0

showing emblem in 2 server i 1 client


AinsLord

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

so as per the title i have 2 servers in 1 client

im trying to show emblem in both servers

at 2021 client i made my externalsettings

like this 

AssistAddr = "My Server 1 IP:8888"
-----------------------------------------
-- Old client compatibility [Secret]
-- DON'T TOUCH ANYTHING BELOW
-----------------------------------------
Url = { TwitterUrl = 'http://'..AssistAddr }
AccountLinkedUserDataUrl = {
	Save = 'http://My Server 1 IP:8888/userconfig/save',
	Load = 'http://My Server 1 IP:8888/userconfig/load'
}
TwitterDataUrl = {
	Auth = 'http://My Server 1 IP:8888/twitter/user-auth',
	Upload = 'http://My Server 1 IP:8888/twitter/upload'
}
EmblemDataUrl = {
	Upload = 'http://My Server 1 IP:8888/emblem/upload',
	Download = 'http://My Server 1 IP:8888/emblem/download'
}
-- Change the "AssistAddr" to your IP
AssistAddr = "My Server 2 IP:8888"
-----------------------------------------
-- Old client compatibility [Secret]
-- DON'T TOUCH ANYTHING BELOW
-----------------------------------------
Url = { TwitterUrl = 'http://'..AssistAddr }
AccountLinkedUserDataUrl = {
	Save = 'http://My Server 2 IP:8888/userconfig/save',
	Load = 'http://My Server 2 IP:8888/userconfig/load'
}
TwitterDataUrl = {
	Auth = 'http://My Server 2 IP:8888/twitter/user-auth',
	Upload = 'http://My Server 2 IP:8888/twitter/upload'
}
EmblemDataUrl = {
	Upload = 'http://My Server 2 IP:8888/emblem/upload',
	Download = 'http://My Server 2 IP.204:8888/emblem/download'
}

and it works fine 2 server showing the emblem

but when i switched to 2022 client the settings above doesnt work anymore

it works only in the second server which only in IP of the server 2 

but in the IP of server 1 it doesnt work

i dont know what seems to be the problem

can anyone help me? thanks

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

Does both server runs on the same IP?

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

11 hours ago, Rynbef said:

Does both server runs on the same IP?

Rynbef~

no they are on a diff IPs

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

bump to my post

here is the warning i get in my 2nd server

Request with AID 2000000 and token 7d8528f31c87038a unverified
[POST /emblem/upload] 400

 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

That's tells u everything u want to know. The Client sends tokens for now and this is IP bounded. U could just fix it if u use the same IP or a proxy of the first IP for both server 

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

i dunno what happen after i made the translation for 2022 its not working

b4 that it is working fine 

ohh well thanks anyways 🙂

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

Maybe just use port 6901, 5122, 6122 as example for 2nd server.

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

On 8/11/2023 at 11:59 PM, Rynbef said:

Maybe just use port 6901, 5122, 6122 as example for 2nd server.

 

Rynbef~

i tried this on i have 2 emulator in 1 VM

changed the ports of the 2nd server to that ports

both server runs but both server cant change emblems

shows the same warning/error

 

Request with AID 2000000 and token 7d8528f31c87038a unverified
[POST /emblem/upload] 400
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

Do u run only one Webservices server on 8888? You should.

 

Rynbef~

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

16 hours ago, Rynbef said:

Do u run only one Webservices server on 8888? You should.

 

Rynbef~

yep i didnt change its port

btw i notice i works but you need to multiple time select the emblem b4 it will be uploaded

something like that like twice or trice then the emblem will be uploaded

thanks for all the help 🙂 very much appreciated

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...