-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Curl error 3: URL rejected #656
Comments
same |
I tried it on a Mac and I couldn't reproduce the issue. Can you open the icon URL in the browser (for example https://api.nuget.org/v3-flatcontainer/newtonsoft.json/13.0.3/icon)? |
I was also getting those Curl errors in the console on a fresh install. I went into the Preferences and checked "Use Verbose Logging" and restarted Unity and the Curl errors did not appear. Perhaps the default For reference, after the logging setting change these lines were added to the config:
and Update: the errors are back. |
Ok, after further testing, I think it happens when there are spaces in the URL? |
so they are only for File-URLs? Or how can a URL have spaces normally they are encoded with |
Yes, it is a file and there are spaces; it is trying to open a URL like this:
This results in the Curl error and a log message that says |
I can confirm that my "Company Name" in Player Settings is two words with a space between them, which would add at least one space to the URL. |
I am having this same error. I removed all the spaces in the offending paths, except one. Which is my Unity Projects folder, which hold my Project Name folders. Do I really have to rename all of my core Unity project folders to avoid this error?? I would hope this is a very simple bug for you to fix. Edit: Thank you for this lovely package! I don't mean to come off as offensive, especially as you offer this package for free. I will leave my comment in the hopes of the bug getting fixed, but wanted to express gratitude to you as well. |
@ndnomad please check if the bug is resolved by the latest release. |
I tried out release v4.2.0 but the issue remains. Using
The above code throws the "Curl error 3" exception. If the space in the file URL is replaced with I think, if we want to avoid the controversy of Uri.EscapeUriString, in this case we could use |
Description
I get one error "Curl error 3: URL rejected: Error" per package when opening the NuGet for Unity window. Packages icons do not load, so best case scenario that's a cosmetic issue, but still annoying...
The text was updated successfully, but these errors were encountered: