TheCyberverse1 - $PREDO
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/24/2024 in #show-and-tell
Squid-Redefined Collaboration on Github
I've changed the url. It should be working now
4 replies
CCConvex Community
•Created by tiernacity on 3/21/2024 in #support-community
OCC and retries and errors, oh my
No problem @tiernacity 🙂
5 replies
CCConvex Community
•Created by kunkka@5986 on 3/20/2024 in #general
npx convex dev fails
I think its something to do with your internet, check your internet speed and latency
9 replies
CCConvex Community
•Created by tiernacity on 3/21/2024 in #support-community
OCC and retries and errors, oh my
I think what Convex means by several retries,is that whenever the function is executed multiple times, some mutations might conflict with each other ie. two function executions trying to update the counter from 3 to 4, so convex retries the functions to make sure that one executes after another, If that doesn't happen, it returns that error
5 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/16/2024 in #support-community
Reading .pem files in convex
Ok, Sorry I didn't reply for so long
8 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/16/2024 in #support-community
Reading .pem files in convex
Thinking of either storing it in the convex db and how to retrieve it, or to build an api for it
8 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/16/2024 in #support-community
Reading .pem files in convex
I've tried converting it, still got the same error
8 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/16/2024 in #support-community
Reading .pem files in convex
This is the errorr:
Uncaught Error: [universal-github-app-jwt] Private Key is in PKCS#1 format, but only PKCS#8 is supported. See https://github.com/gr2m/universal-github-app-jwt#readme
8 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
I created a new headers object from the request headers
const header = new Headers(headers);
then I used the get function to get the headers based on it's key:
const receivedSignature = header.get('x-hub-signature');
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
Solved
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
@erquhart
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
But I'm having issues with my webhook, whenever I try to get an item in the headers, it doesn't work
here is the headers:
Headers { host: 'blissful-salamander-460.convex.site', 'user-agent': 'GitHub-Hookshot/b18fc72', 'content-length': '8803', accept: '/', 'content-type': 'application/json', 'x-forwarded-for': '140.82.115.80', 'x-forwarded-host': 'blissful-salamander-460.convex.site', 'x-forwarded-proto': 'http', 'x-github-delivery': '87872dc0-e30c-11ee-9e92-df8177a3b6a9', 'x-github-event': 'installation', 'x-github-hook-id': '465303810', 'x-github-hook-installation-target-id': '851970', 'x-github-hook-installation-target-type': 'integration', 'x-hub-signature': 'sha1=177f573870f64d63e599506461b957223c611584', 'x-hub-signature-256': 'sha256=d8f690ff24c9867e3032a54e7cfc36e8eb1128b8a2ebf693bdc2676e1152cee5', 'accept-encoding': 'gzip' }
here is the way I access it:
const receivedSignature = headers['x-hub-signature'];
It's always saying undefined, I've tried every method to access it, but it doesn't work
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
It worked, I've found a way to replace the user id with the github username for the webhook validation
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
Thanks, I'll try that and get back to you
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
and is there a way to do something similar to upsert from mongodb in convex?
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
how does getCurrent() work?
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
Hmmm, I'll try that
38 replies
CCConvex Community
•Created by TheCyberverse1 - $PREDO on 3/15/2024 in #support-community
ctx.auth.getUserIdentity() returning undefined in webhook
Maybe I should only allow github signins so I could just get it to work for now
38 replies