Problem accessing cloud behind a proxy

Davide DB dbdavide at gmail.com
Wed Nov 15 07:07:02 PST 2017


On 15 November 2017 at 15:27, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> Davide, can you test with this binary:
>
>
http://subsurface-divelog.org/downloads/test/subsurface-4.7.4-21-gbd9dad7371f8.exe
>
> That will tell us what libgit thinks the proxy might be.
>
> With Lubomir's changes there are two ways to get the console output:
>
> You can run from cmd.exe - then the output is shown on the screen, but not
> saved to the log files.
> Or you can run this by double clicking on the executable. Then the log
> output is saved to the two log files.
>

Ok, something has changed.

At first I tested everything with the subsurface-4.7.2-74-g577bf57ddfb8.exe
(no joy)
Then I tested 4.74 (no joy)
Then I cleared subsurface proxy settings from Windows registry and again
tested with 4.7.4 (no joy)
Installing subsurface-4.7.4-21-gbd9dad7371f8.exe Subsurface must have
changed something in the Windows registry because now I get completely
different errors...


*First try with subsurface.exe -v (I see the progress bar downloading 80
dives but at the end I get an error and no dives are displayed)*

C:\Program Files (x86)\Subsurface>subsurface.exe -v

C:\Program Files (x86)\Subsurface>
Subsurface v4.7.4-21-gbd9dad7371f8,
built with libdivecomputer v0.6.0-devel-Subsurface-branch
(7de3a549ee588fef4702ee9d894e390aca43950d)
built with Qt Version 5.9.1, runtime from Qt Version 5.9.1
built with libgit2 0.26.0
validateGL(): created OpenGLContext.
validateGL(): obtained QOpenGLFunctions.
validateGL(): detected OpenGL version 3.3.
Plugins Directory:  QDir( "C:/Program Files (x86)/Subsurface/plugins" ,
nameFilters = { "*" },  QDir::SortFlags( Name | IgnoreCase ) ,
QDir::Filters( Dirs|Files|Drives|AllEntries ) )
cloud URL set as "
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
"
loading dive data from ("
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
")
git storage: Synchronising data file
git storage: update local repo
sync with remote
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
git storage: Sync with cloud storage
delete proxy setting
Cloud storage: checking connection to cloud server
Checking cloud connection...
git storage: Waiting for cloud connection (1 second(s) passed)
git storage: fetch remote
git storage: Successful cloud connection, fetch remote
git storage: Transfer from storage (0/60)
git storage: Transfer from storage (1/60)
git storage: Transfer from storage (2/60)
git storage: Transfer from storage (3/60)
git storage: Transfer from storage (4/60)
git storage: Transfer from storage (5/60)
git storage: Transfer from storage (6/60)
git storage: Transfer from storage (7/60)
git storage: Transfer from storage (8/60)
git storage: Transfer from storage (9/60)
git storage: Transfer from storage (10/60)
git storage: Transfer from storage (11/60)
git storage: Transfer from storage (12/60)
git storage: Transfer from storage (13/60)
git storage: Transfer from storage (14/60)
git storage: Transfer from storage (15/60)
git storage: Transfer from storage (16/60)
git storage: Transfer from storage (17/60)
git storage: Transfer from storage (18/60)
git storage: Transfer from storage (19/60)
git storage: Transfer from storage (20/60)
git storage: Transfer from storage (21/60)
git storage: Transfer from storage (22/60)
git storage: Transfer from storage (23/60)
git storage: Transfer from storage (24/60)
git storage: Transfer from storage (25/60)
git storage: Transfer from storage (26/60)
git storage: Transfer from storage (27/60)
git storage: Transfer from storage (28/60)
git storage: Transfer from storage (29/60)
git storage: Transfer from storage (30/60)
git storage: Transfer from storage (31/60)
git storage: Transfer from storage (32/60)
git storage: Transfer from storage (33/60)
git storage: Transfer from storage (34/60)
git storage: Transfer from storage (35/60)
git storage: Transfer from storage (36/60)
git storage: Transfer from storage (37/60)
git storage: Transfer from storage (38/60)
git storage: Transfer from storage (39/60)
git storage: Transfer from storage (40/60)
git storage: Transfer from storage (41/60)
git storage: Transfer from storage (42/60)
git storage: Transfer from storage (43/60)
git storage: Transfer from storage (44/60)
git storage: Transfer from storage (45/60)
git storage: Transfer from storage (46/60)
git storage: Transfer from storage (47/60)
git storage: Transfer from storage (48/60)
git storage: Transfer from storage (49/60)
git storage: Transfer from storage (50/60)
git storage: Transfer from storage (51/60)
git storage: Transfer from storage (52/60)
git storage: Transfer from storage (53/60)
git storage: Transfer from storage (54/60)
git storage: Transfer from storage (55/60)
git storage: Transfer from storage (56/60)
git storage: Transfer from storage (57/60)
git storage: Transfer from storage (58/60)
git storage: Transfer from storage (59/60)
git storage: Transfer from storage (60/60)
git storage: Transfer from storage (61/80)
git storage: Transfer from storage (62/80)
git storage: Transfer from storage (63/80)
git storage: Transfer from storage (64/80)
git storage: Transfer from storage (65/80)
git storage: Transfer from storage (66/80)
git storage: Transfer from storage (67/80)
git storage: Transfer from storage (68/80)
git storage: Transfer from storage (69/80)
git storage: Transfer from storage (70/80)
git storage: Transfer from storage (71/80)
git storage: Transfer from storage (72/80)
git storage: Transfer from storage (73/80)
git storage: Transfer from storage (74/80)
git storage: Transfer from storage (75/80)
git storage: Transfer from storage (76/80)
git storage: Transfer from storage (77/80)
git storage: Transfer from storage (78/80)
git storage: Transfer from storage (79/80)
git storage: Transfer from storage (80/80)
git storage: check remote status
git storage: try to update

*rename of
C:\Users\ddebenedictis\AppData\Roaming\Subsurface/cloudstorage/29fc20f013e9f1fb
to
"C:\\Users\\ddebenedictis\\AppData\\Roaming\\Subsurface/cloudstorage/29fc20f013e9f1fb.1"
failedexclusive write access obtained...closing handle!rename failed: 5*
git storage: Done syncing with cloud storage
git storage: Load dives from local cache
git storage: Successfully opened dive data
Set the current dive site: 0

File locations:

cloud URL set as "
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
"
Local git storage:
C:\Users\ddebenedictis\AppData\Roaming\Subsurface/cloudstorage/29fc20f013e9f1fb
Cloud URL:
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
Image hashes: C:\Users\ddebenedictis\AppData\Roaming\Subsurface/hashes
Local picture directory:
C:\Users\ddebenedictis\AppData\Roaming\Subsurface/picturedata/


*Second try. I did not restart Subsurface but I selected File > Open cloud
storage*

cloud URL set as "
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
"
Opening cloud storage from: "
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
"
Set the current dive site: 0
git storage: Synchronising data file
git storage: update local repo
sync with remote
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
git storage: Sync with cloud storage
delete proxy setting
Cloud storage: checking connection to cloud server
Checking cloud connection...
git storage: Waiting for cloud connection (1 second(s) passed)
git storage: Waiting for cloud connection (2 second(s) passed)
git storage: Waiting for cloud connection (3 second(s) passed)
git storage: Waiting for cloud connection (4 second(s) passed)
*git storage: Cloud connection failed*
*connection test to cloud server failed
QNetworkReply::NetworkError(ProtocolInvalidOperationError) "Error
transferring
https://cloud.subsurface-divelog.org//make-latte?number-of-shots=3
<https://cloud.subsurface-divelog.org//make-latte?number-of-shots=3> -
server replied: I'm a teapot" 418 "Linus does not like non-fat milk"*
Cloud storage: unable to connect to cloud server
git storage: Can't reach cloud server, working with local data
git storage: Load dives from local cache
git storage: Successfully opened dive data
Set the current dive site: 0

*Third attempt:  I did not restart Subsurface but I selected File > Take
cloud storage online; File > Open cloud storage*

cloud URL set as "
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
"
Opening cloud storage from: "
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
"
Set the current dive site: 0
git storage: Synchronising data file
git storage: update local repo
sync with remote
https://cloud.subsurface-divelog.org//git/dbdavide@gmail.com[dbdavide@gmail.com]
git storage: Sync with cloud storage
delete proxy setting
Cloud storage: checking connection to cloud server
Checking cloud connection...
git storage: Waiting for cloud connection (1 second(s) passed)
git storage: fetch remote
git storage: Successful cloud connection, fetch remote
git storage: check remote status
git storage: try to update
*rename of
C:\Users\ddebenedictis\AppData\Roaming\Subsurface/cloudstorage/29fc20f013e9f1fb
to
"C:\\Users\\ddebenedictis\\AppData\\Roaming\\Subsurface/cloudstorage/29fc20f013e9f1fb.1"
failed*
*exclusive write access obtained...closing handle!rename failed: 5*
git storage: Done syncing with cloud storage
git storage: Load dives from local cache
git storage: Successfully opened dive data
Set the current dive site: 0



-- 
Davide
https://vimeo.com/bocio/videos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20171115/a1149f58/attachment.html>


More information about the subsurface mailing list