-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ERROR: parse.go:200 - could not guess encoding from content type #6859
Comments
Can you positively link this error message to It would seems this would show only if ipfs would return a response without the Content-Type header sent, but I see it always set to The If you can reproduce reliably I would enable |
Yes, that's was the immediate response to an
I don't know how a 'normal' setup would look like, that's my first setup with ipfs. :) I'm running a cluster on this node as well, and the commands do manipulate the same data. So stuff added via a cluster command, gets located on a folder via But there should be days in between a file add and a file delete. While I was setting this up and testing my script, it might has been a race condition. Because I had added the file via the cluster command very recently. But I never run commands concurrently on this node.
It doesn't happen anymore for me. Not sure what changed, though. |
Does this happen at the same moments when the #6860 panic ? |
@hsanjuan that's quite likely. Haven't checked the timestamps back then. But both happened roughly at the same time. No panic and no error messages since then. Both stopped after I removed all pins from the cluster and readded them. |
Ok, it should be easy to check if a panic on the server side causes this client side. It is probably a harmless message anyways. |
Alright, do you need anything additionally from me? 🤔 |
Testing if the error message pops up the same moments when a panic is triggered would be nice. You can manually panic in |
@Stebalien I guess this also explains this log messages on the console running the |
If you were seeing that log message when you saw that stacktrace? Probably. |
@Stebalien yeah was at least on the same run of the script I was writing and testing. I think it's fine to close it. :) |
Version information:
go-ipfs version: 0.4.23-6ce9a355f
Repo version: 7
System version: amd64/linux
Golang version: go1.13.7
Description:
on
ipfs files rm
i get occasionally this error directly in the console, while the return code of the command is 0. Any idea why this is happening? Is this a type of data corruption?`
ERROR cmds/http: could not guess encoding from content type "" parse.go:200
Might be tied to this output in the log of the daemon, or completely independent:
#6860
`
The text was updated successfully, but these errors were encountered: