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

action API endpoint error #3

Open
andrei-volkau opened this issue Oct 26, 2023 · 3 comments
Open

action API endpoint error #3

andrei-volkau opened this issue Oct 26, 2023 · 3 comments

Comments

@andrei-volkau
Copy link

andrei-volkau commented Oct 26, 2023

I have the following error for action API endpoint sometimes.

{"detail":"Message: \nStacktrace:\n0 undetected_chromedriver 0x0000000107996e08 undetected_chromedriver + 5025288\n1 undetected_chromedriver 0x000000010798dc23 undetected_chromedriver + 4987939\n2 undetected_chromedriver 0x000000010752fe67 undetected_chromedriver + 409191\n3 undetected_chromedriver 0x000000010757f1b9 undetected_chromedriver + 733625\n4 undetected_chromedriver 0x000000010757f371 undetected_chromedriver + 734065\n5 undetected_chromedriver 0x00000001075c5194 undetected_chromedriver + 1020308\n6 undetected_chromedriver 0x00000001075a650d undetected_chromedriver + 894221\n7 undetected_chromedriver 0x00000001075c2571 undetected_chromedriver + 1009009\n8 undetected_chromedriver 0x00000001075a62b3 undetected_chromedriver + 893619\n9 undetected_chromedriver 0x0000000107570eb9 undetected_chromedriver + 675513\n10 undetected_chromedriver 0x00000001075720ee undetected_chromedriver + 680174\n11 undetected_chromedriver 0x0000000107958819 undetected_chromedriver + 4769817\n12 undetected_chromedriver 0x000000010795d893 undetected_chromedriver + 4790419\n13 undetected_chromedriver 0x000000010796466e undetected_chromedriver + 4818542\n14 undetected_chromedriver 0x000000010795e5bd undetected_chromedriver + 4793789\n15 undetected_chromedriver 0x000000010793098c undetected_chromedriver + 4606348\n16 undetected_chromedriver 0x000000010797cb78 undetected_chromedriver + 4918136\n17 undetected_chromedriver 0x000000010797cd30 undetected_chromedriver + 4918576\n18 undetected_chromedriver 0x000000010798d85e undetected_chromedriver + 4986974\n19 libsystem_pthread.dylib 0x00007fff208338fc _pthread_start + 224\n20 libsystem_pthread.dylib 0x00007fff2082f443 thread_start + 15\n"}

I am using Chrome Version 118.0.5993.117

@andrei-volkau
Copy link
Author

andrei-volkau commented Oct 27, 2023

This is how it looks like. Sometimes requests are successful. But not all the time.

I am using the following code for testing.

import requests

counter = 0
while True:
    url = "http://localhost:8000/action"
    payload = {
        "image_url": "https://www.reuters.com/resizer/NLk9k89J1tfmH-B7XKd598-6j_Y=/960x0/filters:quality(80)/cloudfront-us-east-2.images.arcpublishing.com/reuters/AHF2FYISNJO55J6N35YJBZ2JYY.jpg",
        "prompt": "Describe this image precisely."
    }
    response = requests.post(url, json=payload)
    print(response.text)
    counter = counter +1
    print(counter)

Screenshot 2023-10-27 at 16 34 40 Screenshot 2023-10-27 at 16 51 29

@FlorianMgs
Copy link
Owner

Hi @andrei-volkau sorry for late reply.
I haven't ran into this issue on my end.
There's no strong error handling atm, and I don't have much time to improve the code right now. I'll take a look asap.
Meanwhile, feel free to open a pull request.

@Benediktherlt
Copy link

I have the exact same problem, except that I have this problem all the time. I literally spent the whole day trying to fix this but it just wont work. My response is always {"detail":"Message: \nStacktrace:\n\tGetHandleVerifier [0x00C71673+52979]\n\t(No symbol) [0x00BF7961]\n\t(No symbol) [0x00ADDD3D]\n\t(No symbol) [0x00B15FBB]\n\t(No symbol) [0x00B160FB]\n\t(No symbol) [0x00B4CF92]\n\t(No symbol) [0x00B34534]\n\t(No symbol) [0x00B4B3FE]\n\t(No symbol) [0x00B34286]\n\t(No symbol) [0x00B0C063]\n\t(No symbol) [0x00B0CECD]\n\tGetHandleVerifier [0x00F88D83+3294723]\n\tGetHandleVerifier [0x00FC6CC2+3548482]\n\tGetHandleVerifier [0x00FC1C9C+3527964]\n\tGetHandleVerifier [0x00D0870E+671630]\n\t(No symbol) [0x00C01EB4]\n\t(No symbol) [0x00BFD808]\n\t(No symbol) [0x00BFD92D]\n\t(No symbol) [0x00BEF7E0]\n\tBaseThreadInitThunk [0x76677BA9+25]\n\tRtlInitializeExceptionChain [0x77E7BD2B+107]\n\tRtlClearBits [0x77E7BCAF+191]\n"}

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

3 participants