-
Notifications
You must be signed in to change notification settings - Fork 225
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
Server Error (500) - Component modification #78
Comments
I faced a similar issue after facing an issue with the mongo service that kept it crashing but all other services were fine. In my case, I solved the issue with mongo but would always get I attempted to connect from the Are you certain that your edits in python/django are valid? Do you get any errors in the mongo service logs? |
Hello and thank you for your response. As you requested, here are the Mongo logs :
Thanks again for your help. |
I don't think this is mongo's fault. As you can see in the mongo logs it mentions that some connections are interrupted because the client disconnected. {
"t": {
"$date": "2023-02-24T08:46:46.403+00:00"
},
"s": "I",
"c": "NETWORK",
"id": 51800,
"ctx": "conn1",
"msg": "client metadata",
"attr": {
"remote": "172.18.0.4:36078",
"client": "conn1",
"doc": {
"driver": {
"name": "PyMongo",
"version": "3.11.0"
},
"os": {
"type": "Linux",
"name": "Linux",
"architecture": "x86_64",
"version": "4.19.0-23-amd64"
},
"platform": "CPython 3.8.10.final.0"
}
}
}
{
"t": {
"$date": "2023-02-24T08:46:55.101+00:00"
},
"s": "I",
"c": "-",
"id": 20883,
"ctx": "conn1",
"msg": "Interrupted operation as its client disconnected",
"attr": {
"opId": 33
}
}
{
"t": {
"$date": "2023-02-24T08:46:55.453+00:00"
},
"s": "I",
"c": "NETWORK",
"id": 22944,
"ctx": "conn1",
"msg": "Connection ended",
"attr": {
"remote": "172.18.0.4:36078",
"connectionId": 1,
"connectionCount": 0
}
} It looks like an error in python caused the error with the connection to mongo. From your first post:
What kind of changes did you make to which file(s)? Are you certain there aren't any bad reactions to your modifications? |
Hello, and thank you for your quick response. So I modified the TitlePage.py and TitlePage.html file to add new fields to my report. Except that by pure chance, now it works and I manage to return to the page. A new problem occurs to me, I can no longer preview the report : Here are the changes made : And : Thank you very much for your availability |
writehat logs would help debug faster. This happened to me when I tried adding some new property to the engagement class and then use it in a markdown component with the reference utility. The problem was that the property I added to the class was not added in the user_context and caused a similar reaction to yours. Without logs I cannot be sure. Edit: I think you forgot the |
Hello everyone ,
First of all, sorry for my english, i'm french..
I have been trying to modify the reports integrated with WriteHat for a few days now, but each time I make a modification (even a small one), when I restart the Docker I get an error like this:
Here is what happens in my docker-compose when I relaunch the page in question:
Does anyone have any idea how to fix this problem ? This will be my hero.
The text was updated successfully, but these errors were encountered: