Flyspray - The bug killer!

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Notifications → Email
  • Assigned To No-one
  • Operating System Linux
  • Severity Medium
  • Priority Very Low
  • Reported Version 1.0-rc
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray - The bug killer!
Opened by Julia LECLERC - 14.02.2017

FS#2343 - Notification mail

Good Morning,

I have this message error when I want configure SMTP Server :
Completely unexpected exception: Connection could not be established with host 192.168.0.10 [Permission denied #13]
This should never happend, please inform Flyspray Developers

My flyspray installs on CentOS v7. Postfix installs on the server but I don’t configure anymore.

Can you help me please

Julia LECLERC

Project Manager
peterdd commented on 14.02.2017 20:16

I assume 192.168.0.10 is the address of another server, not the IP of the server with Flyspray?

Maybe this?

I googled Permission denied #13 and this is the first hit:
https://wiki.apache.org/httpd/13PermissionDenied

(13)Permission denied: proxy: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
This error is not really about file permissions or anything like that. What it actually means is that httpd has been denied permission to connect to that IP address and port.
The most common cause of this is SELinux not permitting httpd to make network connections.
To resolve it, you need to change an SELinux boolean value (which will automatically persist across reboots). You may also want to restart httpd to reset the proxy worker, although this isn't strictly required.
# setsebool -P httpd_can_network_connect 1
For more information on how SELinux can affect httpd, read the httpd_selinux man page.

It seems CentOS v7 changelog ( https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7 ) tells something about SELinux changes:

Known issues
SElinux received major changes in this release, which might break certain functionality on your system.
Julia LECLERC commented on 15.02.2017 08:36

My problem is solved. I have just typed this command line : setsebool -P httpd_can_network_connect 1
Then I tested the mail notification on flyspray and I received the mail in my mailbox.
In the case SMTP server I typed the FQDN (server_name.domain.fr) of my mail server.

Thank you so much for your help !

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing