ThinkGeo.com    |     Blog    |     Wiki    |     Support

Pink tiles with Web farm

Has anyone had an issue with this at all? I have 3 servers all in a web farm. 1 is the balance server, that has the actual web farm installed, the other 2 are my websites. Both identical, both set up to round robin share the load between each other.
I’ve installed a thinkgeo prod license on all 3 boxes. I’m using the latest thinkgeo 10 code. This all works fine when my app is just on 1 server, but in this IIS web farm configuration, I get nothing but pink tiles. Are there special settings i need to make in order for this to work?

Hi Thomas,

Our developer need more time on test it, could you please let us know whether you did any custom setting (changed based on the default configuration), so we can set in our test server for restore the scenario.

Regards,

Don

I do have IsDefaultJavascriptLibraryDisabled= true, and all of the javascript files bundled and compressed based on my other questions in MVC Edition 9 javascript files issues . Other than that, i don’t think i have any other strange configurations.

One other point. I have 3 servers: https://a.test.com, and https://b.test.com are my real servers with the application on it. https://balance.test.com is my web farm load balancer.

If i go to https://a.test.com or https:/b.test.com , both sites show the map w/out issues. if i go to https://balance.test.com, my website comes up with no problems other than the pink tiles from the map. That is the only difference.

Hi Thomas,

Thanks for your information, our developer will try to reproduce that and see how to solve it.

Any progress we will update here to let you know.

Regards,

Don

Hi Thomas,

We created the environment and reproduced that, our developer will do further works based on that.

But it looks the web farm framework had stopped update some years, if finally we found that’s a problem from the framework, we cannot make sure whether we can solve it.

Any update we will let you know.

Regards,

Don

Thank you for looking into it!

Hi Thomas,

Our developer finally find the reason of that.

That’s because the special session handle mode for web farm, it saved the session in the first server which receive the request, but hadn’t sync the session to other machine in web farm group. But our map is using session to save status and sync between client side and server side, so the other machine cannot access the session and can only render as pink tile.

The solution is set session state mode to SqlServer or StateServer.

Please view here for more detail solution: https://dotnetcodr.com/2013/07/01/web-farms-in-net-and-iis-part-5-session-state-management/

Regards,

Don