aperezdc / luabot

An XMPP (Jabber) bot written in Lua using the protocol implementation from Verse/Prosody

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

urltitles: Cannot fetch titles from the Chromium bug tracker

aperezdc opened this issue · comments

Using an URL from the new Monorail bug tracker won't fetch the title. Trying to load one issue page logs the following warning:

warn  bot1       urltitles: HTTP code 0:
      https://bugs.chromium.org/p/chromium/issues/detail?id=654904

Using curl from the same machine where that gets logged works. My suspicion is that the server might be checking the User-Agent string, or the bot is not sending a suitable Accept header.

The '0' response code is returned when there is a connection error. My hunch is that it's more likely to be SSL/TLS-related.

@mwild1: good tip, I'll check the ca-certificates in the machine and the related TLS stuff.