-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL that breaks JSON result only on our own private Amazon instance #569
Comments
I believe this is the same issue we are running into using the latest build Pete
|
OK, I just tested this to ensure I don't waste your time. We are kicking We are using Azure and have no other issues with WPT other than this, sweet Is this the same thing you are encountering Peter? Thanks, Pete
|
@padibona yep it looks like the same. One thing: We run a lot of tests and all the other works, it is just these two URLs and we just added them. |
I'm getting the same empty json response when trying to retrieve results of any test run at theguardian.com. Works fine on other URLs. Agent AMI: Job information: |
Don't know if it will solve the issue but I just pushed some logic to make the json_encode fall back to a user-mode lib that is more resilient in cases where the built-in one fails (same code that was used for the HAR export code). |
Here was the change: d806312 |
Cool I'll make a test run tomorrow and check if its work. |
I get the same on our private instance, how can I be sure that it has the latest updates? I'm not sure I fully understands the update flow. |
you can check common_lib.inc to see if json_response() includes the modified code. If you are running the server AMI it is supposed to do a "git pull origin master" hourly but it's possible something is causing that to fail. |
I can confirm d806312 fixed my problem with http://theguardian.com/. My server AMI (based on |
Yes it works now for us too, thanks! |
Hi Pat,
I have a problem with two URLs that makes the JSON API being empty on our Amazon instance. When I test it on WebPageTest.org it works fine.
The URLs:
https://pt.m.wikipedia.org/wiki/Brasil
https://pt.m.wikipedia.org/wiki/Brasil?mobileaction=beta
On our local instance, we send the request, then the result page looks good:
http://wpt.wmftest.org/result/160224_0X_6B/
but the JSON is empty: http://wpt.wmftest.org/jsonResult.php?test=160224_0X_6B
I tested on an EC2 instance for WPT.org and there it looks fine:
http://www.webpagetest.org/result/160224_VH_RNV/
http://www.webpagetest.org/jsonResult.php?test=160224_VH_RNV
I've been trying to see if I could find something in the log for the server, but the only error l find is a problem with EC2 being down a couple of weeks ago. But it could be I'm looking in the wrong place (/var/www/webpagetest/www/log). Can you send me in the right direction where I should look? Or maybe you know what could be the problem? All our other URLs works fine.
Best
Peter
The text was updated successfully, but these errors were encountered: