yocontra / node-gdal-next

Node.js bindings for GDAL (Geospatial Data Abstraction Library) [Fork]
https://contra.io/node-gdal-next/
Apache License 2.0
75 stars 35 forks source link

Pre-Built Binaries Not Available #40

Closed garycjohnson closed 3 years ago

garycjohnson commented 3 years ago

Somewhere between 2330 and 0330 UTC the pre-built binaries have disappeared. This is now causing our Bitbucket Pipelines to fail as the pipeline doesn't have the resources necessary to do a fallback build. Is this a permanent change to remove the pre-built binaries?

node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(403): https://gdal-next-binary.s3.amazonaws.com/gdal/v2.0.0/node-v72-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for gdal-next@2.5.0 and node@12.16.1 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)

When testing https://gdal-next-binary.s3.amazonaws.com/gdal/v2.0.0/node-v72-linux-x64.tar.gz I am getting the error:

<Error>
  <script id="__gaOptOutExtension"/>
  <Code>AllAccessDisabled</Code>
  <Message>All access to this object has been disabled</Message>
  <RequestId>4QCN5N7W8P3HBT4G</RequestId>
  <HostId>
    Jf6sB3ui1mslssNY3FdOcCpJYzxSB4v//f3ju9IIK0M9lR2/zEePNTc/mH7IshgIwFYayCORkDc=
  </HostId>
</Error>
yocontra commented 3 years ago

@garycjohnson Issue should be resolved now. This particular issue was caused by amazon locking my personal AWS account last night for a few hours. The current setup uses S3 to store the prebuilt binaries, some newer tooling has come out that would allow us to publish them to github via releases which would be a lot better - currently I'm footing the bill for all of the bandwidth off my personal account which is not great.

Going to move this discussion to https://github.com/contra/node-gdal-next/issues/41

yocontra commented 3 years ago

Also FWIW the fallback if the prebuilds don't exist is to build from source - this should still work fine, it just takes a while.

garycjohnson commented 3 years ago

Thanks for the prompt resolution for this. Much appreciated.