Closed markbrewster closed 3 months ago
@markbrewster Make sure that your webhook is set up properly so that the LEAP api can hit your webhook endpoint and mark is as completed
where do you set up webhook i have same issue
only have this env: LEAP_WEBHOOK_SECRET
do i need any others?
any update?
Hey sorry for the delay, we've been pretty busy. In the latest version of the headshots template, the url in the /train-webhook file, is const leapImageWebhookUrl =
https://${process.env.VERCEL_URL}/leap/image-webhook``. Also note that to test locally you have to use something like ngrok to test the webhook, and replace the process.env.VERCEL_URL with that url.
im using vercel, added VERCEL_URL and still no, it finishes and trians for days
Hey sorry for the delay, we've been pretty busy. In the latest version of the headshots template, the url in the /train-webhook file, is
const leapImageWebhookUrl =
https://${process.env.VERCEL_URL}/leap/image-webhook``. Also note that to test locally you have to use something like ngrok to test the webhook, and replace the process.env.VERCEL_URL with that url.im using vercel, added VERCEL_URL and still no, it finishes and trians for days
Have you been able to make it work?
Hey sorry for the delay, we've been pretty busy. In the latest version of the headshots template, the url in the /train-webhook file, is
const leapImageWebhookUrl =
https://${process.env.VERCEL_URL}/leap/image-webhook``. Also note that to test locally you have to use something like ngrok to test the webhook, and replace the process.env.VERCEL_URL with that url.
Treid everything possible, still can't make it work :-| Please give it a look at https://picmaker.app/
same here man
You have to pay for astria.ai. Only then will your training work well.
Same problem here. Although the exact error in the Leap AI dashboard is: Webhook call failed: {"cause":{"name":"RequestContentLengthMismatchError","code":"UND_ERR_REQ_CONTENT_LENGTH_MISMATCH","message":"Request body length does not match content-length header"}}
FIX: change the const webhookUrl = https://${process.env.VERCEL_URL}/leap/train-webhook
; to your actual domain here. For some reason, process.env.VERCEL_URL was not working for me here. Had to manually add the domain in the code for it to work.
I have an instance with Vercel/Supabase and when I add pictures and return to the overview I just get this:
It's been like this for 2 days! Haven't got it to work properly yet. I initially added 8 photos, then reduced it to the minimum of 4 to try again.
Any ideas? As I'm not sure where to even begin troubleshooting