ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content



Photo

Unable to tunnel through proxy - Java


  • This topic is locked This topic is locked
Unable to tunnel through proxy - Java

#1

Smurfys
Smurfys
    Offline
    102
    Rep
    298
    Likes

    I'm a random

Posts: 388
Threads: 101
Joined: Oct 24, 2018
Credits: 0

Five years registered
#1

Hello everyone.

I'm currently trying to create my own checker and I would like to use proxies for the connections. The problem is, when I try use them using "HttpURLConnection" and "getOutputStream" method, I am getting the error : 

Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"

I don't understand what that means, and how to get around it.
 

Have you ever coded a checker in Java??

Thank you in advance.

 


  • 0

I'm here to learn and to share.


#2

legrandgm
legrandgm
    Offline
    0
    Rep
    0
    Likes

    New Member

  • PipPip
Posts: 19
Threads: 0
Joined: Mar 20, 2020
Credits: 0
Four years registered
#2

Hello, do you have a repo ? so i can look at the code


  • 0

#3

legrandgm
legrandgm
    Offline
    0
    Rep
    0
    Likes

    New Member

  • PipPip
Posts: 19
Threads: 0
Joined: Mar 20, 2020
Credits: 0
Four years registered
#3

Maybe you should use the main class using URLConnection.getConnection()


  • 0

#4

Smurfys
Smurfys
    Offline
    102
    Rep
    298
    Likes

    I'm a random

Posts: 388
Threads: 101
Joined: Oct 24, 2018
Credits: 0

Five years registered
#4

Thanks, I'll try to find out.


  • 0

I'm here to learn and to share.



 Users browsing this thread: