Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

T@H dont delete all files sometime #822

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

T@H dont delete all files sometime #822

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: fatbozz[at]atlas.cz
[Submitted to the original trac issue database at 11.04pm, Sunday, 6th April 2008]

Hi im using

G:\GPSaWardriving\Utility\tilesAtHome>tilesGen.pl version

  • Using working directory c:\temp\
  • Inkscape version 0.46
  • rendering using Osmarender/XSLT
  • xmlstarlet version 1.0.1
  • zip is present
    going to use optipng
  • Pngcrush version 1.6.4
  • OptiPNG version 0.5.5
  • Uploading with username "PetrS"
  • Deleting ZIP files after upload
  • Configured Layer: default
  • Configured Layer: maplint
  • Configured Layer: captionless
    This is version 7257 (Poynton) of tilesgen running on MSWin32

Sometime T@H dont delete all zip files in uploadable folder when loop mode is on (i saw only 15Mb+ files) this may cause high netload for tah server, because this file is still uploaded till you dont stop loop and delete it manually.

@openstreetmap-trac
Copy link
Author

Author: osm[at]deelkar.net
[Added to the original trac issue at 1.00am, Tuesday, 8th April 2008]

  • Check there is no (known) proxy between you an the tah server.

  • Check you can upload large files successfully to the tah server. (go to http://tah.openstreetmap.org/Upload/ and try uploading from there, watch for errors)

If that doesn't go through OK you have a (transparent) proxy somewhere between your client and the tah server which blocks file uploads larger than some preconfigured size. This size must be at least 24 MiB (24 * 1024^2^ Bytes) for t@h to work.

If this doesn't show any problems try running the client with the setting "Verbose=1" in the tilesAtHome.conf
and post the output.

@openstreetmap-trac
Copy link
Author

Author: fatbozz[at]atlas.cz
[Added to the original trac issue at 3.54pm, Wednesday, 9th April 2008]

When i load file through TAH webupload, then file is finished, page is still white, nothig more, i expected "yeah done" or something else ( i did it first this upload).

When verbose mode is on, then client is writing

G:\GPSaWardriving\Utility\tilesAtHome>tilesGen.pl upload
- Using working directory c:\temp\
- Inkscape version 0.46
- rendering using Osmarender/XSLT
- xmlstarlet version 1.0.1
- zip is present
going to use optipng
- Pngcrush version 1.6.4
- OptiPNG version 0.5.5
- Uploading with username "PetrS"
- Deleting ZIP files after upload
- Configured Layer: default
- Configured Layer: maplint
- Configured Layer: captionless
This is version 7257 (Poynton) of tilesgen running on MSWin32
[#0   0% warning] don't run this parallel to another tilesGen.pl instance
[#0   0% upload1] Uploading c:\temp\/uploadable/1207699888_147868_0_tile_tileset.zip... ERROR
  Error uploading c:\temp\/uploadable/1207699888_147868_0_tile_tileset.zip to http://tah.openstreetmap.org/Upload/tile2.php:  500 read timeout
[#0   0% upload2] Uploading c:\temp\/uploadable/1207699888_147868_0_tile_tileset.zip... ERROR
  Error uploading c:\temp\/uploadable/1207699888_147868_0_tile_tileset.zip to http://tah.openstreetmap.org/Upload/tile2.php:  500 read timeout
[#0   0% upload2] 0 zip files left to upload...
G:\GPSaWardriving\Utility\tilesAtHome>

and file is still TMP folder, next run is still uploaded

@openstreetmap-trac
Copy link
Author

Author: osm[at]deelkar.net
[Added to the original trac issue at 12.10am, Friday, 11th April 2008]

the error is the "Read timeout"
Since the server runs ok for me (and apparently everyone else) the problem should be at your end.
Make sure you can use HTTP POST with more than 10 MB (24 MiB currently needed for t@h) for the payload. From here it seems you have some transparent proxy at your web hoster for http requests that is unable to handle POST requests over a certain limit (I think around 10 MB is the default for most implementations, but I don't know for sure)

@openstreetmap-trac
Copy link
Author

Author: fatbozz[at]atlas.cz
[Added to the original trac issue at 4.41am, Friday, 11th April 2008]

Im not behind proxy, im directly connected to the internet.

@openstreetmap-trac
Copy link
Author

Author: osm[at]deelkar.net
[Added to the original trac issue at 2.39pm, Friday, 11th April 2008]

I meant ISP instead of web hoster, sorry. Nevertheless this is something that worksforme, or wontfix. You have to contact your ISP, or otherwise make sure you can POST entities as large as 24 MiB.
This is not a problem of osmarender, nor tilesAtHome itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant