aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: HTTP-Proxy Problem  (Read 9717 times)

Ivina

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
HTTP-Proxy Problem
« on: May 22, 2006, 07:20:06 PM »

Hallo!

Also ich such schon seit Tagen nach einer Problemlösung. Ich hab bei meinem aMule einen HTTP-Proxy eingestellt. Tja nur leider verbindet er mir nicht mit den Servern. Eine Server-Met kann er schon laden..

Die Ports sind auf dem Router freigegeben. Wenn ich den Proxy ausstell, kann ich einwandfrei mit High-ID connecten. Wo liegt das Poblem? An der CVS Version kanns auch nicht liegen. Mit der Stable funktionierts genau analog.

Er gibt mir in der Konsole folgende Meldung aus:
Code: [Select]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /root/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /root/.aMule/Incoming/ shared
Http-CONNECT(0001): 0 -> 1
process_end - ok=false, 0 bytes

Bitte bitte Hilfe. Ich brauch den Proxy unbedingt..
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: HTTP-Proxy Problem
« Reply #1 on: May 23, 2006, 12:05:22 PM »

Unfortunately, I can only help in english or portuguese. Most probably your proxy configuration is wrong.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: HTTP-Proxy Problem
« Reply #2 on: May 23, 2006, 12:41:22 PM »

I'll translate (into Englisch, cause my Portugues is very, very limited...). Please, wait a sec.

Rough translation:
Quote
Hello!

I search for a solution for my problem for some days. I've set a HTTP-Proxy in my aMule. But unfortunatly it doesn't connect to a server. I can download a server.met.

The ports are opened in the router. When I disable the proxy, then I can connect prefectly with an HighID. Where's the problem? It can't be due to the CVS Version. It's the same problem with aMule stable.

That's the output in the terminal:
Code: [Select]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /root/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /root/.aMule/Incoming/ shared
Http-CONNECT(0001): 0 -> 1
process_end - ok=false, 0 bytes

Please, please help me. I absolutely need the proxy.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: HTTP-Proxy Problem
« Reply #3 on: May 23, 2006, 12:58:53 PM »

*lets make it english for phoenix*

well there is still not a lot of information which could help to figure out where the problem is...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Ivina

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: HTTP-Proxy Problem
« Reply #4 on: May 23, 2006, 01:47:53 PM »

Hi!

The problem is, I don't get more information. The proxy I use is from an extern server (university). I tested it with a laptop and winxp. It worked fine (but I need to say, I tried eMule instead). What can I do next?

greets
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: HTTP-Proxy Problem
« Reply #5 on: May 23, 2006, 02:05:40 PM »

well maybe you can write teh sysadmin for your university an email and ask

"cool proxy server you got, what type of software is that"

and maybe he will be nice and tell you if its a squid proxy or any other software....

when you say you used eMule, did you set just "proxy" in the pref, or do you also have to set what type of proxy in eMule ....(http, socks4/5)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Ivina

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: HTTP-Proxy Problem
« Reply #6 on: May 23, 2006, 09:38:28 PM »

Hi!

squid/2.5.STABLE12

i set "http" in emule.

lg

Edit: Moved the thread into the English section, should you have any problems just write it in German, there'll be someone to translate it. :)
« Last Edit: May 23, 2006, 09:44:01 PM by Ivina »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: HTTP-Proxy Problem
« Reply #7 on: May 24, 2006, 12:15:02 AM »

Quote
Originally posted by wuischke
I'll translate (into Englisch, cause my Portugues is very, very limited...). Please, wait a sec.
Thanks wuischke! English is fine!

Quote
Originally translated by wuischke
Hello!

I search for a solution for my problem for some days. I've set a HTTP-Proxy in my aMule. But unfortunatly it doesn't connect to a server. I can download a server.met.

The ports are opened in the router. When I disable the proxy, then I can connect prefectly with an HighID. Where's the problem? It can't be due to the CVS Version. It's the same problem with aMule stable.

