-
Notifications
You must be signed in to change notification settings - Fork 76
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
"422 Unprocessable Entity" on every page. #384
Comments
Hi! I think it's more likely the issue with backend, so disabling other
extensions won't help. Can you check the version of uvicorn package on your
system? E.g. "pip3 show uvicorn". If it's too old (comparing to the latest
0.20.0), I wonder if upgrading it would just solve all issues.
Otherwise it would probably be best to look in the server logs, they would
have more stacktraces/specific line numbers.
…On Mon, Mar 6, 2023, 17:43 Gabriel Guzman ***@***.***> wrote:
Just installed promnesia (firefox extension with the backend running) and
every page I go to the extension in firefox gives me the following error:
Error: Unprocessable Entity (422
***@***.***://d7ce6ee8-d2ae-400d-b9fd-211b93717ca4/background.js:1:27206
while requesting http://localhost:13131/visits
check extension options, make sure you set backend or disable it (set to empty string)
I can also see the error in the server console (so I know the HTTP request
is getting there):
INFO: 127.0.0.1:51800 - "POST /visits HTTP/1.1" 422 Unprocessable Entity
I have only one source enabled and have run the indexer:
***@***.*** promnesia]$ cat config.py
from promnesia.common import Source
from promnesia.sources import auto
'''
List of sources to use.
You can specify your own, add more sources, etc.
See https://github.com/karlicoss/promnesia#setup for more information
'''
SOURCES = [
Source(
auto.index,
# just some arbitrary directory with plaintext files
'~/notes/',
name='notes',
)
]
Maybe it's an issue with a conflicting browser extension? I'll try
disabling the other ones to see if that helps.
—
Reply to this email directly, view it on GitHub
<#384>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACHEBIW44EKNYDM2FGIEK3W2YH3RANCNFSM6AAAAAAVRLSAAE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Had an older version of uvicorn:
Upgraded to
Reran the indexer and stopped and started the promnesia server, but still getting the same error. I'll see if I can find where uvicorn is putting it's error logs to see if there is more info there. Thanks for your help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just installed promnesia (firefox extension with the backend running) and every page I go to the extension in firefox gives me the following error:
I can also see the error in the server console (so I know the HTTP request is getting there):
I have only one source enabled and have run the indexer:
Maybe it's an issue with a conflicting browser extension? I'll try disabling the other ones to see if that helps.
The text was updated successfully, but these errors were encountered: