zowe-explorer-vscode: Error loading Base Profile Created via Zowe CLI Within Zowe Explorer

I’m using a base profile and am getting the following errors within Zowe Explorer:

Retrieving response from zowe.GetJobs Error: Expect Error: Required object must be defined Error: Profile Name test is inactive. Please check if your Zowe server is active or if the URL and port in your profile is correct.

Describe the bug

To Reproduce

  1. Start with no profiles
  2. zowe auth login apiml and respond to prompts
  3. zowe profiles create zosmf test --host xxx --base-path api/v1 --dd
  4. verify zowe jobs list jobs is succesful
  5. attempt to browse jobs or data sets in Zowe Explorer

Expected behavior

Screenshots

image

Desktop (please complete the following information):

  • OS: Windows 10
  • Zowe Explorer Version: 1.10.1
  • (Optional) Zowe CLI Version: 7.0.0...@next
  • (Optional) Are you using Secure Credential Store? yes

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (13 by maintainers)

Most upvoted comments

@venkatzhub this is the error:

[2020/11/18 15:11:15.047] [DEBUG] [extension.js:73] Validate Error - Invalid Profile: Error: z/OSMF REST API Error:
http(s) request error event called
Error: self signed certificate in certificate chain

I want to confirm if you are connecting to apiml? if yes, please make sure that reject unauthorized is set to true and basepath is equal to APIML basepath

From @zFernand0 : zowe profiles update base default --ru false

This still doesn’t answer how / why zowe jobs list jobs runs without also getting a certificate error.

In this case @jellypuno, would we want false for rejectUnauthorized since there are self signed certs in play?