Comments (7)
I think the options are:
1.) Use PyObjC/NSURLConnection (look at Gurl.py in Munki). Benefits: Can do modern TLS stuff. Downsides: Forces us to use System Python. Lots of PyObjC!
2.) Shell out to curl. Allegedly curl can handle this stuff. Benefits: We know it works. Downsides: Cheesy.
3.) Add requests as a dependency (can be bundled with recipe robot due to license). Benefits: I have experience with this method. Downsides: See "Benefits".
4.) Quit dicking around and use python3.
from recipe-robot.
@eahrold Do you have an opinion? All the options seem equally good/bad.
from recipe-robot.
Not on this one. But I like the acronym QDAUP3
from recipe-robot.
I'm fairly certain there is a way to suppress this using pure python using the built in mac libraries. I think @hansen-m has done this for other autopkg related python scripts.
Might be related:
- http://stackoverflow.com/questions/19477214/urllib3-on-python-2-7-sni-error-on-google-app-engine/19477363#19477363
- http://stackoverflow.com/questions/26640628/sslv3-alert-handshake-failure
Now that I look into this more, it sounds like it is related to newer OpenSSL issues, with the server rejecting the client for not offering a supported encryption option, which isn't what I was thinking of originally.
from recipe-robot.
Yeah, this issue is becoming more common. I don't know the exact details here, but can you workaround it with this monkey-patch...
from recipe-robot.
Is anybody still having this issue recently? The example given now works fine for me:
recipe-robot -v http://www.macroplant.com/latest-binaries/adapter-mac.dmg
The fix is probably the result of a change on macroplant.com, but could also be related to the fact that I'm testing on a newer version of macOS than I was back in 2015.
If the issue is rare or gone, I'll close this issue.
from recipe-robot.
If this issue wasn't already resolved in 2019, it should have been resolved when Recipe Robot switched from urllib to curl in 2.0.0.
from recipe-robot.
Related Issues (20)
- Sparkle Feed Causes Python Explosion HOT 2
- Sparkle Feed Causes dev Branch Recipe Creation Failure
- Recipe Robot 2.0: Incorrect "Minimum System version" Requirement? HOT 1
- Sparkle Feed Explosion for non-Sparkle feed HOT 5
- Mac with Recipe Robot but no autopkg produces pinwheels with no output HOT 1
- Mac with configured default RecipeCreateLocation that doesn't exist causes failure HOT 2
- Support for JamfUploader recipes HOT 2
- Recipe Robot incorrectly suggests AppPkgCreator for a pkg inside a dmg
- Support for DMG inside a ZIP HOT 1
- PKG rather than DMG as an option for Munki recipe's HOT 1
- Switch option to specify description when you get "[WARNING] No GitHub description provided." while running Recipe Robot HOT 5
- [ERROR] Sorry, I can't determine which version key to use for this app. HOT 8
- Don't skip pkg recipe if download recipe downloads a pkg HOT 1
- Parsing BBEdit Sparkle feed causes error HOT 3
- Switch from nose to pytest based tests
- Recipe Robot curl command fails when URL contains `&` HOT 1
- Recipe Robot fails to build recipe for Kite Student Portal HOT 1
- Automate generation of the Sparkle update appcast feed
- App-icon found but not extracted anymore in version 2.3.1
- RecipeRobot --ignore-existing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recipe-robot.