-
Notifications
You must be signed in to change notification settings - Fork 342
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
Path address not found error after uploading manifest #2368
Comments
@agazso the latest |
There is an It was uploaded with this command:
The config used:
|
as I tried out it seems this problem occurs when a filename is fully part of an other filename like |
Yes. There is an issue with marshaling and unmarshaling. I am looking into it. Node type should also have |
Why |
The above PR fixes the lookup issues. All the files should be resolvable now. However when I deploy the website I see: INFO[2021-07-30T00:10:35+05:30] api access duration=0.00060049 ip=192.168.0.114 method=GET proto=HTTP/1.1 referrer="http://192.168.0.167:1633/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d6
280bb3b9a3c206c/" size=60 status=404 uri=/static/css/main.a0769d5e.chunk.css user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
INFO[2021-07-30T00:10:35+05:30] api access duration=0.000594704 ip=192.168.0.114 method=GET proto=HTTP/1.1 referrer="http://192.168.0.167:1633/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d
6280bb3b9a3c206c/" size=60 status=404 uri=/static/js/main.03546a09.chunk.js user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
INFO[2021-07-30T00:10:35+05:30] api access duration=0.000814159 ip=192.168.0.114 method=GET proto=HTTP/1.1 referrer="http://192.168.0.167:1633/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d
6280bb3b9a3c206c/" size=60 status=404 uri=/static/js/2.67d3302a.chunk.js user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
INFO[2021-07-30T00:10:35+05:30] api access duration=0.000537672 ip=192.168.0.114 method=GET proto=HTTP/1.1 referrer="http://192.168.0.167:1633/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d
6280bb3b9a3c206c/" size=60 status=404 uri=/static/js/2.67d3302a.chunk.js user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
INFO[2021-07-30T00:10:35+05:30] api access duration=0.000955943 ip=192.168.0.114 method=GET proto=HTTP/1.1 referrer="http://192.168.0.167:1633/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d
6280bb3b9a3c206c/" size=60 status=404 uri=/static/js/main.03546a09.chunk.js user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
INFO[2021-07-30T00:10:35+05:30] api access duration=0.001265084 ip=192.168.0.114 method=GET proto=HTTP/1.1 referrer="http://192.168.0.167:1633/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d
6280bb3b9a3c206c/" size=0 status=304 uri=/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d6280bb3b9a3c206c/BZZ.svg user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.
4472.124 Safari/537.36" The BZZ.svg and index.html are resolved correctly. In the case of the scripts I see the URI is not prefixed with INFO[2021-07-30T00:06:50+05:30] api access duration=0.001461834 ip=192.168.0.114 method=GET proto=HTTP/1.1 size=0 status=304 uri=/bzz/74a58d985365f93795595ad99c0077b22eab0014bc71939d6280bb3b9a3c2
06c/static/css/main.a0769d5e.chunk.css user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36" |
Yeah, that's a different, unrelated problem that the frontend code expects to be deployed at |
Summary
I uploaded a React web application as a tar file and when trying to access the files in it some of them are missing. Most of them can be found, only a few one is missing.
The reported error is
{"message":"path address not found","code":404}
indicating that the files are somehow missing from the manifest itself.Steps to reproduce
I uploaded both with curl and swarm-cli and it's the same behavior with both, and in both cases the same files are missing.
As a verification I set the
loglevel
toTRACE
to see what happens when uploading:Then when downloading a missing file:
I thought that maybe it has problems when it has several dots (
.
) in the name, but no:I run the latest master 596768e
in standalone mode.
The text was updated successfully, but these errors were encountered: