-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Structurizr working perfectly on docker container locally(laptop) but behaves weird when hosted on OpenShift. #117
Comments
I know of organisations that are running the on-premises installation on OpenShift, but I have no experience myself I'm afraid. The server logs might provide some additional information. |
Hi Simon, thanks for getting back to me.
My guess is that the problem might be related to https configuration as I
saw locally the application tries to run on http but our openshift load
balancers enforce the use of https. Strangely enough structurizr/lite works
on our cluster but not the onpremises version. I read somewhere in the
documentation that https configuration could be done by modifying files
related to tomcat. But that's too complicated to my understanding.
Do you think the above could be the real reason why onpremises version
doesn't work for us?
Thanks :)
…On Tue, 7 May, 2024, 11:15 am Simon Brown, ***@***.***> wrote:
I know of organisations that are running the on-premises installation on
OpenShift, but I have no experience myself I'm afraid. The server logs
might provide some additional information.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMM7JYWH7TBSPRYN6WLFOTTZBCEQ3AVCNFSM6AAAAABHI5XWL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXG4YTGNJSG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Impossible to say given the lack of information I'm afraid. |
These are the latest logs after I start the server and click the signin button (look at the bottom)
Idk why it redirects to /dashboard/signin/dashboard/signin When I manually go to the url localhost/signin, it signs me in but takes me to this url: localhost/workspace/create/workspace/1 instead of localhost/dashboard And when again I try to manually type and go to localhost/dashboard and create a new workspace it takes me to localhost/workspace/create/workspace/2 instead of localhost/workspace/2 I'm sinking in deep deep waters.... sob sob |
My guess would be that something in your environment (e.g. nginx) is rewriting URLs incorrectly. |
Thanks again for your reply @simonbrowndotje |
Hello, we're not using nginx. Just deploying the image on docker container hosted on openshift. Still haven't been able to figure out what's going on :( |
Description
Structurizr working perfectly on docker container locally(laptop) but behaves weird when hosted on openshift.
http://localhost:8080/signin opens up as hosturl:8080/dashboard/signin
http://localhost:8080/workspace/1 opens as http://localhost:8080/workspace/create/workspace/1
all pages have this error message:
"Sorry
We can't find what you're looking for."
Steps to reproduce
I have to use an arbitrary user and own the structurizr data directory which is /usr/local/structurizr. This is my dockerfile which uses structurizr/onpremises image:
I have even tried using bare minimum dockerfile like this:
FROM remote-docker-hub.artifactory.COMPANY.net/structurizr/onpremises:latest
It runs fine locally but has issue running on openshift which is why I had to use the arbitrary user 1001 as written above.
Screenshot
Code sample
Configuration
structurizr/onpremises:latest
Severity
Minor
Priority
I have no budget and there's no rush, please fix this for free
More information
No response
The text was updated successfully, but these errors were encountered: