blosm icon indicating copy to clipboard operation
blosm copied to clipboard

[SOLVED] Forbidden, 403 Error when Importing terrain (Premium add-on)

Open MaxLenormand opened this issue 1 year ago • 62 comments

Hi there,

Really cool add-on, though I'm faililng to import terrain and not quite sure why.

All I'm getting is a 403 Error when hitting osm -> Terrain - import as shown here:

CleanShot 2023-05-20 at 15 58 42

For context I'm running Blender 3.4.1 on Macos 13.2.1 on a M1 Pro Macbook Pro

Here's my add-on setup (I'm using the premium version):

CleanShot 2023-05-20 at 16 02 13

I am able to get imagery & building from OSM

Any help would be helpful, thanks! I have the know-how to get elevation data myself but this add-on would make it a lot easier to get fetch it quickly, hope I can get to the bottom of this!

Cheers

MaxLenormand avatar May 20 '23 14:05 MaxLenormand

Just started experiencing the same issue today. I am on the free version though.

cxy7722 avatar May 20 '23 20:05 cxy7722

I am seeing the same issue as of today. Importing terrain from most areas throws back a Forbidden error (e.g., Laramie, WY) however some locations still import fine (e.g., Virginia Tech). Hoping this can be resolved. Thanks!

jcav258 avatar May 20 '23 21:05 jcav258

Same problem here (Free Version)

It looks like the tile repository is returning that error: Example request for: http://s3.amazonaws.com/elevation-tiles-prod/skadi/N01/N01E103.hgt.gz

GET /elevation-tiles-prod/skadi/N01/N01E103.hgt.gz HTTP/1.1
Accept-Encoding: identity
Host: s3.amazonaws.com
User-Agent: custom
Connection: close

HTTP/1.1 403 Forbidden
x-amz-request-id: 30E7K3Q9KYNXXT4T
x-amz-id-2: yIm1AwjBDGmqok3FrcF5ZwvC1Dx2zT7XT8eEMKrh3y/XhXCEWdZtMybHGmkgBI1lSgWwoutw+BA=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Sun, 21 May 2023 07:28:41 GMT
Server: AmazonS3
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>30E7K3Q9KYNXXT4T</RequestId><HostId>yIm1AwjBDGmqok3FrcF5ZwvC1Dx2zT7XT8eEMKrh3y/XhXCEWdZtMybHGmkgBI1lSgWwoutw+BA=</HostId></Error>

v0d avatar May 21 '23 07:05 v0d

Same error here trying to export European tiles on the premium version. @vvoovv any hint on what's happening?

Thanks

xplodwild avatar May 21 '23 18:05 xplodwild

Having the exact same issue using Premium version.

DesertViber avatar May 22 '23 05:05 DesertViber

I'll examining the issue right now.

vvoovv avatar May 22 '23 05:05 vvoovv

http://s3.amazonaws.com/elevation-tiles-prod/skadi/N01/N01E103.hgt.gz

I think have found the cause of the problem.

The link should start from https (with s at the end): https://s3.amazonaws.com/elevation-tiles-prod/skadi/N01/N01E103.hgt.gz

I hope to provide the fix today.

vvoovv avatar May 22 '23 09:05 vvoovv

The fix for the base version can be already downloaded on Gumroad: https://prochitecture.gumroad.com/l/blender-osm

The fix for the premium version will follow.

vvoovv avatar May 22 '23 11:05 vvoovv

Awesome! Thanks so much. Love the program BTW.V/R,Mark Spence+1-928-373-8636 (US)On May 22, 2023, at 5:35 AM, vvoovv @.***> wrote:

http://s3.amazonaws.com/elevation-tiles-prod/skadi/N01/N01E103.hgt.gz

I think have found the cause of the problem. The link should start from https (with s at the end): https://s3.amazonaws.com/elevation-tiles-prod/skadi/N01/N01E103.hgt.gz I hope to provide the fix today.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

DesertViber avatar May 22 '23 11:05 DesertViber

Hi, I have tried to download again the add-on right now, but still not working, same error 403.

Hansel8900 avatar May 22 '23 11:05 Hansel8900

Hi, I have tried to download again the add-on right now, but still not working, same error 403.

What is the version of the addon?

vvoovv avatar May 22 '23 11:05 vvoovv

I uploaded the fixes on Gumroad.

The base version: https://prochitecture.gumroad.com/l/blender-osm

The premium version: https://prochitecture.gumroad.com/l/blosm

Please provide feedback if it's working now.

vvoovv avatar May 22 '23 11:05 vvoovv

Hi, I have tried to download again the add-on right now, but still not working, same error 403.

What is the version of the addon?

version 2.6.6

Hansel8900 avatar May 22 '23 11:05 Hansel8900

@Hansel8900 Could you please show a screenshot of the System Console in Blender after you tried to import the terrain: On Windows: Main Menu -> Window -> Toggle System Console.

vvoovv avatar May 22 '23 11:05 vvoovv

@Hansel8900 Can you download the file after clicking on the link https://s3.amazonaws.com/elevation-tiles-prod/skadi/N01/N01E103.hgt.gz ?

vvoovv avatar May 22 '23 11:05 vvoovv

