Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#1519 closed defect (user disappeared)

Tor gives me a Socks error when i try to access a hidden service

Reported by: Randy19 Owned by: phobos
Priority: High Milestone:
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Hello.
Everytime i try to reach a hidden service of the Tor Network i get the following error:

504 Connect to qxedx3pyxwdxljd7.onion:80 failed: SOCKS error: host unreachable

The following error occurred while trying to access http://lcedx3ptfwdkljd7.onion/:

504 Connect to qxedx3pyxwdxljd7.onion:80 failed: SOCKS error: host unreachable

No matter what i do i just can't reach it. I followed many links that all worked at a earlier time as Tor still came with Privoxy. Now that i reinstalled my computer and got the newer version it doesn't work anymore at all. Please help me!

Thank you in advance,
Randy

Child Tickets

Attachments (2)

VidaliaLog-06.02.2010.txt (603 bytes) - added by Randy19 9 years ago.
Logs for my Problem- Nothing helpfull
VidaliaLog-06.08.2010.txt (6.0 KB) - added by Randy19 9 years ago.
Ok Here is the new one.

Download all attachments as: .zip

Change History (28)

comment:1 Changed 9 years ago by phobos

Component: Polipo-Backend / CoreTor-Tor client
Milestone: Polipo: 1.0Tor: unspecified
Version: Polipo: 1.0Tor: unspecified

comment:2 Changed 9 years ago by phobos

Resolution: invalid
Status: newclosed

This isn't a bug. Hidden services are sometimes unreliable. It seems the hidden service in question isn't available. All we can suggest is to wait a bit and try again.

comment:3 Changed 9 years ago by Randy19

Resolution: invalid
Status: closedreopened

But it doesn't work for any hidden service. I tried at least 7 services and they all gave the same error

comment:4 Changed 9 years ago by phobos

Owner: set to phobos
Status: reopenedaccepted

What does Tor's message log state?

comment:5 Changed 9 years ago by phobos

Try the official ones that are always available:

http://duskgytldkxiuqc6.onion/

http://56apzofkmsmgb3yr.onion/

comment:6 Changed 9 years ago by Randy19

Nope. Even the two links you pasted there give me this error.

504 Connect to 56apzofkmsmgb3yr.onion:80 failed: SOCKS error: connection refused

The following error occurred while trying to access http://56apzofkmsmgb3yr.onion/:

504 Connect to 56apzofkmsmgb3yr.onion:80 failed: SOCKS error: connection refused

The log doesn't really say anything. This is the log after trying to access the site with The error above:

Changed 9 years ago by Randy19

Attachment: VidaliaLog-06.02.2010.txt added

Logs for my Problem- Nothing helpfull

comment:7 Changed 9 years ago by Randy19

I saved and uploaded the log here. You should see yourself.

comment:8 Changed 9 years ago by Randy19

Really nobody able to help me?

comment:9 Changed 9 years ago by Sebastian

You clearly didn't paste the entire log, so helping you is difficult.

comment:10 Changed 9 years ago by phobos

Can you go into Message Log, and check Settings, check Info. And then restart Tor, wait for it to connect, and then try those hidden services? Upload the entire log from Message Log.

Changed 9 years ago by Randy19

Attachment: VidaliaLog-06.08.2010.txt added

Ok Here is the new one.

comment:11 Changed 9 years ago by Randy19

Please. I'm starting to get really desperate >.< Please

comment:12 in reply to:  11 ; Changed 9 years ago by phobos

Replying to Randy19:

Please. I'm starting to get really desperate >.< Please

We need a log file to see what is going on, otherwise we cannot help.

comment:13 in reply to:  12 Changed 9 years ago by phobos

Replying to phobos:

Replying to Randy19:

Please. I'm starting to get really desperate >.< Please

We need a log file to see what is going on, otherwise we cannot help.

Nevermind, I see the info-level logfile. It looks like you're getting connected to the hidden service if it exists.

comment:14 Changed 9 years ago by phobos

Milestone: Tor: unspecifiedTor: 0.2.1.x-final

comment:15 Changed 9 years ago by Randy19

yeah but it still gives me that error no matter to which service i want to go. Even the official ones somewhere farer up in this ticket won't work for mw.

comment:16 Changed 9 years ago by Sebastian

Did you configure your Tor in any special way?

comment:17 Changed 9 years ago by arma

Jun 08 20:41:28.171 [Info] connection_ap_process_end_not_open(): Edge got end (connection refused) before we're connected. Marking for close.

Looks like you're asking for a port that the other side refuses to
answer on. So in fact the hidden service is up, but your application is
failing to ask for it correctly.

