FVTT-DD-Import icon indicating copy to clipboard operation
FVTT-DD-Import copied to clipboard

Issue - Hosted Upload

Open LyricalStreetPoet opened this issue 4 years ago • 4 comments

When I host Foundry on a local Windows 10 machine and then try to upload the dd2vtt file from my client PC via the web interface, nothing happens when you click the 'import' button.

I have to upload to the dd2vtt to the server and then upload it locally through the foundry client on the server.

LyricalStreetPoet avatar Aug 18 '20 13:08 LyricalStreetPoet

Do you see any error messages in console?

moo-man avatar Aug 18 '20 14:08 moo-man

@LyricalStreetPoet is this still relevant or did you solve it?

m42e avatar Oct 15 '20 11:10 m42e

I gonna hijack this Issue for my issue!

Changed my home network setup and I am now using Nginx as reverse proxy and running foundry in a Docker Container. Using DD-Import for larger files does not work anymore. ~4MB are still ok larger ones just give this message:

Uncaught TypeError: blob is null
    p modules/dd-import/ddimport.js:252
    p modules/dd-import/ddimport.js:251
    activateListenersmodules/dd-import/ddimport.js:250
    jQuery 9
    activateListeners modules/dd-import/ddimport.js:123
    _render scripts/foundry.js:4537
    render scripts/foundry.js:4479
    <anonymous>modules/dd-import/ddimport.js:6
    jQuery 9
    <anonymous> modules/dd-import/ddimport.js:5
    _call scripts/foundry.js:2496
    call scripts/foundry.js:2481
    _render scripts/foundry.js:4547
    _render scripts/foundry.js:15806
    render scripts/foundry.js:4479
ddimport

I am using this docker image: https://github.com/felddy/foundryvtt-docker And my nginx configuration is basically this: https://foundryvtt.com/article/nginx/ except for the changes made by certbot to use SSL.

Thanks in advance!

EDIT: My none dockerized instance can import even the large dd2vtt file. With the Docker instance I can upload 40MB+ files when I use the default scene create dialogue.

EDIT2: Docker container does not say anything either

EDIT3: There is no request registred in the nginx access/error log

Nordiii avatar Dec 13 '20 17:12 Nordiii

After seeing issue #56 I tested it with a newly created map and I can import this large map. Maybe this was an issue with incompatible versions as I had the working instance running on an older release.

Nordiii avatar Jan 17 '21 22:01 Nordiii