Ok, I have actually removed and re-added the add-on and now it works! Thanks :)

Hansel8900 avatar May 22 '23 11:05 Hansel8900

I am using the premium version, I used the link received by email some time ago to re-download the package (expecting it will be updated). But I am still having the error :

Downloading the file from http://s3.amazonaws.com/elevation-tiles-prod/skadi/N40/N40W075.hgt.gz... Error: HTTP Error 403: Forbidden

If I click on the link, I get an access denied, if i modify it to https I can download it.

MattPaquito avatar May 22 '23 15:05 MattPaquito

UPDATE : I did a quick and dirty fix on my installation : I update the script 'app/blender.py' from the addon installation folder to replace http by https in the terrainUrl and it works now 👍

MattPaquito avatar May 22 '23 15:05 MattPaquito

Question, How do I download it again without having to pay for the premium again?

On Mon, May 22, 2023 at 3:35 AM vvoovv @.***> wrote:

I uploaded the fixes on Gumroad.

The base version: https://prochitecture.gumroad.com/l/blender-osm

The premium version: https://prochitecture.gumroad.com/l/blosm

Please provide feedback if it's working now.

— Reply to this email directly, view it on GitHub https://github.com/vvoovv/blender-osm/issues/351#issuecomment-1557059076, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7EFOYC4KWB2T4SXQLAY4B3XHNFQBANCNFSM6AAAAAAYIYG2K4 . You are receiving this because you commented.Message ID: @.***>

DesertViber avatar May 22 '23 16:05 DesertViber

When I paid for the subscription few years ago, I got an email with a link that let me download the package. I re-used the same link hoping that the package will be updated ... It will be weird to have to pay for a bug fix since I believe the premium was a life-time subscription.

MattPaquito avatar May 22 '23 17:05 MattPaquito

Ok, I'll take a look. Yeah it would be weird

On Mon, May 22, 2023 at 9:01 AM MattPaquito @.***> wrote:

When I paid for the subscription few years ago, I got an email with a link that let me download the package. I re-used the same link hoping that the package will be updated ... It will be weird to have to pay for a bug fix since I believe the premium was a life-time subscription.

— Reply to this email directly, view it on GitHub https://github.com/vvoovv/blender-osm/issues/351#issuecomment-1557582135, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7EFOYGGENZDO4YBC7DI2RLXHOLWBANCNFSM6AAAAAAYIYG2K4 . You are receiving this because you commented.Message ID: @.***>

DesertViber avatar May 22 '23 17:05 DesertViber

@MattPaquito

Please install the latest version (2.6.6) of the addon.

vvoovv avatar May 22 '23 17:05 vvoovv

@vvoovv - How do I access the latest version (2.6.6) of the addon ? Is it updated on the link I received some years ago (when I paid for the premium) ?

MattPaquito avatar May 22 '23 17:05 MattPaquito

@DesertViber

You can always get the latest version of the addon using the download link in your purchase confirmation email.

vvoovv avatar May 22 '23 17:05 vvoovv

@vvoovv - How do I access the latest version (2.6.6) of the addon ? Is it updated on the link I received some years ago (when I paid for the premium) ?

Yes, you can always get the latest version of the addon (currently 2.6.6) using the download link in your purchase confirmation email.

vvoovv avatar May 22 '23 17:05 vvoovv

Working great my friend. Thank you so much for getting on this so quickly. Impressive.

On Mon, May 22, 2023 at 9:09 AM vvoovv @.***> wrote:

@vvoovv https://github.com/vvoovv - How do I access the latest version (2.6.6) of the addon ? Is it updated on the link I received some years ago (when I paid for the premium) ?

Yes, you can always get the latest version of the addon (currently 2.6.6) using the download link in your purchase confirmation email.

— Reply to this email directly, view it on GitHub https://github.com/vvoovv/blender-osm/issues/351#issuecomment-1557593455, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7EFOYB6SEBBRWCP6H7KVH3XHOMTJANCNFSM6AAAAAAYIYG2K4 . You are receiving this because you were mentioned.Message ID: @.***>

DesertViber avatar May 22 '23 17:05 DesertViber

Solved on my side too ! Thanks @vvoovv

MattPaquito avatar May 22 '23 18:05 MattPaquito

Still having this 403 issue with the free version. The latest version I'm able to download is 2.6.5 so I'm guessing perhaps free hasn't been updated yet.

subscribetosomething avatar May 24 '23 19:05 subscribetosomething

@subscribetosomething

The version is Gumroad is 2.6.6. Just checked it again.

Please try removing all versions of the addon. Then restart Blender and install the latest version from Gumroad.

vvoovv avatar May 24 '23 19:05 vvoovv

So strange. I am on Blender 3.5. Tried deleting the local files for all previous versions of Blender, removing the add on, restarting my PC then re-installing the add on.... Still the version showing is 2.6.5. Not sure what else I can do besides re-installing Blender.

Edit: I tried re-purchasing to generate a fresh view content link, and I checked the files inside the zip folder and they appear to be dated 3/1/2023 -- Perhaps Gumroad isn't directing me to the latest file?

subscribetosomething avatar May 24 '23 20:05 subscribetosomething