B-Spec Grinder 2.5.2: Automate Remote Races

  • Thread starter yonis
  • 4,266 comments
  • 568,633 views
Yonis, Any Idea why I just got this Popup?

GrinderError.jpg

no clue, but that girl gave me a popup of my own.
 
Well I culled some "GT planet friends" that weren't doing any remote racing, so hopefully this will help to load more drivers of you hardcore remote racing guys that have been running my bobs so much! :cheers:

Also, I sent you a small donation, Yonis, and if this makes it onto an Android app, I'll gladly donate again! 👍
 
Last edited:
I set options as below and it's now working.

CONFIG.activeDriverCount = CONFIG.queueCount = 0
Free Up 0 Drivers (Was previously set to 1)
Races of Any Length (Was previously set to Max Length)

I'll send you more info when I narrow down what is causing the errors.

It appears the issue is with the Free Up X Drivers. As soon as I set it to Free Up 1 Driver it fails with the error message below:

03/03/11 18:02:29.487: Race has started.
03/03/11 18:09:38.868: There's nobody to race!
03/03/11 18:09:41.964: ###############Server sent bad data. Retrying. (Attempt 1)
03/03/11 18:09:43.083: ###############Server sent bad data. Retrying. (Attempt 2)
03/03/11 18:09:44.739: ###############Server sent bad data. Retrying. (Attempt 3)
03/03/11 18:09:44.761: ###############Could not successfully retrieve data! Will try reconnecting in 1 minute.
03/03/11 18:09:44.836: Resetting state. Waiting for 1 minute(s). Will reauthenticate.


The options for CONFIG.activeDriverCount = CONFIG.queueCount = 0 and the Race Length options don't appear to have any adverse effects.

Thanks for looking into it.
 
Yonis, Any Idea why I just got this Popup?
You're at least the second person to see this, so it's definitely a problem now. I have an idea, but I don't know if it's correct. Maybe Sony's servers are trying to redirect you to a server outside of the domains I've defined outside of my sandbox.

I'm going to put in an alert which tells you where the Widget is trying to redirect to if it's outside of the four domains I've specified in my security manifest.
 
Time for a status update!

THE WIDGET IS VERY SLOW TO START RACES.
Heard you loud and clear. I just finished writing a queuing system which will let me start running 4 requests at a time again. This will be in the next version.

I'M HAVING PROBLEMS WHEN IT'S LOADING/SELECTING DRIVERS.
A major rewrite is happening in this area which will hopefully make this not only more stable but much faster. The next version will still pick randomly from your friends, but it will not discriminate between friends based on their driver count; each friend will have an equal chance of having their drivers raced as long as they have more available drivers than your "free up" preference.

I WANT TO SPECIFY A SET OF FRIENDS TO FAVOR OVER THE REST OF MY LIST.
I want this too. This won't be in the directly upcoming version, but I'm laying the groundwork for this feature as part of the rewrite of the piece of the Widget I've mentioned in the previous section.

I WANT TO SEE A LOG OF RACES TO MONITOR HOW THE WIDGET IS PROGRESSING.
I want this too. Again, this won't be in the next version, but it is planned, and I will do it right. In the meantime, you can open the Debug Window using the instructions in the first post on this thread. It's janky, but it will do the job for now.

THERE'S A SECURITY ERROR POPPING UP SAYING THAT THE WIDGET ATTEMPTED AN UNAUTHORIZED ACTION.
I'm taking this very seriously. The problem is very likely that the Widget is trying to access a URL that is not defined in my security manifest and so it's freaking out. My guess is that Sony's servers are redirecting the Widget to a domain that I was not expecting. I'm putting an alert in which will intercept this, and tell you exactly where the Widget been told to go BEFORE the security error appears. If you have the debug window open, it will also dump the Widget's current configuration to it so you can copy it. This alert will be in the very next version.
 
THERE'S A SECURITY ERROR POPPING UP SAYING THAT THE WIDGET ATTEMPTED AN UNAUTHORIZED ACTION.
I'm taking this very seriously. The problem is very likely that the Widget is trying to access a URL that is not defined in my security manifest and so it's freaking out. My guess is that Sony's servers are redirecting the Widget to a domain that I was not expecting. ...//...

Just to clarify, do you mean that you think Sony's servers are specifically targeting the widget as though Sony are aware of it and attempting to make life difficult for it ?

(apologies for double post - I should have edited)
 
Time for a status update!

THE WIDGET IS VERY SLOW TO START RACES.
Heard you loud and clear. I just finished writing a queuing system which will let me start running 4 requests at a time again. This will be in the next version.

I'M HAVING PROBLEMS WHEN IT'S LOADING/SELECTING DRIVERS.
A major rewrite is happening in this area which will hopefully make this not only more stable but much faster. The next version will still pick randomly from your friends, but it will not discriminate between friends based on their driver count; each friend will have an equal chance of having their drivers raced as long as they have more available drivers than your "free up" preference.

