Bugs with the https
@IllusionaryOne If you want access to anything on my side, just let me know, i will be happy to help in anyway i can with fixing this!
@jensz12 I am not sure this will help, a new Nightly is being pushed soon. I have improved over all HTTPS performance from the HTTPS server and migrated over to different (more efficient) thread handling in a offshoot of the java_websocket package. At most, I hope it logs some information that may help me in figuring out what could be causing your problem as I put in a couple of different log messages into the java_websocket package as well.
Appreciate your patience, I think if I have a little bit more information, it may help the members of that team troubleshoot this.
@IllusionaryOne Just downloaded the latest nightly build and it fixed everything! Thank you SO!!! much for the hard work you guys put in to this bot!
@jensz12 Oh sweet! So, the blind guesses paid off then, thank goodness!
After som testing of the YouTube player with SSL tonight i found the following issues
The Player does not auto go to the next song at the end of a song
The Playlist page is empty because of a socket connection being made over ws://. I fixed that by changing it to wss://
@jensz12 I might need to see your browser console logs and your PhantomBot console with debug on. Also, check the core-error logs. See if something popped up in there.
Mine is working in SSL mode. I am beginning to wonder if there is a network timing issue or something with your SSL versus mine. I am running on a quad-Xeon on a remote server with a pretty decent network pipe. I am assuming the YTP works fine in non-SSL mode?
What I did in java_websocket was allow for more threads to try to retry connections faster if there were timeouts. Previously, what I think was happening, is, there were not enough threads to serve the mass amount of data for SSL with handshake timeouts/long times.
[EDIT] Applying patch to auto detect WSS/WS for ytPlaylist.
@jensz12 Patch incoming tonight for the YTP.
I run my bots on a Linode 4GB VPS in Frankfurt, which is the closest location to Denmark. The VPS hosts my Factorio server, a very small lighttpd web server to show the bot commands from the db, and a couple of PhantomBot Instances
4 GB RAM
2 CPU Cores
48 GB SSD Storage
3 TB Transfer
40 Gbps Network In
1000 Mbps Network Out
The YouTube player works fine in non SSL mode yes.
As for the logs and debug, do you want then from the stable or nightly release?
@IllusionaryOne Updated to the latest Nightly Build and can confirm that the YouTube player is working just fine in SSL mode now!
@jensz12 I added even more space in the tracking queue for the YTPlayer, assuming folks are using the YTPlaylist page. I also swapped over to a different thread manager. Finally, found a potential bug in the YT Player itself and revamped the skip song logic used.
Do note, the skip song button in the player can be fired only once a second. You can click it as many times as you want, but it only registers once a second. Same with !skipsong in chat, although it will tell the user to wait a moment before retrying.