Jacob Marshall
Jacob Marshall
CDCloudflare Developers
Created by Jacob Marshall on 4/1/2024 in #general-help
How are Access Service Token JWTs supposed to be used?
That’s a direct quote from https://x.com/kennyjohnsonatx. However I will say… I did try the workaround and it didn’t work. So… your mileage may vary.
45 replies
CDCloudflare Developers
Created by Jacob Marshall on 4/1/2024 in #general-help
How are Access Service Token JWTs supposed to be used?
Ok this turned out to be a very silly edge case on our side. If you add an allow policy to that app, it'll work just fine including the Access JWT. Otherwise it blocks without the service token attached. We're trying to figure out how to change this without a breaking change. But if you add an empty Allow policy for now, it'll work as you expect.
45 replies
CDCloudflare Developers
Created by Jacob Marshall on 4/1/2024 in #general-help
How are Access Service Token JWTs supposed to be used?
@mutatedllama So… short answer - no. Long answer is that I believe there might be a workaround. I reached out to somebody via Twitter DMs and they said that there was a bug in zero trust that was preventing this from working as intended. I’ll see if I can find more details. It was a while ago now haha.
45 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
And without changing the code... the fix I rolled out yesterday has magically stopped working. So it must not have been it 😢
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Well I thought that was the issue... but I'm trying to put together a repo that can reproduce this issue without all my application logic... but it's proving difficult.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
It turns out it absolutely was this, haha!
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
And it's 2am here. So I best head off. But if I haven't heard back in the morning, I'll probably start putting some more info in this thread.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Rita has cc'd somebody to take a look, so it's probably not worth you taking a look 😛
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I don't think that's it though. Because one of my DOs does some async work inbetween, and the other doesn't. But they both have this issue.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
If I create a WebSocketPair, use ctx.acceptWebSocket to "accept" it, but before I return the response with one part of the WebSocketPair, I perform some async work... does that screw with things?
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I just had a thought...
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Oh it's only on specific requests. I had no alarm set during the screenshots above, sorry for the confusion. I simply meant that I was utilising the alarm API instead of ever using setTimeout/setInterval anywhere.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I'm using ctx.acceptWebSocket and ctx.storage.setAlarm for that kinda stuff.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Correct
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
So I was just composing that email haha 😛
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
I actually just reached out to Rita via Twitter DMs, and she has asked me to send her an email with some info.
23 replies
CDCloudflare Developers
Created by Jacob Marshall on 9/6/2024 in #durable-objects
I didn’t see this graph before. But yeah
Oh sorry Milan!
23 replies