I WANT TO SPECIFY A SET OF FRIENDS TO FAVOR OVER THE REST OF MY LIST.
I want this too. This won't be in the directly upcoming version, but I'm laying the groundwork for this feature as part of the rewrite of the piece of the Widget I've mentioned in the previous section.

I WANT TO SEE A LOG OF RACES TO MONITOR HOW THE WIDGET IS PROGRESSING.
I want this too. Again, this won't be in the next version, but it is planned, and I will do it right. In the meantime, you can open the Debug Window using the instructions in the first post on this thread. It's janky, but it will do the job for now.

THERE'S A SECURITY ERROR POPPING UP SAYING THAT THE WIDGET ATTEMPTED AN UNAUTHORIZED ACTION.
I'm taking this very seriously. The problem is very likely that the Widget is trying to access a URL that is not defined in my security manifest and so it's freaking out. My guess is that Sony's servers are redirecting the Widget to a domain that I was not expecting. I'm putting an alert in which will intercept this, and tell you exactly where the Widget been told to go BEFORE the security error appears. If you have the debug window open, it will also dump the Widget's current configuration to it so you can copy it. This alert will be in the very next version.

Thank yonis 👍
 
03/03/11 20:22:46.382: Race has started.
03/03/11 20:48:57.358: Race has started.
03/03/11 20:58:59.751: Race has started.
03/03/11 21:07:09.612: Race has started.
03/03/11 21:14:04.917: ###############Server sent bad data. Retrying. (Attempt 1)
03/03/11 21:14:27.444: ###############Server sent bad data. Retrying. (Attempt 1)
03/03/11 21:14:35.921: ###############Waited for 30 seconds and never received a server response. Retrying. (Attempt 2)
03/03/11 21:14:36.727: ###############Yay! The re-request worked!
03/03/11 21:14:37.818: ###############Yay! The re-request worked!
03/03/11 21:21:05.813: Somehow got stuck in no man's land. Resetting and trying again.
03/03/11 21:21:05.986: Resetting state. Waiting for 0.016666666666666666 minute(s). Will reauthenticate.
03/03/11 21:21:24.472: RAW STATUS: Ready.
03/03/11 21:23:13.024: Race has started.
03/03/11 21:37:47.651: Race has started.
03/03/11 21:47:47.771: Race has started.
03/03/11 21:54:35.566: ###############Server sent bad data. Retrying. (Attempt 1)
03/03/11 21:54:36.762: ###############Server sent bad data. Retrying. (Attempt 2)
03/03/11 21:54:37.957: ###############Server sent bad data. Retrying. (Attempt 3)
03/03/11 21:54:37.974: ###############Could not successfully retrieve data! Will try reconnecting in 1 minute.
03/03/11 21:54:38.141: Resetting state. Waiting for 1 minute(s). Will reauthenticate.
03/03/11 21:55:54.248: RAW STATUS: Racing.

Had some errors today although apart from that, it has been running practically the while day without a hitch
 
Thank you so much for this app, very useful 👍

I have a problem though. When a race has ended, nothing happens. I've tried waiting for more than 2 hours but it still only says "Race ended". Any idea why this is happening and how to solve it?
 
I have 2 questions, Yonis. I started noticing a loss of performance from my home wireless network (my PS3 is connected wireless). I suspect that the widget is gobbling up the resources. Anyone else notice this? Do you think it's the widget, Yonis?

In trying to figure out what was causing the issue, I did a control-alt-delete to examine what was going on in my computer and saw that there are three B-Spec Grind widgets running. Not one, three. Is that normal? Why?
 
Hey Yonis I'm having a problem where the widget is failing to connect to Sony servers after the 1st race completes. I've reloaded it and it works through one race again, but then fails to connect and the widget has me click to reconnect.

This isn't a real big issue if I'm at the computer, but I run the widget mainly when I'm at work/school, so in all reality I'm not getting any races hosted. Any idea why this may be happening? My connection is up etc.
 
I have 2 questions, Yonis. I started noticing a loss of performance from my home wireless network (my PS3 is connected wireless). I suspect that the widget is gobbling up the resources. Anyone else notice this? Do you think it's the widget, Yonis?

In trying to figure out what was causing the issue, I did a control-alt-delete to examine what was going on in my computer and saw that there are three B-Spec Grind widgets running. Not one, three. Is that normal? Why?
You should have 1+n YahooWidgets.exe running where n is the number of widgets you have open.

I run 3 grinder widgets and have had any problem with resources. They all use minimal RAM and almost no bandwidth (windows 7 x64).
 
Hello Yonis,
I was having problems with the widget. Uninstalled the widget and the yahoo widget launcher. I wanted to do a clean install of both. However, When I reinstalled everything, It kept all my settings. How do I completely remove the widget so it looks like a fresh install.

Thanks
 
Slight issue with credits.

V.1 of widget.
Used the widget, all fine. Closed widget. Purchased some cars, thus reducing my credit on GT5. Re-ran widget but credits in top right corner of widget have not changed - it's still showing the old toatal prior to purchases.

Is this fixable locally?
Thanks
 
Slight issue with credits.

V.1 of widget.
Used the widget, all fine. Closed widget. Purchased some cars, thus reducing my credit on GT5. Re-ran widget but credits in top right corner of widget have not changed - it's still showing the old toatal prior to purchases.

Is this fixable locally?
Thanks

I think that's more a problem of the GT-Servers which don't update only half an hour or so.
 
Basically, PD/Sony/GT5 remote races are being hosted by a 3rd party company... The Amazon Elastic Compute Cloud, to name one.

The redirection to another URL that Yonis spoke of is most likely a normal redirect. I'm guessing that they are load balancing all the data requests between several physical and virtual servers. I'm no expert on the subject, but it stands to reason if one of these servers doesn't "hand-off" to another server cleanly, it can cause issues with connectivity.

This is further complicated by the fact that your PS3 is also part of this computing cloud. When you have your PS3 in remote server mode, it is connecting to this server cluster to report game status and outcome. This brings in yet another layer where instability can cause issues since the traffic between your PS3 and the server cluster is subject to the same problems as any other internet traffic.

The remote racing is a far more complicated scenario than the interface suggests.
 
03/03/11 11:59:16.874: API is down for maintenence. Will refresh in 5 minutes.

...
03/03/11 12:06:09.452: Failed to connect to Sony's servers. Make sure your computer can connect to the following addresses:
store.playstation.com
www.gran-turismo.com
eu.gran-turismo.com
us.gran-turismo.com
03/03/11 12:06:09.452: Resetting state. Waiting for 0.25 minute(s). Will reauthenticate.
03/03/11 12:06:37.796: RAW STATUS: Racing.
03/03/11 12:08:42.155: Race has started.


Hi Yonis,

I am sure this is nothing to do with the widget, but it might be of some interest to you. The widget did try to restart several times before being succesful.

Thank you again for a great Widget :)
 
03/03/11 11:59:16.874: API is down for maintenence. Will refresh in 5 minutes.

...
03/03/11 12:06:09.452: Failed to connect to Sony's servers. Make sure your computer can connect to the following addresses:
store.playstation.com
www.gran-turismo.com
eu.gran-turismo.com
us.gran-turismo.com
03/03/11 12:06:09.452: Resetting state. Waiting for 0.25 minute(s). Will reauthenticate.
03/03/11 12:06:37.796: RAW STATUS: Racing.
03/03/11 12:08:42.155: Race has started.


Hi Yonis,

I am sure this is nothing to do with the widget, but it might be of some interest to you. The widget did try to restart several times before being succesful.

Thank you again for a great Widget :)

Getting this as well.
 
I have this Error msg every time i try to start the widget can someone give me a solution?

Failed to connect to Sony's servers. Make sure your computer can connect to the following addresses:
store.playstation.com
www.gran-turismo.com
eu.gran-turismo.com
us.gran-turismo.com
 
I have this Error msg every time i try to start the widget can someone give me a solution?

Failed to connect to Sony's servers. Make sure your computer can connect to the following addresses:
store.playstation.com
www.gran-turismo.com
eu.gran-turismo.com
us.gran-turismo.com

Yes, wait. There seems to be some maintenance being done to the servers so there is nothing you can do for now. The problem is with logging in.
 
I have this Error msg every time i try to start the widget can someone give me a solution?

Failed to connect to Sony's servers. Make sure your computer can connect to the following addresses:
store.playstation.com
www.gran-turismo.com
eu.gran-turismo.com
us.gran-turismo.com

I got the same message. The servers are acting up. Remote racing works fine from the GT website, but the widget doesn't connect at all.
 
I got the same message. The servers are acting up. Remote racing works fine from the GT website, but the widget doesn't connect at all.
Log out and try logging back in to race manually and you will see that you can't. People (and widgets) already logged in can race fine. Since the widget will try re-authenticating every now and then for various reasons, it will fail when it tries.
 
Log out and try logging back in to race manually and you will see that you can't. People (and widgets) already logged in can race fine. Since the widget will try re-authenticating every now and then for various reasons, it will fail when it tries.

It wasn't loading at all and that's the reason why I went to the website to remote race. Following this race, I am going to see what the widget does. If it doesn't connect again, then I will obviously have to continue using GT's site or do it manually from the PS3.
 
Back