Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Can't connect to my server :-/ #22

Closed
Rouchesta opened this issue Mar 14, 2017 · 16 comments
Closed

Plugin Can't connect to my server :-/ #22

Rouchesta opened this issue Mar 14, 2017 · 16 comments

Comments

@Rouchesta
Copy link

Rouchesta commented Mar 14, 2017

Hi all,

I've a problem with the plugin.
It seems to not been connected.
See the result here : http://img4.hostingpics.net/pics/176006disconnected.png

Openaudio 2.0.3
Spigot 1.10.2

Message.yml
Description: This is the place to change the messges, host url and more :)
start-sound: http://MYDOMAIN/music/HighwayToHell.mp3
website-url: http://MYDOMAIN/?name=%name%&session=%session%
connect-message: '&9[&bOpenAudioMc&9] &3Click &ehere&3 to connect to our audio server!'
connected-message: '&9[&bOpenAudioMc&9] &3You are now &aConnected&3 our audio server!'
volume-set: '&9[&bVolume&9] &3Your volume has been set to &a%volume%&3%'
volume-error: '&9[&bVolume&9] &4Invalid arguments.'

Is there a port to open on my linux firewall ?

Thanks for your help.

@Mindgamesnl
Copy link
Owner

Hey, sad to see that it's not working for you.
Do you still get this problem after a restart? (not reload!)

@Rouchesta
Copy link
Author

After a lot of restart, no change :-/

@Mindgamesnl
Copy link
Owner

Hmn, lemme send you a super awesome and long troubleshooting

  • Do you get any errors?
  • What mc version are you using?
  • What openaudio version are you using? (and is it an official build)
  • Does you minecraft server say "socket.io connected" at some point
  • Can i have a url generated by /audio

Thx :-)

@Rouchesta
Copy link
Author

Rouchesta commented Mar 15, 2017

Thanks for the reply and help.

Do you get any errors?
[22:05:18] [Server thread/INFO]: Rouchesta issued server command: /audio
[22:05:18] [Server thread/WARN]: [AutoSaveWorld] Plugin OpenAudio attempted to establish connection http://api.craftmend.com/openaudio/getInfo.php?token=XymGJz8Hznlbcv9 in main server thread
[22:05:18] [Server thread/WARN]: [AutoSaveWorld] Plugin OpenAudio attempted to establish connection socket://api.craftmend.com:80 in main server thread

What mc version are you using? Spigot 1.10.2
What openaudio version are you using? (and is it an official build) 2.1 from official website.
Does you minecraft server say "socket.io connected" at some point. Yes check first question.
Can i have a url generated by /audio. http://MYDOMAIN/?name=Rouchesta&session=RaroXDZ9sRAs4Mx:ouvul

Thanks.
Have a good night ;-)

@Mindgamesnl
Copy link
Owner

Mindgamesnl commented Mar 17, 2017

Tanks but there is one question which you did not awnser :/

Do you get this message AFTERSTARTUP in console?

https://puu.sh/uMPrX/201dad781a.png

This error implies that your Minecraft-server did not login to our api server

(sorry that it took a while for me to awnser, stuff happend)

@Rouchesta
Copy link
Author

Rouchesta commented Mar 17, 2017

Thanks for the reply anyway ;-)

Here is the logs at startup :
Line 78: [10:39:02] [Server thread/INFO]: [OpenAudio] Loading OpenAudio v2.1
Line 78: [10:39:02] [Server thread/INFO]: [OpenAudio] Loading OpenAudio v2.1
Line 766: [10:39:30] [Server thread/INFO]: [OpenAudio] Enabling OpenAudio v2.1
Line 766: [10:39:30] [Server thread/INFO]: [OpenAudio] Enabling OpenAudio v2.1
Line 767: [10:39:30] [Server thread/INFO]: [OpenAudio] All dependencies are detected, regions will be enabled!
Line 768: [10:39:30] [Server thread/INFO]: [OpenAudio] Loading OpenAudioMc by Mindgamesnl/Me_is_mattyh
Line 768: [10:39:30] [Server thread/INFO]: [OpenAudio] Loading OpenAudioMc by Mindgamesnl/Me_is_mattyh

My audio.teamkog.com reply only on 80 network port. Maybe i can set it to 443 ?
Nothing abour socket in logs.

@Mindgamesnl
Copy link
Owner

Hmn i find it weird (to say the least) that it starts multiple times, are you sure you have only ONE version in the plugins folder?

@Rouchesta
Copy link
Author

Rouchesta commented Mar 17, 2017

It's the same line (just the result of my search on "openaudio" in logs.

Right logs here :
Line 78: [11:19:23] [Server thread/INFO]: [OpenAudio] Loading OpenAudio v2.1
Line 766: [11:19:51] [Server thread/INFO]: [OpenAudio] Enabling OpenAudio v2.1
Line 767: [11:19:51] [Server thread/INFO]: [OpenAudio] All dependencies are detected, regions will be enabled!
Line 768: [11:19:51] [Server thread/INFO]: [OpenAudio] Loading OpenAudioMc by Mindgamesnl/Me_is_mattyh

So there is only one version ;-)

@Mindgamesnl
Copy link
Owner

Mindgamesnl commented Mar 17, 2017

And no other errors?

May i know where and how you host?

@Rouchesta
Copy link
Author

Rouchesta commented Mar 17, 2017

No :-/

Only on audio.teamkog.com the red message "Disconnected from the server, please wait"

@Mindgamesnl
Copy link
Owner

I mean errors in console + where you host your mc server (you can shoot me an email if you don't want anyone to know which host you use)

@Rouchesta
Copy link
Author

Rouchesta commented Mar 17, 2017

There is no other error in console :-/

Online.net (It's a dedicated server running on Linux Debian "Console Mode")
I manage all by myself (MC, Websites "Apache", Firewall, ...)

@Mindgamesnl
Copy link
Owner

Can you change settings for the minecraft firewall?

@Rouchesta
Copy link
Author

Sure.
It's not a minecraft firewall but a server firewall ;-)

Port 25565 is open for the minecraft to work.
80 and 443 too. Do you need one more for the plugin ?

@Mindgamesnl
Copy link
Owner

I think adding the port 3000 would resolve our issue

(socket.io runs on that)

@Rouchesta
Copy link
Author

It works :-)
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants