This forum has been archived. All content is frozen. Please use KDE Discuss instead.

email send failure: createSlave "http" for KUrl("smtps:// ?!

Tags: None
(comma "," separated)
RJVB
Registered Member
Posts
79
Karma
0
OS
Hello,

kmail/kontact have been working fine for me for weeks now, on OS X 10.6.8, kdepim* 4.12.5, kdelibs 4.14.1, kde-baseapps 4.14.1 .

Tonight all of a sudden the maildispatcher agent tries to send my "smtps" email through http, which rather unsurprisingly fails:

akonadi_maildispatcher_agent(54519)/kio (Slave) *KIO::Slave::createSlave: createSlave "http" for KUrl("smtps://XXX%40gmail.com@smtp.googlemail.com:465/send?headers=0&from=XXX%40gmail.com&to=kde-mac%40kde.org&size=1945")

a more complete extract:

Code: Select all
akonadi_maildispatcher_agent(54519) MailDispatcherAgent::Private::dispatch: Attempting to dispatch the next message.
akonadi_maildispatcher_agent(54519) MailDispatcherAgent::Private::itemFetched: Fetched item 164895 ; creating SendJob.
akonadi_maildispatcher_agent(54519) SendJob::Private::doTransport: Transporting message.
akonadi_maildispatcher_agent(54519)/kdepimlibs (mailtransport) MailTransport::Transport::Transport: "365489434"
akonadi_maildispatcher_agent(54519)/kdepimlibs (mailtransport) MailTransport::Transport::usrReadConfig: type 0
akonadi_maildispatcher_agent(54519)/kio (Slave) *KIO::Slave::createSlave: createSlave "http" for KUrl("smtps://XXX%40gmail.com@smtp.googlemail.com:465/send?headers=0&from=XXX%40gmail.com&to=kde-mac%40kde.org&size=1945")
akonadi_maildispatcher_agent(54519)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/private/var/folders/W2/W27-dhO62RWW-U+BYnQ9i++++TY/-Tmp-/ksocket-bertin/akonadi_maildispatcher_agentt54519.slave-socket"
akonadi_maildispatcher_agent(54519)/kio (Scheduler) *KIO::SchedulerPrivate::getConnectedSlave: KUrl("smtps://XXXX%40gmail.com@smtp.googlemail.com:465/send?headers=0&from=XXX%40gmail.com&to=kde-mac%40kde.org&size=1945") KIO::Slave(0x1043e2c50)
akonadi_maildispatcher_agent(54519)/kdepimlibs (mailtransport) MailTransport::SmtpJob::startSmtpJob: Created new SMTP slave 0x1043e2c50
akonadi_maildispatcher_agent(54519)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x106021150)
akonadi_maildispatcher_agent(54519)/kio (Scheduler) KIO::SchedulerPrivate::assignJobToSlave: KIO::Slave(0x1043e2c50) KIO::TransferJob(0x106021150)
akonadi_maildispatcher_agent(54519)/kio (Slave) *KIO::Slave::createSlave: createSlave "http" for KUrl("smtps://XXX%40gmail.com@smtp.googlemail.com:465/send?headers=0&from=XXX%40gmail.com&to=kde-mac%40kde.org&size=1945")
akonadi_maildispatcher_agent(54519)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/private/var/folders/W2/W27-dhO62RWW-U+BYnQ9i++++TY/-Tmp-/ksocket-bertin/akonadi_maildispatcher_agentD54519.slave-socket"
akonadi_maildispatcher_agent(54519) OutboxQueue::Private::addIfComplete: Item 164896 is queued to be sent manually.
akonadi_maildispatcher_agent(54519)/kio (KIOJob) KIO::SlaveInterface::dispatch: error  108   "Opening connections is not supported with the protocol http."
akonadi_maildispatcher_agent(54519)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveError: KIO::Slave(0x1043e2c50) 108 "Opening connections is not supported with the protocol http."
akonadi_maildispatcher_agent(54519)/kdepimlibs (mailtransport) SlavePool::removeSlave: Removing slave 0x1043e2c50 from pool
akonadi_maildispatcher_agent(54519)/kio (Scheduler) KIO::SchedulerPrivate::disconnectSlave: KIO::Slave(0x1043e2c50)
akonadi_maildispatcher_agent(54519) SendJob::Private::doPostJob: success false message "Opening connections is not supported with the protocol http."
akonadi_maildispatcher_agent(54519) SendJob::Private::doPostJob: Error transporting.
akonadi_maildispatcher_agent(54519) SendJob::Private::storeResult: success false message "Failed to transport message. Opening connections is not supported with the protocol http."
akonadi_maildispatcher_agent(54519)/kdepimlibs (mailtransport) MailTransport::SmtpJob::~SmtpJob: clearing SMTP slave pool 0
akonadi_maildispatcher_agent(54519)/kio (KIOJob) KIO::SimpleJob::~SimpleJob: Killing job KIO::SimpleJob(0x106021150) in destructor!


Any idea where KIO would get this brilliant idea from? I've been fiddling a little bit with konqueror's settings, could it be that it somehow registered itself for sending mail? I recall doing a `konqueror mailto:/dsf@erw` for giggles, admiring the error message and then moving on.

Where is the association for the smtps URI stored?

kmail has become my main mail app, so a swift resolution would be greatly appreciated!
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Did you update anything recently? It's the first time I see an error like this.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
RJVB
Registered Member
Posts
79
Karma
0
OS
Well, I'm working with others to improve the overall KDE experience on OS X, addressing all kinds of issues. So yes, I'm "updating" many things, though nothing related to sending email or the way whatever component determines what protocol to use for what URI. And certainly not after the last time I sent an email successfully.
BTW: MacPorts maintains port snapshots, so I've been able to switch back to using an older kdelibs install (which is basically the only component I did something on yesterday). No luck there, expectedly.

For a minute I thought it might have to do with running `kget`, but quitting it sadly didn't return email send behaviour to normal.

I did have a very curious Qt4 issue one day before, where window content wasn't being resized anymore. Also started "out of the blue" and required a Qt4 reinstall (*not* of my global Qt settings file...). So that's what I'm doing with kdepim4 c.s. now too ...

Hence my question, where should I look for f***ed up config files?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
What if you remove the Mail Dispatcher Agent (using "akonadiconsole") and add it back again?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
RJVB
Registered Member
Posts
79
Karma
0
OS
Any chance that one of the below libraries from kdepim 4.12.5 might be involved?

Code: Select all
18146157 -rwxr-xr-x 1 root admin  152344 Sep 17 20:16 /opt/local//lib/libkdepimdbusinterfaces.4.14.1.dylib.mp_1412241684*
18146149 -rwxr-xr-x 1 root admin  130128 Sep 17 20:16 /opt/local//lib/libakonadi_next.4.14.1.dylib.mp_1412241684*
18146160 -rwxr-xr-x 1 root admin   79972 Sep 17 20:18 /opt/local//lib/libksieve.4.14.1.dylib.mp_1412241684*
18146159 -rwxr-xr-x 1 root admin  471736 Sep 17 20:19 /opt/local//lib/libkpgp.4.14.1.dylib.mp_1412241684*
18146161 -rwxr-xr-x 1 root admin  133144 Sep 17 20:19 /opt/local//lib/libkmanagesieve.4.14.1.dylib.mp_1412241684*
18146166 -rwxr-xr-x 1 root admin  113048 Sep 17 20:19 /opt/local//lib/libgrammar.4.14.1.dylib.mp_1412241684*
18146169 -rwxr-xr-x 1 root admin   88052 Sep 17 20:20 /opt/local//lib/libgrantleetheme.4.14.1.dylib.mp_1412241684*
18146150 -rwxr-xr-x 1 root admin 1190292 Sep 17 20:21 /opt/local//lib/libkdepim.4.14.1.dylib.mp_1412241684*
18146213 -rwxr-xr-x 1 root admin   98036 Sep 17 20:22 /opt/local//lib/libsendlater.4.14.1.dylib.mp_1412241684*
18146212 -rwxr-xr-x 1 root admin   35656 Sep 17 20:22 /opt/local//lib/libfolderarchive.4.14.1.dylib.mp_1412241684*
18146165 -rwxr-xr-x 1 root admin  660040 Sep 17 20:22 /opt/local//lib/libcomposereditorng.4.14.1.dylib.mp_1412241684*
18146215 -rwxr-xr-x 1 root admin  130424 Sep 17 20:23 /opt/local//lib/libakregatorinterfaces.4.14.1.dylib.mp_1412241684*
18146196 -rwxr-xr-x 1 root admin  263588 Sep 17 20:23 /opt/local//lib/libpimactivity.4.14.1.dylib.mp_1412241684*
18146158 -rwxr-xr-x 1 root admin 2469980 Sep 17 20:25 /opt/local//lib/libkleo.4.14.1.dylib.mp_1412241684*
18146286 -rwxr-xr-x 1 root admin   98784 Sep 17 20:35 /opt/local//lib/libkcal_resourceremote.4.14.1.dylib.mp_1412241684*
18146284 -rwxr-xr-x 1 root admin  135448 Sep 17 20:35 /opt/local//lib/libkcal_resourceblog.4.14.1.dylib.mp_1412241684*
18146211 -rwxr-xr-x 1 root admin  194736 Sep 17 20:38 /opt/local//lib/libkaddressbookgrantlee.4.14.1.dylib.mp_1412241684*
18146153 -rwxr-xr-x 1 root admin  597032 Sep 17 20:38 /opt/local//lib/libcalendarsupport.4.14.1.dylib.mp_1412241684*
18146180 -rwxr-xr-x 1 root admin  870264 Sep 17 20:41 /opt/local//lib/libpimcommon.4.14.1.dylib.mp_1412241684*
18146190 -rwxr-xr-x 1 root admin  762532 Sep 17 20:42 /opt/local//lib/libkdepimmobileui.4.14.1.dylib.mp_1412241684*
18146224 -rwxr-xr-x 1 root admin  647048 Sep 17 20:46 /opt/local//lib/libakregatorprivate.4.14.1.dylib.mp_1412241684*
18146232 -rwxr-xr-x 1 root admin  456428 Sep 17 20:48 /opt/local//lib/libknotesprivate.4.14.1.dylib.mp_1412241684*
18146156 -rwxr-xr-x 1 root admin 1206676 Sep 17 21:05 /opt/local//lib/libincidenceeditorsngmobile.4.14.1.dylib.mp_1412241684*
18146155 -rwxr-xr-x 1 root admin 1433280 Sep 17 21:06 /opt/local//lib/libincidenceeditorsng.4.14.1.dylib.mp_1412241684*
18146168 -rwxr-xr-x 1 root admin  479244 Sep 17 21:08 /opt/local//lib/libmessagecore.4.14.1.dylib.mp_1412241684*
18146154 -rwxr-xr-x 1 root admin 1990484 Sep 17 21:08 /opt/local//lib/libeventviews.4.14.1.dylib.mp_1412241684*
18146189 -rwxr-xr-x 1 root admin  214628 Sep 17 21:14 /opt/local//lib/libgrantleethemeeditor.4.14.1.dylib.mp_1412241684*
18146237 -rwxr-xr-x 1 root admin  496652 Sep 17 21:17 /opt/local//lib/libmailimporter.4.14.1.dylib.mp_1412241684*
18146162 -rwxr-xr-x 1 root admin 1813604 Sep 17 21:27 /opt/local//lib/libksieveui.4.14.1.dylib.mp_1412241684*
18146176 -rwxr-xr-x 1 root admin 2326568 Sep 17 21:43 /opt/local//lib/libmessageviewer.4.14.1.dylib.mp_1412241684*
18146171 -rwxr-xr-x 1 root admin  496384 Sep 17 21:45 /opt/local//lib/libtemplateparser.4.14.1.dylib.mp_1412241684*
18146179 -rwxr-xr-x 1 root admin 1888620 Sep 17 21:48 /opt/local//lib/libmessagecomposer.4.14.1.dylib.mp_1412241684*
18146249 -rwxr-xr-x 1 root admin 2851320 Sep 17 21:55 /opt/local//lib/libknodecommon.4.14.1.dylib.mp_1412241684*
18146182 -rwxr-xr-x 1 root admin 2476328 Sep 17 21:57 /opt/local//lib/libmailcommon.4.14.1.dylib.mp_1412241684*
18581795 -rwxr-xr-x 1 root admin  359816 Sep 21 20:19 /opt/local//lib/libkontactprivate.4.14.1.dylib.mp_1412241684*
18581829 -rwxr-xr-x 1 root admin   63772 Sep 21 20:23 /opt/local//lib/libkorganizer_interfaces.4.14.1.dylib.mp_1412241684*
18581681 -rwxr-xr-x 1 root admin  898460 Sep 21 20:31 /opt/local//lib/libkaddressbookprivate.4.14.1.dylib.mp_1412241684*
18581814 -rwxr-xr-x 1 root admin  284104 Sep 21 20:52 /opt/local//lib/libkorganizer_core.4.14.1.dylib.mp_1412241684*
18582322 -rwxr-xr-x 1 root admin 1956340 Sep 21 22:20 /opt/local//lib/libkorganizerprivate.4.14.1.dylib.mp_1412241684*
19474345 -rwxr-xr-x 1 root admin 1372020 Sep 30 20:29 /opt/local//lib/libmessagelist.4.14.1.dylib.mp_1412241684*
19474325 -rwxr-xr-x 1 root admin 3605292 Sep 30 20:29 /opt/local//lib/libkmailprivate.4.14.1.dylib.mp_1412241684*
RJVB
Registered Member
Posts
79
Karma
0
OS
Update:

- logged in to an account that had no .kde as yet
- set it up minimally and then added a gmail account in kmail
- sending works

whew and damn

now I'm going to have to hunt down what personal settings file has been munged
OR set up everything from scratch, which is the kind of thing I HATE to do...
RJVB
Registered Member
Posts
79
Karma
0
OS
Well I be ^%@#$^

After that previous update to this thread, I restored my ~/.kde/share/ from a backup (thank you TimeMachine), but not after moving the current "corrupted" one aside.

Things worked again, so I made a unison sync profile to compare the 2 directories.

Long story short, and after a long shot guess, I found out that I had modified my network config (via systemsettings) to use the system proxy (privoxy in my case). I must have missed the fact that presents you with a different set of proxy spec fields ... so I left those empty.

That was the culprit. No clear message that the proxy configuration was incomplete or otherwise in error (like what you get with the "auto detect" setting if the detection fails). Instead, this failure message that put me completely on the wrong foot and off on an impossible posse ...


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell