The FOSSBilling Forum
Email is invalid - Printable Version

+- The FOSSBilling Forum (https://forum.fossbilling.org)
+-- Forum: Support (https://forum.fossbilling.org/forum-7.html)
+--- Forum: Support - Bugs & Errors (https://forum.fossbilling.org/forum-10.html)
+--- Thread: Email is invalid (/thread-171.html)



Email is invalid - neomaslov - 01-10-2025

When signing up as new client I get:

Quote:System message
Email address is invalid (9999)


Email is actually valid, here's payload:
Code:
{
  "CSRFToken": "8772ef43e0054029b74e739104bc6655",
  "first_name": "Velopulsas Test 2",
  "email": "[email protected]",
  "password": "Dadadada123-",
  "password_confirm": "Dadadada123-"
}


Response:
Code:
{"result":null,"error":{"message":"Email address is invalid","code":9999}}

I tried different combinations with no luck. I have https enabled and configured which was not after installation.


RE: Email is invalid - BelleNottelling - 01-12-2025

Does your server have a working DNS configuration?
DNS validation is performed when checking if an email address is valid.


RE: Email is invalid - neomaslov - 01-12-2025

Yes, it helped! I've added my local DNS server running on 192.168.31.50, where PiHole is located to namservers declaration in /etc/netplan/default.yaml:

Code:
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    end0:
      dhcp4: false
      addresses: [192.168.31.61/24]
      routes:
      - to: default
        via: 192.168.31.1
      nameservers:
        addresses: [192.168.31.50]

Explanation:
192.168.31.61 is a machine where FOSS is running
192.168.31.1 is a router which gives out addresses (DHCP)