Upload problem in element-ui.

Project description

1.Spring Boot+Spring Cloud
2. The upload service uses fastDFS
3.upload micro-service port 8089
4. Local host mapping 127.0.0.1 upload.example.com
5.nginx proxy upload.example.com to port 8089

problem description

use
http://localhost:8089/upload/image normal
http://upload.example.com/upload/image failed to access the service in action

  1. when simulating domain name access, the none, backend will report "Current request is not a multipart request" when simulating domain name access. This should indicate that the nginx agent is in effect.
  2. when simulating domain name access at the same time, the console will report a cross-domain error, but the backend has enabled CORS access.
  3. if only api,/upload/image el-upload is entered, the current domain name will be spliced automatically, and cross-domain errors will also be reported.
  4. use http-request to override action, you can see OPTION 200, POST image same cross-domain error in the console.
  5. client_max_body_size should be 1MB by default, and only 100+kb is the image uploaded in the test.
Feb.10,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a9aa-2c23e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a9aa-2c23e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?