Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

load js file fail while the server returned successfully

  • 2 trả lời
  • 4 gặp vấn đề này
  • 3 lượt xem
  • Trả lời mới nhất được viết bởi mileskunta

more options

I found a wired problem in our user's firefox.

in our project, we need load many javascript files to render the form, we have two similar js files, in firefox one loaded successfully while the other will not, but both of the js files can be loaded successfully in Chrome.

I debugged in firebug, in most times, it will have no return, and if I try to refresh the page, I can still see the request of previous page, and the response says "please reload the page to get source for http://......"

we doubt if this is because the server didn't return successfully, I used WireShark to monitor the packages received from server. It is strange that the js file returned with Http code "200"

it means the server returned successfully, but the browser didn't load it.

and this problem only happens in firefox of our user in north china, for those from Japan, Thailand, USA don't have this problem, and if I use proxy in USA, the problem will not happen either.

I found a wired problem in our user's firefox. in our project, we need load many javascript files to render the form, we have two similar js files, in firefox one loaded successfully while the other will not, but both of the js files can be loaded successfully in Chrome. I debugged in firebug, in most times, it will have no return, and if I try to refresh the page, I can still see the request of previous page, and the response says "please reload the page to get source for http://......" we doubt if this is because the server didn't return successfully, I used WireShark to monitor the packages received from server. It is strange that the js file returned with Http code "200" it means the server returned successfully, but the browser didn't load it. and this problem only happens in firefox of our user in north china, for those from Japan, Thailand, USA don't have this problem, and if I use proxy in USA, the problem will not happen either.

Tất cả các câu trả lời (2)

more options

I monitored all the requests in browser console, I found there is a POST request to safebrowsing.clients.google.com.

this request cost more than 40 seconds.

In which situation, Browser will send request to safebrowsing.clients.google.com?