What browser? What version of Torbutton? What OS? What Tor bundle did you
install?

comment:18 Changed 9 years ago by Randy19

I didn't configure Tor myself.
I downloaded the installationpackage for Windows.
I'm running Windows XP with Service Pack 1 and 2.
Using Firefox 3.6.3 and Torbutton 1.2.5

comment:19 Changed 9 years ago by phobos

I've been doing some testing on this. Here's what I can reliably see in my logs. I sometimes get to a hidden service once, and then never again.

Jun 18 13:25:22.991 [Info] connection_ap_handshake_rewrite_and_attach(): Got a hidden service request for ID '[scrubbed]'
Jun 18 13:25:23.002 [Info] connection_ap_handshake_rewrite_and_attach(): Descriptor is here and fresh enough. Great.
Jun 18 13:25:23.004 [Info] circuit_get_open_circ_or_launch(): No intro points for '[scrubbed]': re-fetching service descriptor.
Jun 18 13:25:23.022 [Info] rend_client_refetch_v2_renddesc(): We would fetch a v2 rendezvous descriptor, but we already have a fresh copy of that descriptor here. Not fetching.
Jun 18 13:25:23.029 [Info] rend_client_refetch_renddesc(): Fetching rendezvous descriptor for service [scrubbed]

This logfile is from a session where I was actively using the hidden service and then paused for a few minutes (ssh session) and now I can't get to it again.

comment:20 Changed 9 years ago by phobos

Here's the whole log snippet I have:

