Replies: 1 comment 2 replies
-
@YasiruOps Hey , any updates pls , Im trying to do the same thing ! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using MCPServerStreamableHTTP and have overridden it to dynamically set headers (access token and cloud ID) at runtime. However, I'm encountering an issue where the first request consistently fails, while subsequent requests succeed without problems.
For context:
I'm running everything locally as well as Docker.
When I hardcode the access token and cloud ID, the first request works as expected (as per the setup in the original repository).
The issue seems related to the dynamic header setup or initial connection state.
I'll share the code structure below for reference.
--tried with trailing slash and without
--this is how i setup the agent
i run this with this JiraAgent.run_mcp_servers(): JiraAgent.run_stream(deps)
let me know if u need more context.. thank you
Beta Was this translation helpful? Give feedback.
All reactions