I have two annotators working on the same datasets, and they each occasionally get the following error:
ERROR: Couldn't save annotations. Make sure the server is running correctly.
The only patterns I can see are that the errors seems to occur more often when they are annotating at the same time, but we have also seen this error when only one annotator is annotating. This will sometimes result in:
- loss of annotated data
- duplicate utterances shown to the annotator (dupes aren't always present in the database, but the annotator notices that they are annotating the same document twice)
I updated instant_submit
today from false
to true
in order to auto-save in the hopes that we would not lose any additional documents the annotators had annotated. We are saving the annotations in a CloudSQL database, which the prodigy web servers connect to via a proxy.
These are our prodigy.json
settings:
{
"theme": "dark",
"custom_theme": {"smallText": 16, "bgCard": "#d9d9d9", "bgMeta": "#ffe184", "colorText": "#384451"},
"buttons": ["accept", "reject", "ignore", "undo"],
"batch_size": 10,
"history_size": 10,
"port": 8080,
"host": "localhost",
"cors": true,
"db": "postgresql",
"db_settings": {
"postgresql": {
"host": "127.0.0.1",
"port": 5432,
"dbname": "prodigy",
"user": "annotator"
}
},
"validate": true,
"auto_exclude_current": true,
"instant_submit": true,
"feed_overlap": false,
"auto_count_stream": false,
"total_examples_target": 0,
"ui_lang": "en",
"global_css": ".prodigy-content mark span { font-size: 10px }",
"project_info": ["dataset", "session", "lang", "recipe_name", "view_id", "label"],
"show_stats": false,
"hide_meta": false,
"show_flag": true,
"swipe": false,
"swipe_gestures": { "left": "accept", "right": "reject" },
"split_sents_threshold": false,
"html_template": false,
"javascript": null,
"writing_dir": "ltr",
"show_whitespace": false,
"exclude_by": "task",
"ner_manual_label_style": "dropdown",
"field_id": "user_input",
"field_label": "User input field",
"field_placeholder": "Type here...",
"field_rows": 1,
"field_autofocus": false
}
While one annotator has some connection issues (slow connection), the other does not, and they are both experiencing this. Restarting our server, logging in and out, and closing and reopening their browser doesn't seem to improve the situation. The annotators annotate quickly, and I'm wondering if this is causing the issue as I saw that issue in another forum post. However, annotating quickly shouldn't result in an error. Annotators are annotating the same dataset in order to assess inter-annotator agreement. Right now, the current set is 5k documents (documents = short sentences), but this also occurred with a much smaller dataset of 500.
Are there settings I should adjust, or is this a larger issue? Are there meaningful logs I can access?
Thank you,
Cheyanne