-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
404 Not found /app-...-min.js and /app-...-min.css #2153
Comments
does this help you?
#1930 (comment)
…On Wed, Aug 1, 2018 at 5:52 PM, Fede López ***@***.***> wrote:
Hello,
I deployed zipkin on kubernetes but when i try to access to zipkin, it not
found:
- app-6a05bdd92a449a6ee72a.min.css
- app-6a05bdd92a449a6ee72a.min.js
https://devel.fermax.cloud/zipkin/app-6a05bdd92a449a6ee72a.min.js
timestamp | 2018-08-01T09:31:28.410+0000
-- | --
status | 404
error | Not Found
message | Not Found
path | /app-6a05bdd92a449a6ee72a.min.js
https://devel.fermax.cloud/zipkin/app-6a05bdd92a449a6ee72a.min.css
timestamp | 2018-08-01T09:31:28.410+0000
-- | --
status | 404
error | Not Found
message | Not Found
path | /app-6a05bdd92a449a6ee72a.min.css
https://devel.fermax.cloud/zipkin/zipkin/config.json
environment | ""
queryLimit | 10
defaultLookback | 3600000
instrumented | ".*"
logsUrl | null
basepath | "/zipkin"
searchEnabled | true
dependency |
lowErrorRate | 0.5
highErrorRate | 0.75
my k8s ingress:
{
"path": "/zipkin",
"backend": {
"serviceName": "zipkin-service",
"servicePort": 9411
}
},
In local with docker, It runs correctly.
Thank you for your time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2153>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD616bncm3vqz6FhajjSg-CazpymJOdks5uMXpDgaJpZM4VqMTY>
.
|
Hello Adrian, Thank you for your help. I have already tried:
I check that the env parameter is set. I check it in /zipkin/env : ZIPKIN_UI_BASEPATH | "/zipkin/zipkin" Nevertheless, zipkin don´t work. I find a workaround to solve it: knikitin@6330e76 Using that docker image: knikitin/zipkin-service But, that docker image is old (two years ago) and when I try to regiter my application in zipkin with: spring.zipkin.baseUrl= http://zipkin-service:9411 My application don´t connect with zipkin. I only want a zipkin in memory storage. Any solution ? Thank you for your time. :) |
@zeagord do you have any hints or kubernetes deployment advice for this? |
Adrian, Do you now how I can generate a new image from https://github.com/openzipkin/zipkin where I modify zipkin-ui/js files? like this commit: knikitin@6330e76 My problem is that there are zipkin-ui and zipkin-server with each poms, so I want a docker image with those changes and las version zipkin. is It possible? do you have a dockerfile to generate a image? |
firstly, that is indeed an old change.
Next, this is a relative URL
https://github.com/openzipkin/zipkin/blob/master/zipkin-ui/js/component_data/default.js#L49
I do believe there is something wrong with your setup if relative links
aren't resolving properly.
|
Can you try set the base path to
|
Helli @zeagord I tried that solution:
But, it doesn´t work. I only solve with knikitin@6330e76 But my application doesn´t connect with zipkin. So I want to create a new zipkin-ui docker image with relative url changes, but:
That are my service and deployment on k8s: apiVersion: v1
#Deployment |
any solution ? I could change code as knikitin@6330e76 and to make a new image. Or also I have thought that I could modify zipkin-server-shared.yml (base-path param), to set base-path: /zipkin/zipkin and remake a image. What do you think about that? Thank you for your time. |
Small tip. Wrap the deployment script with ```. So that it will be readable. Try the below deployment script. I assume you're using Minkube. If that's true. Enable the ingress by
|
I have my own ingress:
and when I request: https://hostname/zipkin to carry on the same error with js and css This is my ingress: { How can I user zipkin-ingress to request zipkin ? Thank you for your help @zeagord |
I honestly think, this is not a Zipkin issue since it has nothing to do it. It is more specific on how you design your ingress or routes. It should be a question that might be suit well for stackoverflow or kubernetes. |
But the others services work ok, only zipkin doesn´t work. And when knikitin@6330e76 css and js is found. So If I change zipkin, zipkin will work. If I user knikitin@6330e76 my appications aren´t registered on zipkin. so I think, I need zipkin with changes in zipkin-ui or zipkin-server-shared.yml. anyway, i will open a question on stackoverflow. Thank you for your help @zeagord anyway, how can I use zipkin-ingress to use zipkin ? |
Fede you are referring to a very old commit. Also, there are several others
who have k8s ingress working.
Until what you are referring to is verified by another person as a current
problem, there's nothing we would change here.
Raja has tried his best to help, and there are others who are working at
the moment as well. Sorry that your configuration doesn't work. I'd
recommend starting with what raja or others have. If not, and you feel like
you must change the UI, then you'd have to overlay with your own assets.
For now, we'll close the issue until another verifies this.. hope you
understand.
|
Hello,
I deployed zipkin on kubernetes but when i try to access to zipkin, it not found:
https://hostname/zipkin/app-6a05bdd92a449a6ee72a.min.js
https://hostname/zipkin/app-6a05bdd92a449a6ee72a.min.css
https://hostname/zipkin/zipkin/config.json
environment | ""
queryLimit | 10
defaultLookback | 3600000
instrumented | ".*"
logsUrl | null
basepath | "/zipkin"
searchEnabled | true
dependency |
lowErrorRate | 0.5
highErrorRate | 0.75
my k8s ingress:
{
"path": "/zipkin",
"backend": {
"serviceName": "zipkin-service",
"servicePort": 9411
}
},
In local with docker, It runs correctly.
Thank you for your time.
The text was updated successfully, but these errors were encountered: