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

"Can't connect to server" with TCPShield plugin installed on Velocity. #63

Closed
ghost opened this issue Jul 14, 2021 · 10 comments
Closed

Comments

@ghost
Copy link

ghost commented Jul 14, 2021

I configured everything correctly and installed the TCPShield plugin on Velocity, but my server cannot be found on the domain I was setting up. This problem is relevant only for Velocity, I checked it work on Spigot and BungeeCord and everything seems to work fine. But I need to use Velocity, since my main server is built on Fabric, and the TCPShield plugin does not work on it. And only Velocity can work normally with modified Fabric servers.

@MAXOUXAX
Copy link

Most likely linked to #54
You can temporarly set only-allow-proxy-connections to false if you want to be able to connect to your Proxy (see #54 (comment))

@trev-sharp
Copy link
Contributor

trev-sharp commented Jul 14, 2021

Make sure you are using the latest build of TCPShield and using at least Java 11 (Follow The Instructions On How To Build With Gradle) then try it again. If no errors are present, open a support ticket on the discord, but if there are errors present, send them here so we can further assist. This issue could be linked to issue #54, but this issue was fully resolved with the lastest build, as mentioned by my comment

@MAXOUXAX
Copy link

Make sure you are using the latest build of TCPShield and using at least Java 11 (Follow The Instructions On How To Build With Gradle) then try it again. If no errors are present, open a support ticket on the discord, but if there are errors present, send them here so we can further assist. This issue could be linked to issue #54, but this issue was fully resolved with the lastest build, as mentioned by my comment

I cloned the repo and tried to build the project, but Gradle is giving me this error.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processResources'.
> Entry bungee.yml is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.1.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.

Do you have any JAR for us to test?

@ghost
Copy link
Author

ghost commented Jul 20, 2021

Make sure you are using the latest build of TCPShield and using at least Java 11 (Follow The Instructions On How To Build With Gradle) then try it again. If no errors are present, open a support ticket on the discord, but if there are errors present, send them here so we can further assist. This issue could be linked to issue #54, but this issue was fully resolved with the lastest build, as mentioned by my comment

where is latest build?
if you mean v2.5, then this issue is not resolved on this version

@trev-sharp
Copy link
Contributor

Make sure you are using the latest build of TCPShield and using at least Java 11 (Follow The Instructions On How To Build With Gradle) then try it again. If no errors are present, open a support ticket on the discord, but if there are errors present, send them here so we can further assist. This issue could be linked to issue #54, but this issue was fully resolved with the lastest build, as mentioned by my comment

where is latest build?

if you mean v2.5, then this issue is not resolved on this version

You will need to build the current GitHub repository with Gradle (Follow the instructions in the README) The v2.5 release is a few commits behind the latest code; we have since fixed a handle of bugs.

@ghost
Copy link
Author

ghost commented Jul 21, 2021

Make sure you are using the latest build of TCPShield and using at least Java 11 (Follow The Instructions On How To Build With Gradle) then try it again. If no errors are present, open a support ticket on the discord, but if there are errors present, send them here so we can further assist. This issue could be linked to issue #54, but this issue was fully resolved with the lastest build, as mentioned by my comment

where is latest build?
if you mean v2.5, then this issue is not resolved on this version

You will need to build the current GitHub repository with Gradle (Follow the instructions in the README) The v2.5 release is a few commits behind the latest code; we have since fixed a handle of bugs.

i build it from sources and this still doesn't working

@viper12358
Copy link

where is latest build?

Try using this one:
https://drive.google.com/file/d/113s01ZlT-d9oCJnpOcgboSF4eJAw4CNd/view?usp=sharing

i build it from sources and this still doesn't working

And make sure that you are using AdoptOpenJDK (do java -version to check). That's the only discrepancy that we've found with one of our customer who also have this problem.

I have personally tested Velocity 1.8.8 and above (upto 3.0.0) with Paper, Yatopia and they works fine.

@GitReboot
Copy link

Make sure you are using the latest build of TCPShield and using at least Java 11 (Follow The Instructions On How To Build With Gradle) then try it again. If no errors are present, open a support ticket on the discord, but if there are errors present, send them here so we can further assist. This issue could be linked to issue #54, but this issue was fully resolved with the lastest build, as mentioned by my comment

I cloned the repo and tried to build the project, but Gradle is giving me this error.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processResources'.
> Entry bungee.yml is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.1.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.

Do you have any JAR for us to test?

I am having the same issue. Any solution?

@GitReboot
Copy link

Make sure you are using the latest build of TCPShield and using at least Java 11 (Follow The Instructions On How To Build With Gradle) then try it again. If no errors are present, open a support ticket on the discord, but if there are errors present, send them here so we can further assist. This issue could be linked to issue #54, but this issue was fully resolved with the lastest build, as mentioned by my comment

I cloned the repo and tried to build the project, but Gradle is giving me this error.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processResources'.
> Entry bungee.yml is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.1.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.

Do you have any JAR for us to test?

I am having the same issue. Any solution?

Nevermind. Just had to add this to build.gradle
processResources {
duplicatesStrategy = 'exclude'
}
}

@DylanKeir
Copy link
Member

If this is still an issue, please create a ticket at https://discord.gg/tcpshield and we'll help you through fixing it.

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

5 participants