You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, October 20th 2010, 3:18pm

Sporadic Error - loading error (IO error)

I'm occasionally getting a 'krpano.xml - loading error (IO error)'

I'd understand if it happened every time I tried to load the pano because there is probably an incorrect path somewhere but it only seems to happen maybe 10% of the time. Seems to happen in all browsers so it isn't browser specific. Any ideas please?
Chatmandu has attached the following image:
  • Screen shot 2010-10-20 at 13.58.12.png

This post has been edited 1 times, last edit by "Chatmandu" (Oct 22nd 2010, 8:49am)


2

Friday, October 22nd 2010, 8:49am

How nobody got an idea about this?

Dealing with a client and if I can't resolve it then it looks like another bit of software will have to be used which is pretty frustrating to be honest.

3

Friday, October 22nd 2010, 11:14am

Hi,

an IO-Error simply means that it was not possible to load that file,
either the server has not able to deliver the file or there was a strange network error,

krpano already tries to download a file a several times in such case to be able to
load a file also when the server is very (too) busy to serve the requests,
but that's an very rare situation and it will normally happen only on very frequent servers
and where the number of connections is limited,

best regards,
Klaus

4

Friday, October 22nd 2010, 11:58am

Hmmmm it's an odd one really because the servers the files are on are pretty rock solid but it happens often enough that it's an issue.

5

Friday, October 22nd 2010, 12:00pm

Hi,

do you have a link to see the problem?

best regards,
Klaus

6

Friday, October 22nd 2010, 12:41pm

Hi Klaus here is a link example - http://www.civichalls.liverpool.gov.uk/t…amber/index.asp

The site does sit on load balanced servers although all of the correct files are indeed on both servers.

7

Saturday, October 23rd 2010, 11:22am

Hi,

thanks for the link!
I was not able to produce a error, also not with disabled cache any many many reloads,

but I have added now an the new possibility for the next release:
the "network.retrycount" can now be passed as variable during the flash embedding and
it will be parsed already before starting loading the first xml,

then you can do something like that:

Source code

1
2
swf.addVariable("network.retrycount","99"); 
swf.addVariable("xml","panoconfig.xml");

this forces files to be reloaded up to 100 times before showing an error,
the current default setting is 2, which means krpano will try to download a file up to 3 times,

best regards,
Klaus

8

Monday, October 25th 2010, 1:00pm

Thanks for taking the time to look and the erratic nature of the error happening made it a little harder to track down.

I think that solution you have proposed should take care of the problem because even if we get the error usually a refresh does the job. It just isn't ideal getting the error on the pages from a user perspective, so a few more attempts before spitting out the error would do the job.

Any rough ideas when there will be an update?

Once again thanks for taking a look.

9

Tuesday, November 16th 2010, 11:34am

Hi, was this functionality included in the last release?

I still have the same problems and would really like to resolve.

10

Wednesday, November 17th 2010, 1:49pm

Hi,

yes, this functionality is included in the latest release,
now you try to add that code in the html:

Source code

1
swf.addVariable("network.retrycount","99"); 


best regards,
Klaus