Skip to content
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

Calling get_network fails the second time it is called with the same entryUrl #70

Open
ckniffen opened this issue Jan 18, 2023 · 1 comment

Comments

@ckniffen
Copy link
Collaborator

The endpoint /network/get_network/:entryUrl will return an error about duplicate keys when it is called with the same entry point twice and crawling hasn't occurred.

{
    "result": "error",
    "message": "insert into \"networks\" (\"entry\", \"id\", \"port\", \"unls\") values ($1, $2, $3, $4) - duplicate key value violates unique constraint \"networks_pkey\""
}
@ckniffen ckniffen changed the title Calling get_network fails the second time it is called with the same entryUrl Calling get_network fails the second time it is called with the same entryUrl Jan 18, 2023
@ckniffen
Copy link
Collaborator Author

@mvadari Did #72 fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant