Tunneling + Built-in Browser = Error

655 views
Skip to first unread message

part_

unread,
Jun 29, 2009, 8:04:45 AM6/29/09
to pterm-discuss
I have been attempting to use this app to ssh into a DDWRT router and
then using the tunneling feature and built-in browser to access the
web interface on DDWRT. I can get to the login page for the web
interface, but once I enter the credentials I get the following error:


"Fatal Error Disconnect: Received SSH2_MSG_CHANNEL_FAILURE for
nonexistent channel 257",258, etc.

my tunnel specs:

L80:destIP:80

Accept Foreign: On
Accept Remote: On



eric maland

unread,
Jun 29, 2009, 12:23:48 PM6/29/09
to pterm-discuss
I'm not at a place where I can test this, but I'm assuming you can't
tunnel local ports below 1024 (which is generally the case without
root privileges). Try a higher local port number (with a spec like:
L8080:destIP:80 ), and I'm guessing you should be good to go.

Eric

eric maland

unread,
Jun 29, 2009, 1:04:00 PM6/29/09
to pterm-discuss
Hrmm.. I'll have a look at this. Technically Basic HTTP
Authentication isn't supported through the UIWebView widget, I kinda
wedged in support for it, so perhaps I broke it over tunneling. I'll
report back soon.

Eric

part_

unread,
Jun 29, 2009, 1:17:35 PM6/29/09
to pterm-discuss
I appreciate that there is a lot going in on in the code to make all
this possible. Save this one little problem, the rest of this app is
great. Thanks for your help.

part_

unread,
Jun 29, 2009, 12:42:04 PM6/29/09
to pterm-discuss
Eric,

Thanks for the response. Using the higher port numbers yields the
same error. Again, I can get to the login prompt for the webaccess
page. The error shows up right after I click login. I can login into
and browse this page when on the wifi through the regular safari
browser on the iphone. So I don't think it is the page itself. It
burps right after the login handoff.
Reply all
Reply to author
Forward
0 new messages