Discussion:
Cannot set up SMTP and cannot connect to update server
b***@gmail.com
2018-10-11 12:58:10 UTC
Permalink
Hi,

I've just installed Bugzilla version 5.0.4 on a corporate Windows server on IIS.

I have two problems with the installations which might be related somehow.

The first is that I cannot set up a connection to Gmail's SMTP server through any means. The error message is displayed when saving the settings, "Cannot connect to smtp server ..."

I tried to manually edit params.json, this way the values are at least "saved", but when the application tries to send mails it returns a similar error.

I've enabled debugging as well and checked the logs generated by IIS, they are of no information (to me at least).

I though the problem might be firewall related, but it looks like it is not, since I am successfully sending mails from another application on the same server through this exact same SMTP server (to be specific: smtp.gmail.com, port 587), and I can also ping and telnet into this address and port.

I've tried all of the different smtp servers and port combinations from this Google Support article, to no avail:

https://support.google.com/a/answer/176600?hl=en

The second problem occurs on the home page, stating the following:
"The remote file http://updates.bugzilla.org/bugzilla-update.xml cannot be downloaded (reason: 500 Can't connect to updates.bugzilla.org:80 (nodename nor servname provided, or not known))."

The problem is similar to the first one, since I can successfully ping and telnet into this address, only Bugzilla cannot access it.

Running checksetup.pl informs me that the mandatory modules are installed, there are some optional ones which are not. It gives me the commands to install them but none of them work: "Can't find any package that provides <modulename>"

ppm itself works because all the other modules I installed successfully by hand.

The missing modules are:

RadiusPerl: ppm install RadiusPerl
Encode-Detect: ppm install Encode-Detect
TheSchwartz: ppm install TheSchwartz
Daemon-Generic: ppm install Daemon-Generic
mod_perl: ppm install mod_perl
Apache-SizeLimit: ppm install Apache-SizeLimit
File-MimeInfo: ppm install File-MimeInfo
Cache-Memcached: ppm install Cache-Memcached

Thank you!
Thorsten Schöning
2018-10-11 14:12:37 UTC
Permalink
Post by b***@gmail.com
The first is that I cannot set up a connection to Gmail's SMTP
server through any means. The error message is displayed when saving
the settings, "Cannot connect to smtp server ..."
[...]
Post by b***@gmail.com
"The remote file http://updates.bugzilla.org/bugzilla-update.xml
cannot be downloaded (reason: 500 Can't connect to
updates.bugzilla.org:80 (nodename nor servname provided, or not known))."
Both problems in my opinion very likely have to do with your network,
either firewall or proxy. Sending mails form some other app doesn't mean
much, simply because depending on what you actually use as firewall or
proxy, different apps might have been whitelisted or are configured to
use the proxy, while others are not.

So you need to check how exactly your network is implemented between
your Bugzilla and Google and check all aspects of firewalls and
proxies. Tools like Wireshark or Process Monitor might be of help as
well, because using those you can see how other apps communicate or
error who is forbidding access to some target IPs and ports.

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
b***@gmail.com
2018-10-17 12:28:25 UTC
Permalink
Post by Thorsten Schöning
Post by b***@gmail.com
The first is that I cannot set up a connection to Gmail's SMTP
server through any means. The error message is displayed when saving
the settings, "Cannot connect to smtp server ..."
[...]
Post by b***@gmail.com
"The remote file http://updates.bugzilla.org/bugzilla-update.xml
cannot be downloaded (reason: 500 Can't connect to
updates.bugzilla.org:80 (nodename nor servname provided, or not known))."
Both problems in my opinion very likely have to do with your network,
either firewall or proxy. Sending mails form some other app doesn't mean
much, simply because depending on what you actually use as firewall or
proxy, different apps might have been whitelisted or are configured to
use the proxy, while others are not.
So you need to check how exactly your network is implemented between
your Bugzilla and Google and check all aspects of firewalls and
proxies. Tools like Wireshark or Process Monitor might be of help as
well, because using those you can see how other apps communicate or
error who is forbidding access to some target IPs and ports.
Mit freundlichen Grüßen,
Thorsten Schöning
--
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Thank you Thorsten! I hoped to solve this by myself but it turns out I won't be able to. I will take up this problem with our system engineers.

Best Regards,
Balint

Continue reading on narkive:
Loading...