Record it! After half a month of internship, when I changed the bug today (an interface for modifying personal information), it was obviously changed, and the test environment was running smoothly. When I opened the test environment demonstration, I click submit to modify and report an error network error
as shown in the following figure
I opened F12 to view the request, and found that the status was CORS error. My first feeling was that there was a cross domain problem, but I should not, Just opened the console and reported an error, as shown in the figure below:
I still feel that it is cross domain, but it should not be cross domain ~
finally, I found that the top left corner of the browser is as shown in the figure
remember that the company’s domain name has a certificate, is it because there is no s, so I changed the address bar HTTP to HTTPS, The problem is solved ~
then the cross domain reason should be that http//: test.xxx.com visited the interface of HTTPS: test.xxx.com, while the domain name allowed to cross domain in the background is http//: test.xxx.com https://test.xxx.com , which leads to cross domain ~
lack of talent and learning, misunderstanding and mistakes, please give us some advice in the comments area~
Read More:
- Chrome browser network error: err_ CERT_ AUTHORITY_ INVALID
- Debian using networking to restart the network can not start the solution of network card
- Wireless network solution of deepin Linux network card driver (manual) installation
- Docker creation container cannot find network card: error response from daemon: network XXXX not found
- Linux virtual machine network “job for” network.service failed because the control process exited with error code”
- Solution summary of VMware network card without IP and failure to start network card (continuous update)
- Ajax can’t download file to browser
- Browser performance tool
- Exception of browser accessing servlet404
- 404 error in browser accessing Servlet
- [Fixed] Chrome Browser Cannot Edit Cookies Issue
- The browser requires that samesite by default cookies be disabled
- Chrome browser settings cause err when accessing the website_ FAILED
- Solve the browser err_proxy_connection_failed problem
- QQ browser open automatically appear two web page solution
- Error message caused by browser plug-in
- The browser reported an error ‘stylesheets undefined’‘‘
- In chome browser, console reports an error but does not display it
- Transfer: completely solve the problem that the browser home page is tampered by deleting the script file