sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SPFX error: ERR_SSL_PROTOCOL_ERROR when running gulp serve after trusting cert

Open benjito opened this issue 7 years ago • 13 comments

I've tried this multiple times, is there a required node version? I've set the NODE_NO_HTTP2=1 with no effect.

Thanks, Ben

benjito avatar Aug 29 '19 20:08 benjito

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Aug 29 '19 20:08 msft-github-bot

We will need more information

Are you using the latest SPFx Generator? What version of SharePoint are you targeting? What version of node?

Thanks

bcameron1231 avatar Aug 29 '19 22:08 bcameron1231

Share point online with my vs enterprise subscription, node 10.16.1, yes the latest generator

On Thu, Aug 29, 2019 at 6:01 PM Beau Cameron [email protected] wrote:

We will need more information

Are you using the latest SPFx Generator? What version of SharePoint are you targeting? What version of node?

Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SharePoint/sp-dev-docs/issues/4562?email_source=notifications&email_token=AABIG4OTP6PTHXTNLVF5MNLQHBBM7A5CNFSM4ISGTLPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5P6RGY#issuecomment-526379163, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIG4I2AU4U5VFQMTZ25DDQHBBM7ANCNFSM4ISGTLPA .

-- Regards, Ben Clarke

benjito avatar Aug 29 '19 22:08 benjito

In addition:

  1. what kind of a project are you creating (i know you said SPO, but unclear if that's the env your project targets)
  2. have you tried the workarounds listed here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment#troubleshooting
  3. what local dev environment

andrewconnell avatar Aug 30 '19 14:08 andrewconnell

The hello world spfx react app

On Fri, Aug 30, 2019 at 10:21 AM Andrew Connell [email protected] wrote:

In addition:

  1. what kind of a project are you creating (i know you said SPO, but unclear if that's the env your project targets)
  2. have you tried the workarounds listed here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment#troubleshooting
  3. what local dev environment

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SharePoint/sp-dev-docs/issues/4562?email_source=notifications&email_token=AABIG4KXCKDJMH7TMQLFN3DQHEUG3A5CNFSM4ISGTLPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5RZM4Q#issuecomment-526620274, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIG4OUO2YVK7ZUW6IDDNDQHEUG3ANCNFSM4ISGTLPA .

-- Regards, Ben Clarke

benjito avatar Aug 30 '19 19:08 benjito

I tried all workarounds

On Fri, Aug 30, 2019 at 10:21 AM Andrew Connell [email protected] wrote:

In addition:

  1. what kind of a project are you creating (i know you said SPO, but unclear if that's the env your project targets)
  2. have you tried the workarounds listed here: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment#troubleshooting
  3. what local dev environment

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SharePoint/sp-dev-docs/issues/4562?email_source=notifications&email_token=AABIG4KXCKDJMH7TMQLFN3DQHEUG3A5CNFSM4ISGTLPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5RZM4Q#issuecomment-526620274, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIG4OUO2YVK7ZUW6IDDNDQHEUG3ANCNFSM4ISGTLPA .

-- Regards, Ben Clarke

benjito avatar Aug 30 '19 19:08 benjito

Can you please let us know what environment you are targeting when you create the webpart?

  1. SharePoint Online only (Latest)
  2. SharePoint 2016 onwards, including 2019 and SharePoint Online
  3. SharePoint 2019 onwards, including SharePoint Online

bcameron1231 avatar Aug 30 '19 20:08 bcameron1231

Number 1

On Fri, Aug 30, 2019 at 4:08 PM Beau Cameron [email protected] wrote:

Can you please let us know what environment you are targeting when you create the webpart?

  1. SharePoint Online only (Latest)
  2. SharePoint 2016 onwards, including 2019 and SharePoint Online
  3. SharePoint 2019 onwards, including SharePoint Online

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SharePoint/sp-dev-docs/issues/4562?email_source=notifications&email_token=AABIG4IWVKDD3LC2DVW72F3QHF44FA5CNFSM4ISGTLPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5SUZVQ#issuecomment-526732502, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIG4PUGD62DKN4WJ7KDZDQHF44FANCNFSM4ISGTLPA .

-- Regards, Ben Clarke

benjito avatar Aug 30 '19 20:08 benjito

Let me know how I can further troubleshoot this issue

On Fri, Aug 30, 2019 at 4:48 PM Ben Clarke [email protected] wrote:

Number 1

On Fri, Aug 30, 2019 at 4:08 PM Beau Cameron [email protected] wrote:

Can you please let us know what environment you are targeting when you create the webpart?

  1. SharePoint Online only (Latest)
  2. SharePoint 2016 onwards, including 2019 and SharePoint Online
  3. SharePoint 2019 onwards, including SharePoint Online

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SharePoint/sp-dev-docs/issues/4562?email_source=notifications&email_token=AABIG4IWVKDD3LC2DVW72F3QHF44FA5CNFSM4ISGTLPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5SUZVQ#issuecomment-526732502, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIG4PUGD62DKN4WJ7KDZDQHF44FANCNFSM4ISGTLPA .

-- Regards, Ben Clarke

-- Regards, Ben Clarke

benjito avatar Sep 03 '19 13:09 benjito

Been trying to troubleshoot the issue, but I can't repro the issue with the information you specified. I generally see this with SPFx targeting 2016.

Can you delete .gcb-serve-data and install a new development certificate and try again?

bcameron1231 avatar Sep 03 '19 13:09 bcameron1231

I just got it working. It’s because you list node 10x as supported, 8x works

On Tue, Sep 3, 2019 at 9:31 AM Beau Cameron [email protected] wrote:

Been trying to troubleshoot the issue, but I can't repro the issue with the information you specified. I generally see this with SPFx targeting 2016.

Can you delete .gcb-serve-data and install a new development certificate and try again?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SharePoint/sp-dev-docs/issues/4562?email_source=notifications&email_token=AABIG4KZBOCKQVZET5ETZ7DQHZRLVA5CNFSM4ISGTLPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5YGJ2A#issuecomment-527459560, or mute the thread https://github.com/notifications/unsubscribe-auth/AABIG4NUYJTIEZRLCCBXAZ3QHZRLVANCNFSM4ISGTLPA .

-- Regards, Ben Clarke

benjito avatar Sep 03 '19 22:09 benjito

Haven't seen in this thread where you say what generator you're using (you say "latest" but many times people say that and not realize there is a newer version than what they are using... looking for the specific version number here). SPFx v1.9.1 is supported with Node.js v10 & that is the recommended version.

andrewconnell avatar Sep 22 '19 11:09 andrewconnell

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 23 '20 18:01 msft-github-bot