Skip to content

getdap4 does not correctly handle HTTP simple authorization #307

@jgallagher59701

Description

@jgallagher59701

When I user getdap4 to access data from the TDS at unidata:
getdap4 -D https://thredds-test.unidata.ucar.edu/thredds/dap4/dev/d4icomp/restricted/SimpleGroup.nc4

I get:

ERROR: Error while reading the URL: https://thredds-test.unidata.ucar.edu/thredds/dap4/dev/d4icomp/restricted/SimpleGroup.nc4.dap?.
The OPeNDAP server returned the following message:
Forbidden: Contact the server administrator.

Using this for .netrc:

hyrax/libdap4 % more ~/.netrc
machine thredds-test.unidata.ucar.edu
        login opendapTestUser
        password xxxyyyzzz <-- look in slack for this

Metadata

Metadata

Labels

bugdap4Work related to DAP4 support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions