Tuesday, December 1, 2015

Re: GoogleBot is using the wrong permutation?

Hi Ed,

Looks like the googlebot user agent is not handled by GWT permutations. I have collapsed all permutations and I am still getting 404 in my web server logs where the google bot is trying to get the undefined.cache.js

An interim solution / workaround until the GWT crew can fix this is mentioned here in the previous conversation we had at https://groups.google.com/forum/#!msg/google-web-toolkit/tmUeYATU2kA/6F8OjCH1CgAJ

The fix was to
$sudo ln -s /var/lib/tomcat7/webapps/myapp/myapp/D44347868....cache.js /var/lib/tomcat7/webapps/myapp/myappundefined.nocache.js

after every deployment.

Here is the script version
sudo ln -s `ls /var/lib/tomcat7/webapps/myapp/myapp/*.cache.js | head -n 1` /var/lib/tomcat7/webapps/myapp/myapp/undefined.nocache.js
after every deployment.

I was already doing
$sudo touch /var/lib/tomcat7/webapps/myapp/myapp/myapp.nocache.js

after every deployment, so it's one more line that shouldn't exist in the first place in the deployment script.


On Tue, Dec 1, 2015 at 1:30 AM, Ed <post2edbras@gmail.com> wrote:
Has anybody experiences the following situation?
GoogleBot is using a permutation that doesn't exists (anymore)? :(

Details:
Googlebot (GB) comes by to crawl the site (build with GWT 2.7.0: leuker.nl) and generates some exception on some page, namely leuker.nl/zorgtoeslag/acties), this only occurs when GB accesses the site. The exception looks like:

---

Cannot call method 'xg' of null

        at Unknown.NOb(https://leuker.nl/aangifte/acties) ~[na:na]

        at Unknown.Mrd(https://leuker.nl/aangifte/acties) ~[na:na] 
        .....
----

The deObfuscator in the backend complaints that it's receiving a permutation from the frontend, that doesn't exists, and checking it manually, it really doesn't exists... It had that already a few times when deploying new versions.
So:
1) What permutation is GB using ? I could it be a cashed one (old one) ?
2) I can't solve this issue without deObfuscating (I don't want to put a pretty-version online, it's too big).

Any idea ?
- Ed 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--
Vassilis Virvilis

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment