Opened 3 years ago

Closed 3 years ago

#2455 closed enhancement (fixed)

wcst_import - check if credentials are needed

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: wcst_import Version: 9.8
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

If wcst_import doesn't have credentials and petascope is enabled with authentication then, petascope throws the error to wcst_import:

<ows:ExceptionText>Missing basic authentication header with username:password encoded in Base64 string from request</ows:ExceptionText>

In this case, wcst_import can detect the HTTP code 403 and write that it needs credentials provided (e.g: with -i).

Change History (1)

comment:1 by Bang Pham Huu, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.