That's the output in the terminal:
Code: [Select]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
Loading temp files from /root/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Empty dir /root/.aMule/Incoming/ shared
Http-CONNECT(0001): 0 -> 1
process_end - ok=false, 0 bytes

Please, please help me. I absolutely need the proxy.
Your terminal output tells me that aMule cannot connect to the server. Check the server address and port in aMule configuration dialog. Pay attention to authentication, if that is the case. Also check if your machine is not configured with a firewall like iptables.

Good luck!
Logged

Ivina

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: HTTP-Proxy Problem
« Reply #8 on: May 24, 2006, 11:53:04 AM »

Code: [Select]
Your terminal output tells me that aMule cannot connect to the server. Check the server address and port in aMule configuration dialog. Pay attention to authentication, if that is the case.
2006-05-24 11:47:36: Servers: Trying to connect
2006-05-24 11:47:36: Connecting to DonkeyServer No1 (62.241.53.2 - 62.241.53.2:4242)
2006-05-24 11:47:36: Connected to DonkeyServer No1 (62.241.53.2:4242)
2006-05-24 11:47:36: Lost connection to DonkeyServer No1 (62.241.53.2:4242)
2006-05-24 11:47:36: Connection lost

Code: [Select]
Also check if your machine is not configured with a firewall like iptables.
iptables accepts all at the moment.

bye
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: HTTP-Proxy Problem
« Reply #9 on: May 24, 2006, 01:32:48 PM »

Ivina,

Sorry, I said server, but I meant proxy server. Check the proxy server address, port and authentication.

To be sure about iptables, do as root:
#iptables -F

That will flush all your firewall rules. Not very recommended, but usefull for a test.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: HTTP-Proxy Problem
« Reply #10 on: May 24, 2006, 03:13:42 PM »

dont you need to reallow all connections after a -F phoenix ?
I think this way, he cant connect nowhere anymore
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: HTTP-Proxy Problem
« Reply #11 on: May 26, 2006, 12:02:44 AM »

Quote
Originally posted by stefanero
dont you need to reallow all connections after a -F phoenix ?
I think this way, he cant connect nowhere anymore
Sorry, I don' t understand what you mean by "reallow all connections". After -F, the tables are flushed, what means that you have no rules in your firewall. So, everything depends on the chains' policies of the "filter" table.

In principle, the starting policy is ACCEPT, but -F does not change a table policy.

I know that Fedora Core X comes with a pre-set of rules in the firewall, and the policy is explicitly set to ACCEPT in the chains of the "filter" and "nat" tables. I don't know about other distros.

So, in FCx, iptables -F should allow all connections.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: HTTP-Proxy Problem
« Reply #12 on: May 26, 2006, 01:06:05 AM »

^^thats what I ment

if the default policy "would" be drop then he basically shut himself of ;)

better would be, just to make sure

Code: [Select]

        iptables -F
        iptables -X
        iptables -P INPUT ACCEPT
        iptables -P FORWARD ACCEPT
        iptables -P OUTPUT ACCEPT
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Ivina

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: HTTP-Proxy Problem
« Reply #13 on: May 27, 2006, 12:28:42 PM »

Hi!

Iptables aren't pre-configured on Debian.. that's not the problem.

Code: [Select]
Check the proxy server address, port and authentication.
Adress and port are ok.
authentication: I have a special ip, which is known by the dns-server.

bye
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: HTTP-Proxy Problem
« Reply #14 on: May 30, 2006, 02:31:41 AM »

Do this and post the result:
$ telnet xxx.xxx.xxx.xxx yyyy

Where xxx.xxx.xxx.xxx is the ip number of your proxy server and yyyy is the port.

Then, when connected, start typing random characters and until you get a response.

Also try this and post:
$ wget http://xxx.xxx.xxx.xxx:yyyy/

If you get a response, make sure you configure aMule with the same parameters, the ip and the port, do not use a name to be resolved and test with aMule. And please, post the console output of aMule, something similar to this:
Http-CONNECT(0001): 0 -> 1
process_end - ok=false, 0 bytes
Logged
Pages: [1] 2