Jun 18 13:26:57.797 [Info] update_consensus_router_descriptor_downloads(): 0 router descriptors downloadable. 2 delayed; 1765 present (0 of those were in old_routers); 0 would_reject; 2 wouldnt_use; 0 in progress.
Jun 18 13:26:57.799 [Info] routerlist_remove_old_routers(): We have 2526 live routers and 0 old router descriptors.
Jun 18 13:27:01.824 [Notice] Tried for 120 seconds to get a connection to [scrubbed]:80. Giving up. (waiting for rendezvous desc)
Jun 18 13:27:01.827 [Info] connection_ap_handshake_rewrite_and_attach(): Got a hidden service request for ID '[scrubbed]'
Jun 18 13:27:01.829 [Info] connection_ap_handshake_rewrite_and_attach(): Descriptor is here and fresh enough. Great.
Jun 18 13:27:01.830 [Info] circuit_get_open_circ_or_launch(): No intro points for '[scrubbed]': re-fetching service descriptor.
Jun 18 13:27:01.832 [Info] rend_client_refetch_v2_renddesc(): We would fetch a v2 rendezvous descriptor, but we already have a fresh copy of that descriptor here. Not fetching.
Jun 18 13:27:01.833 [Info] rend_client_refetch_renddesc(): Fetching rendezvous descriptor for service [scrubbed]
Jun 18 13:27:01.834 [Info] connection_ap_make_link(): Making internal anonymized tunnel to [scrubbed]:443 ...
Jun 18 13:27:01.836 [Info] exit circ (length 4): $A2D924A06B5BDB5B6BF2D280693395AA2F5DE8B7(open) FordModelA(open) $DF1EA3A05B60ADB417ACB2B03877D54C5D14B301(open) tor26(open)
Jun 18 13:27:01.837 [Info] connection_ap_handshake_send_begin(): Address/port sent, ap socket -1, n_circ_id 40415
Jun 18 13:27:01.839 [Info] connection_ap_make_link(): ... application connection created and linked.
Jun 18 13:27:01.840 [Info] connection_ap_handshake_attach_circuit(): Intro (0) and rend (61036) circs are not both ready. Stalling conn. (0 sec old)
Jun 18 13:27:01.842 [Info] connection_edge_process_inbuf(): data from edge while in 'waiting for rendezvous desc' state. Leaving it on buffer.
Jun 18 13:27:01.843 [Info] connection_edge_process_inbuf(): data from edge while in 'waiting for connect response' state. Leaving it on buffer.
Jun 18 13:27:01.845 [Info] connection_edge_process_inbuf(): data from edge while in 'waiting for connect response' state. Leaving it on buffer.
Jun 18 13:27:02.174 [Info] connection_edge_process_relay_cell_not_open(): 'connected' received after 1 seconds.
Jun 18 13:27:02.176 [Info] exit circ (length 4): $A2D924A06B5BDB5B6BF2D280693395AA2F5DE8B7(open) FordModelA(open) $DF1EA3A05B60ADB417ACB2B03877D54C5D14B301(open) tor26(open)
Jun 18 13:27:02.478 [Info] connection_edge_process_relay_cell(): -1: end cell (closed normally) for stream 42411. Removing stream.
Jun 18 13:27:02.480 [Info] _connection_free(): Freeing linked Socks connection [open] with 0 bytes on inbuf, 0 on outbuf.
Jun 18 13:27:02.481 [Info] connection_dir_client_reached_eof(): Received rendezvous descriptor (size 402, status 200 ("OK"))
Jun 18 13:27:02.483 [Info] rend_cache_store(): We already have this service descriptor [scrubbed].
Jun 18 13:27:02.484 [Info] _connection_free(): Freeing linked Directory connection [client finished] with 0 bytes on inbuf, 0 on outbuf.
Jun 18 13:27:22.948 [Notice] Tried for 120 seconds to get a connection to [scrubbed]:80. Giving up. (waiting for rendezvous desc)
Jun 18 13:27:58.117 [Info] update_consensus_router_descriptor_downloads(): 0 router descriptors downloadable. 2 delayed; 1765 present (0 of those were in old_routers); 0 would_reject; 2 wouldnt_use; 0 in progress.
Jun 18 13:27:58.119 [Info] routerlist_remove_old_routers(): We have 2526 live routers and 0 old router descriptors.
Jun 18 13:28:11.842 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)
Jun 18 13:28:11.844 [Info] connection_ap_handshake_send_begin(): Address/port sent, ap socket 20, n_circ_id 58400
Jun 18 13:28:11.846 [Info] connection_edge_process_inbuf(): data from edge while in 'waiting for connect response' state. Leaving it on buffer.
Jun 18 13:28:13.735 [Info] connection_edge_process_relay_cell_not_open(): 'connected' received after 2 seconds.
Jun 18 13:28:13.737 [Info] addressmap_register(): Addressmap: (re)mapped '[scrubbed]' to '[scrubbed]'
Jun 18 13:28:13.739 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)
Jun 18 13:28:14.795 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)
Jun 18 13:28:14.801 [Info] connection_ap_handshake_send_begin(): Address/port sent, ap socket 21, n_circ_id 58400
Jun 18 13:28:14.803 [Info] connection_edge_process_inbuf(): data from edge while in 'waiting for connect response' state. Leaving it on buffer.
Jun 18 13:28:18.468 [Info] connection_edge_process_relay_cell_not_open(): 'connected' received after 4 seconds.
Jun 18 13:28:18.471 [Info] addressmap_register(): Addressmap: (re)mapped '[scrubbed]' to '[scrubbed]'
Jun 18 13:28:18.473 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)
Jun 18 13:28:21.285 [Info] addressmap_rewrite(): Addressmap: rewriting [scrubbed] to [scrubbed]
Jun 18 13:28:21.288 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)
Jun 18 13:28:21.290 [Info] connection_ap_handshake_send_begin(): Address/port sent, ap socket 22, n_circ_id 58400
Jun 18 13:28:21.291 [Info] connection_edge_process_inbuf(): data from edge while in 'waiting for connect response' state. Leaving it on buffer.
Jun 18 13:28:22.684 [Info] connection_edge_process_relay_cell_not_open(): 'connected' received after 1 seconds.
Jun 18 13:28:22.686 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)
Jun 18 13:28:23.867 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)
Jun 18 13:28:23.869 [Info] connection_ap_handshake_send_begin(): Address/port sent, ap socket 23, n_circ_id 58400
Jun 18 13:28:23.871 [Info] connection_edge_process_inbuf(): data from edge while in 'waiting for connect response' state. Leaving it on buffer.
Jun 18 13:28:25.619 [Info] connection_edge_process_relay_cell_not_open(): 'connected' received after 2 seconds.
Jun 18 13:28:25.621 [Info] addressmap_register(): Addressmap: (re)mapped '[scrubbed]' to '[scrubbed]'
Jun 18 13:28:25.624 [Info] exit circ (length 3): $06008EDA51689F496FDC91332A577BD2DFFA562C(open) jceaovh(open) blutmagie(open)

comment:21 Changed 9 years ago by phobos

For what ever reason, i cannot replicate this problem anymore.

comment:22 Changed 9 years ago by phobos

this may be related to an HSDir problem we found. Should be fixed in 0.2.2.15-alpha.

comment:23 Changed 9 years ago by phobos

Please confirm or deny that 0.2.2.15-alpha fixes your issue. Thanks.

comment:24 Changed 9 years ago by phobos

Resolution: user disappeared
Status: acceptedclosed

comment:25 Changed 7 years ago by nickm

Component: Tor ClientTor

comment:26 Changed 7 years ago by nickm

Milestone: Tor: 0.2.1.x-final

Milestone Tor: 0.2.1.x-final deleted

Note: See TracTickets for help on using tickets.