question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SSL23_GET_SERVER_HELLO:unknown protocol on mac behind firewall

See original GitHub issue

Description

Bash and Npm firwall is configured ok. Starting ios simulator for a basic app results in errors.

Expected Behavior

Expect the simulator to show up with the app.

Observed Behavior

The simulator starts up but there is no app. The console shows the following error:

14:15:09: Starting packager...
14:15:17: Starting simulator...
14:15:18: Failed to start simulator:

Error: write EPROTO 140735947440960:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:797:


Exiting...

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts:
fingertips@0.1.0 /Users/n0110643/git/pidco/mobile-app/fingertips
└── react-native-scripts@1.11.0 

  • npm ls react-native:
fingertips@0.1.0 /Users/n0110643/git/pidco/mobile-app/fingertips
└── react-native@0.50.3 
  • npm ls expo:
fingertips@0.1.0 /Users/n0110643/git/pidco/mobile-app/fingertips
└── expo@23.0.6 
  • node -v: v8.1.4

  • npm -v: 5.0.3

  • yarn --version: 0.27.5

  • watchman version: “version”: “4.7.0”

Also specify:

  1. Operating system: mac os 10.13.2
  2. Phone/emulator/simulator & version: Version 10.0 (SimulatorApp-835.2.1 CoreSimulator-494.22.7)

Reproducible Demo

This is reproducible from behind a proxy - where the https and http proxy resolve to port 80.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:9

github_iconTop GitHub Comments

1reaction
sureshmuralicommented, Jun 28, 2018

I face similar error behind proxy:

> react-native-scripts start

 Starting packager...
***ERROR STARTING PACKAGER***
Warning: Problem validating app.json: Unable to perform cache refresh for /Users/Suresh/.expo/cache/schema-27.0.0.json: Error: write EPROTO 140736598283200:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827:
.

Error: Invalid sdkVersion. Valid options are 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, 19.0.0, 20.0.0, 21.0.0, 22.0.0, 23.0.0, 24.0.0, 25.0.0, 7.0.0, 8.0.0, 9.0.0
0reactions
the-nose-knowscommented, Sep 17, 2018

@digitaldivvy No snark =/ Just throwing it out there since it was mentioned in the write-up. Anything that can be removed from a repro iteration is a good thing, no?

Read more comments on GitHub >

github_iconTop Results From Across the Web

curl: (35) error:140770FC:SSL routines ... - Stack Overflow
Curl returns "Unknown protocol". this kind of curl error is often the result of using a web proxy over https instead of http....
Read more >
Issue installing packages on a mac - Julia Discourse
I am behind a firewall and, as far as I can tell, have my https ... routines:SSL23_GET_SERVER_HELLO:unknown protocol WARNING: Could not ...
Read more >
Block connections to your Mac with a firewall - Apple Support
On your Mac, set up a firewall that can block unwanted incoming connections that put your data at risk.
Read more >
3 Common Causes of Unknown SSL Protocol Errors with cURL
3 common (and 1 uncommon) causes of the 'Unknown SSL protocol error in connection to' error in cURL and other apps that use...
Read more >
Syncing mac desktop with ankiweb gives SSL error
I have just started using anki, I added my first deck to the mac (OS X 10.11.6) desktop ... routines:SSL23_GET_SERVER_HELLO:unknown protocol.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found