Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
CSS files dissapearing through a load balancer
Community
›
Forums
›
Technology & Integration
CSS files dissapearing through a load balancer
New Post
New Post
Eric Baicker-McKee
Posted on 2012-10-18
Eric Baicker-McKee
Rank: #15880
Posted on 2012-10-18
Hey all,
I've got a bit of an interesting problem. We've got a product that, when we try to access normally, appears exactly as we want it to. However, we want to be able to run our service through a load balancer first, and this is where things get interesting. All of the CSS files except for the base theme vanish, including Black.css, Wave.css, and a few other style sheets. This, as you can imagine, creates a number of problems when accessing the site. How do I ensure that the various css files are included when I route through a load balancer?
-Eric
Miguel Ventura
Posted on 2012-10-22
Miguel Ventura
Rank: #72
Posted on 2012-10-22
Solution
Hi Eric,
I can't help you without knowing what kind of configuration are you using for the load balancing. There should be no difference between the base theme stylesheets and the rest. Some things you may want to check are:
Is your load balancer transforming the URLs in any way?
What does the browser tell you when you access the supposed URLs of the CSS files? Is it a 404 error?
What about if you try to access the CSS files without specifying the cache invalidation suffix? (at the end of the URL, something like "?number")
Can you check if the files are being deployed to the frontends that lie behind the load balancer?
Let's see if by answering these questions you can get to the root of the problem.
Cheers,
Miguel
Solution
Eric Baicker-McKee
Posted on 2012-10-23
Eric Baicker-McKee
Rank: #15880
Posted on 2012-10-23
Solution
Hey Miguel-
Thanks for your fast response! As it turns out, we managed to resolve this issue late yesterday while working with Outsystems support. The main issue was that our hosting provider was redirecting to our directory for not only the IP of the load balancer but also for the references of the subdirectories as well. This redirect caused the RichWidgets library at http://[primary_ip]/RichWidgets/ to redirect to http://[primary_ip]/AppName/, causing all of the scripting and formatting in the RichWidgets directory to be unavailable.
We implemented a solution with our hosting provider yesterday so that only a reference without a specified subdirectory will be redirected, and using this has allowed us to ensure that the RichWidgets library is not redirected, thus solving the issue.
Thanks for the support,
-Eric
Solution
Miguel Melo
mvp_badge
mvp_label
Posted on 2012-10-24
Miguel Melo
mvp_badge
mvp_label
Rank: #35
Posted on 2012-10-24
Solution
Hi Eric,
Thanks for circling back on what was wrong with your setup. That way, any people that may incur in the same misconfiguration will learn from your investigation. :)
Cheers,
Miguel
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...