ukris / typhoonae

Automatically exported from code.google.com/p/typhoonae
0 stars 0 forks source link

Blobstore creates invalid upload URL #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Observe the output of: blobstore.create_upload_url('/upload')

What is the expected output? What do you see instead?
Expected output: http://192.168.1.103:8080/upload/loNgranDomsTriNGl0l
Current output: http://localhost.localdomain:8080/upload/loNgranDomsTriNGl0l

What version of the product are you using? On what operating system?
0.1.2 on Ubuntu 9.10

Original issue reported on code.google.com by Noah.Mci...@gmail.com on 2 Feb 2010 at 9:42

GoogleCodeExporter commented 9 years ago
The upload URL is created by the following pattern:

http://SERVER_NAME:SERVER_PORT/uploader_path/upload_session_id

You can influence several parts:

SERVER_NAME - by using the apptool option --server_name=STRING (default 
socket.getfqdn())
SERVER_PORT - by using the apptool option --http_port=PORT (default 8080)
uploader_path - by using the apptool option --upload_url=URI (default '/upload')

As a workaround try to achieve the desired upload URL with 
--server_name=192.168.1.103. I know that's a 
bit odd, because we should rather provide an --addresss option.

Original comment by tobias.r...@gmail.com on 2 Feb 2010 at 4:28

GoogleCodeExporter commented 9 years ago

Original comment by tobias.r...@gmail.com on 12 Jun 2010 at 10:06

GoogleCodeExporter commented 9 years ago
Fix included in 0.1.5 release.

Original comment by tobias.r...@gmail.com on 9 Jul 2010 at 9:55