Registered Member
|
Hi there,
I seem to be having a few troubles with the UPnP plugin in the ktorrent 1.2rc2 committed to the FreeBSD Ports system on 17 Jan 2006. Here's the pertinent info: leela$ uname -a FreeBSD leela.xamina 6.0-BETA4 FreeBSD 6.0-BETA4 #1: Wed Sep 14 23:39:08 BST 2005 leela.xamina:/usr/obj/usr/src/sys/PUSH i386 (small snippet from the logfile - let me know if you'd like more) Starting download Loading 6 active chunk downloads Loading chunk 162 Loading chunk 205 Loading chunk 254 Loading chunk 336 Loading chunk 453 Loading chunk 827 Doing tracker request to url : http://tracker.digitaldistractions.org: ... d9uO%9eW6O Loading plugin upnpplugin Trying to find UPnP devices on the local network UPnPMCastSocket Error : an unknown/unexpected error has happened Loading plugin infowidgetplugin Loading plugin searchplugin Always helpful when it says "Unknown/unexpected error", don't you think? :) If I try "rescan" from the UPnP plug-in stream, it just dumps Trying to find UPnP devices on the local network UPnPMCastSocket Error : an unknown/unexpected error has happened into the logfile. Trying with pf disabled doesn't affect the result. I'll try my level best to provide any further information you might need. |
Moderator
|
|
Registered Member
|
Anything you can suggest I do to fill in the blanks?
I must admit, it's the first time I've ever had anything to do with UPnP; I've just moved into a new place and my housemate's don't remember the router password. I can't set up proper port forwarding so UPnP seems to be my best bet for decent download rates! Gah! |
Moderator
|
You can run ethereal and save it's output to a file.
Make sure you have no apps running which need internet (so I don't have to sift to 1000 of packets) : - Start up KT without a torrent. - Startup ethereal as root. - Start to capture packets using ethereal (Capture -> Options ; then select the right interface probably eth0 or wlan0 and press Start) - In KT go to the preference dialog and press rescan a couple of times - Stop the capture in ethereal and save the output - Send this file to me |
Registered Member
|
Sifting through thousands of packets isn't necessary - "rescan" resulted in no traffic at all onto the wires.
Watching the "live capture" display for a good half an hour or so has resulted in absolutely no traffic at all. As many rescans as I'd like and nothing. (Other than a few bits of NFS traffic and the occasional netbios flutter from other machines on the network, anyway) I'd suggest that anything that's going wrong with UPnP is going wrong before it gets a chance to generate any traffic. Before you ask, I've tried with pf enabled and disabled and still nothing. The message: Trying to find UPnP devices on the local network UPnPMCastSocket Error : an unknown/unexpected error has happened appears each time I hit "rescan" but no corresponding flutter in the ethereal capture log. I'm about to install ktorrent on my 5.4-RELEASE box to see if there's better luck there. |
Registered Member
|
|
Moderator
|
|
Registered Member
|
No packets of any description sent.
The Official BitTorrent client 4.3.5-BETA provides the following in the logfile: [2006-01-23 16:03:07] -- BitTorrent started -- [2006-01-23 16:03:09] (global message) : Trying: ManualUPnP [2006-01-23 16:03:10] (global message) : Using: ManualUPnP [2006-01-23 16:03:10] (global message) : You asked for: BitTorrent TCP external:6681 :6681 [2006-01-23 16:03:11] (global message) : I'll give you: BitTorrent TCP external:6681 :6681 There were two HTTP M-SEARCH requests generated by the official client, still nothing from KTorrent I'm afraid. |
Moderator
|
|
Registered Member
|
|
Moderator
|
|
Registered Member
|
Nothing.
"ktorrent --debug > ktorrentlog.log", then quitting ktorrent a few minutes later results in the following: Bound to port 6681 Loading plugin logviewerplugin Loading plugin upnpplugin Trying to find UPnP devices on the local network UPnPMCastSocket Error : an unknown/unexpected error has happened Loading plugin infowidgetplugin Loading plugin searchplugin USE THE FORCE KTORRENTVIEW !!!! IP 0.0.0.0 banned. |
Moderator
|
|
Registered Member
|
if /usr/local/bin/bash ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./. -I/usr/local/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -MT pluginmanagerprefpage.lo -MD -MP -MF ".deps/pluginmanagerprefpage.Tpo" -c -o pluginmanagerprefpage.lo pluginmanagerprefpage.cpp; then mv -f ".deps/pluginmanagerprefpage.Tpo" ".deps/pluginmanagerprefpage.Plo"; else rm -f ".deps/pluginmanagerprefpage.Tpo"; exit 1; fi
pluginmanagerprefpage.cpp:26:33: pluginmanagerwidget.h: No such file or directory pluginmanagerprefpage.cpp: In member function `virtual void kt::PluginManagerPrefPage::createWidget(QWidget*)': pluginmanagerprefpage.cpp:50: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp:51: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp:52: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp:53: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp:54: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp: In member function `virtual void kt::PluginManagerPrefPage::updateData()': pluginmanagerprefpage.cpp:60: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp: In member function `virtual void kt::PluginManagerPrefPage::deleteWidget()': pluginmanagerprefpage.cpp:82: warning: possible problem detected in invocation of delete operator: pluginmanagerprefpage.cpp:82: warning: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: warning: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp:82: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onLoad()': pluginmanagerprefpage.cpp:88: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' pluginmanagerprefpage.cpp: In member function `void kt::PluginManagerPrefPage::onUnload()': pluginmanagerprefpage.cpp:99: error: invalid use of undefined type `struct PluginManagerWidget' pluginmanagerprefpage.h:26: error: forward declaration of `struct PluginManagerWidget' *** Error code 1 Stop in /usr/home/rjohnd/ktorrent/libktorrent. *** Error code 1 Stop in /usr/home/rjohnd/ktorrent/libktorrent. *** Error code 1 Stop in /usr/home/rjohnd/ktorrent. *** Error code 1 Stop in /usr/home/rjohnd/ktorrent. leela# |
Moderator
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]