-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
I received an Axios error while setting up my email server, and no matter which email server I change, it always reports an error: AxiosError: Request failed with status code 400。
Regarding this error, I found a similar question to mine on the official forum of NextCloud, but the problem was solved by manually modifying the parameters of the smtp server in the configuration file. I tried the same method, but still received the error message "AxiosError: Request failed with status code 400".
It is worth mentioning that according to the documentation, I enabled debugging of email logs and adjusted the NextCloud log level to 0. When the request fails, I cannot receive any debug logs about emails.
Steps to reproduce
- Open the basic settings
- Device SMTP Mail Server
- Error
Expected behavior
Can correctly set up the SMTP server
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"10.1.1.2:11224"
],
"dbtype": "mysql",
"version": "30.0.6.2",
"overwrite.cli.url": "https:\/\/10.1.1.2:11224",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"password": "***REMOVED SENSITIVE VALUE***"
},
"theme": "",
"loglevel": 2,
"maintenance": false,
"appstoreenabled": true,
"default_phone_region": "CN",
"default_language": "zh_CN",
"default_locale": "zh",
"enable_previews": true,
"enabledPreviewProviders": {
"0": "OC\\Preview\\Imaginary",
"19": "OC\\Preview\\TXT",
"1": "OC\\Preview\\MarkDown",
"2": "OC\\Preview\\OpenDocument",
"3": "OC\\Preview\\PDF",
"4": "OC\\Preview\\MSOffice2003",
"5": "OC\\Preview\\MSOfficeDoc",
"6": "OC\\Preview\\PDF",
"7": "OC\\Preview\\Image",
"8": "OC\\Preview\\Photoshop",
"9": "OC\\Preview\\TIFF",
"10": "OC\\Preview\\SVG",
"11": "OC\\Preview\\Font",
"12": "OC\\Preview\\MP3",
"13": "OC\\Preview\\Movie",
"14": "OC\\Preview\\MKV",
"15": "OC\\Preview\\MP4",
"16": "OC\\Preview\\AVI",
"17": "OC\\Preview\\EMF",
"18": "OC\\Preview\\Krita",
"20": "OC\\Preview\\WEBP"
},
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"preview_format": "webp",
"app_install_overwrite": [
"files_markdown"
],
"maintenance_window_start": 1,
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtpauth": 1,
"mail_smtptimeout": 30,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}
}List of activated Apps
Enabled:
- activity: 3.0.0
- app_api: 4.0.6
- bruteforcesettings: 3.0.0
- circles: 30.0.0
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contactsinteraction: 1.11.0
- dashboard: 7.10.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_external: 1.22.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- nextcloud_announcements: 2.0.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- previewgenerator: 5.8.0
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- support: 2.0.0
- survey_client: 2.0.0
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.6.0
- twofactor_backupcodes: 1.19.0
- twofactor_nextcloud_notification: 4.0.0
- twofactor_totp: 12.0.0-dev
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- admin_audit: 1.20.0
- encryption: 2.18.0
- suspicious_login: 8.0.0
- user_ldap: 1.21.0Nextcloud Signing status
No errors have been found.Nextcloud Logs
此错误无日志Additional info
No response
