Cannot set up SMTP and cannot connect to update server
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:
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.
Re: Cannot set up SMTP and cannot connect to update server
torsdag 11. oktober 2018 16.12.50 UTC+2 skrev Thorsten Schöning følgende:
> Guten Tag [hidden email],
> am Donnerstag, 11. Oktober 2018 um 14:58 schrieben Sie:
> > 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 ..."
> > 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))."
> 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: [hidden email] > 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.