<@ULVA73B9P> I'm having a widespread issue that on...
# ask-marvin
l
@Marvin I'm having a widespread issue that only occurs with new deployments. When the worker tries to execute the git clone step, it uses the correct link but adds a ' at the end, which makes it a broken link. Does anyone know how to fix this? In the database, the link doesn't contain this ', and the deployment was done correctly. I'm using version 3.3.2.
m
thought for 46.7 seconds
n
that's odd
there's nothing interesting in
prefect deployment inspect <name>
?
m
Based on the research and issue search, while I don't see this exact issue reported, I can offer some guidance and potential solutions: 1. First, could you share how you're creating the deployment? Are you using
prefect deploy
or the Python API? This will help narrow down where the quote is being introduced. 2. As a workaround, you could try: - If using Python API: Ensure your repository URL is passed as a raw string without any quotes - If using `prefect deploy`: Double-check the deployment YAML file (if you're using one) to ensure there are no extra quotes around the repository URL 3. To help diagnose this: - Could you share the exact error message you're seeing? - Could you also check the deployment configuration using
prefect deployment inspect <deployment-name>
to see how the URL is stored? This appears to be a new issue as it's not documented in existing GitHub issues. If the problem persists after trying these suggestions, it would be valuable to create a new issue on the Prefect GitHub repository with: - The exact error message - Your deployment creation method - A minimal reproduction case - The output of
prefect version
The fact that the URL is correct in the database but gets modified during the git clone step suggests this might be a bug in how the worker processes the repository URL. Having more details about your specific setup would help us provide a more targeted solution or confirm if this is indeed a bug that needs to be reported. Would you be able to share any of these additional details to help us better diagnose the issue?
l
@Nate, What did u means with “odd”? Into the inspect of the deployment the git repo its right
n
im just saying its strange/weird that this is happening
it uses the correct link but adds a ' at the end
do you have logs or something?
l
image.jpg
n
i think the string is just single-quoted
the
'
is on both sides
l
But only the left ‘ is outside of the link, while the right one is on the link
U’r right @Nate , the problem is the Token, i just change all deployments tokens wich has this problem and it run 100%