Kindle can't connect...

Questions about Wine on Linux
Locked
quietforest
Newbie
Newbie
Posts: 2
Joined: Sun Jul 02, 2017 10:16 pm

Kindle can't connect...

Post by quietforest »

Total WINE newbie here, trying to get Kindle up and running. I just installed WINE 2.0.1 on a 2009 Macbook running Linux Mint 18.1 Serena 64-bit MATE. The installer download from Amazon (KindleForPC-installer-1.20.47037.exe) is a fail, unpacks and then just closes. I did get Kindle 1.8.1 up and running with Winetricks, but it won't log in with my account password, gives a can't connect error, but it's connecting to something, because Amazon sends me a temporary password to complete the registration process each time I try to log in. Account shows my new Kindle for PC, and the Recommended For You link works (Opera browser), but it can't connect and sync, gives a "cannot connect at this time" error message. I haven't a clue what I may have done wrong.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Kindle can't connect...

Post by dimesio »

You couldn't log in with Kindle 1.8.1 on Windows, either. Amazon regularly retires old Kindle versions; the oldest supported version is currently 1.17.1, which works on my system.

Recent versions of Kindle for PC are affected by https://bugs.winehq.org/show_bug.cgi?id=35041. Use taskset -c 0 to work around it.
tfhavel
Newbie
Newbie
Posts: 1
Joined: Sun Dec 17, 2017 3:06 pm

Re: Kindle can't connect...

Post by tfhavel »

I am having this exact same problem, and the response above is not helpful.

First, like quietforest I found the Kindle-Installer downloaded from Amazon "unpacked" itself but then exited without actually doing the install. This makes it impossible to install the latest version directly, so winetricks was the only option even though it installs an older version.

Second, I cannot update to the latest version from within the Kindle program because it apparently thinks it is not connected to the internet. This is according to the "Help -> Check for Problems" popup (which also says I haven't got secure storage or the dictionary downloads, though that's secondary).

Trying to test my connection from the wineconsole cmd with "ping" produces the cryptic error "fixme:ping:main this command currently just sleeps based on -n parameter" which, according to a posting from 2.5 years ago, is a bug in wine: https://askubuntu.com/questions/622587/ ... or-message. But there MUST be network connectivity within the wine program space because otherwise winetricks would not have been able to download and install anything!

Nevertheless, I also installed the BNN Nook reader with winetricks and I can't log in to my BNN account either; the error message says "the system is unavailable at this time" although once again there does appear to be a connection because if I mistype my password it instead tells me it's wrong!

I must confess to also being puzzled as to exactly what "winetricks" actually does, since after exiting I cannot find any of the programs I installed with it in "~/.wine" or using "wine explorer.exe". But certainly "man winetricks" makes it sound like it should've put them somewhere obvious!

In summary, this is all turning out to be quite painful, and if a similarly flippant "response" is posted I'm probably going to just give up.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Kindle can't connect...

Post by dimesio »

Well, I'm not sure what you consider "flippant" about my previous response; it certainly wasn't meant that way.

What has changed since then is https://bugs.winehq.org/show_bug.cgi?id=43508; recent Kindle versions don't install in Wine. Try an older version; the most recent successful test report mentions installing and registering 1.16.x first then installing the new version to the same wineprefix.
quietforest
Newbie
Newbie
Posts: 2
Joined: Sun Jul 02, 2017 10:16 pm

Re: Kindle can't connect...

Post by quietforest »

This issue has become moot for me now. I did write to Amazon about the problem, and asked why they don't have a Linux version. Their response was essentially, either go buy a Kindle or settle for reading through a supported web browser. Given the serious potential privacy and copyright issues already present with electronic books, the additional install hassle ended my interest, which was based entirely on cost anyway. Sometimes, principle trumps price. I'm just rebuying my (very small) library as physical copies - from anywhere but Amazon.
Ralough
Newbie
Newbie
Posts: 1
Joined: Sat Sep 26, 2020 1:29 pm

Re: Kindle can't connect...

Post by Ralough »

The Kindle app tries to set up a "keep-alive" connection to amazon as soon as the Kindle application is activated.
I have three versions that I try to get running. The oldest succeeds in opening the application window but the help menu tells me that it cannot connect to the internet.
The app seems to assume that the name of my machine is wpad.[my domain]
Once I get past that problem I think the server providing the service at amazon is no longer in operation.
The name being queried is kindle-app-service.amazon.com and I'm seeing a "No such name" response.
a ping on kindle-app-service.amazon.com fails.

This is a work in progress. I'll maybe try Kindle ver 26 to see if I can progress.
qwertymnb
Level 4
Level 4
Posts: 236
Joined: Sun Jan 17, 2016 4:36 pm

Re: Kindle can't connect...

Post by qwertymnb »

Hi,

I don`t know much about this Kindle App, but note that you can get the newest versions installed and running by creating missing directory in AppData (this hint was found by someone who debugged this somewhere in bugzilla)

So: mkdir -p "~/ramdisk/.wine/drive_c/users/put_your_name_here!!!!/AppData/Local/Amazon/Kindle"

I don`t have an account nor a device so couldn`t test anything really, only attached screenshot that shows there`s conectivity but might be just red herring...
Screenshot from 2020-09-27 10-15-50.png
nmm1
Newbie
Newbie
Posts: 3
Joined: Sat Oct 03, 2020 9:23 am

Re: Kindle can't connect...

Post by nmm1 »

Damn. Search is effectively disabled, for some reason, and I missed this. I have an almost identical issue, and created a new post, which is awaiting moderation. I will kill it, if it appears.

Under Debian 8 (jessie), all of Memorymap, Internet Explorer, the Kindle app and Adobe Digit Editions work; under Debian 10 (buster), they all run but only the first two can connect to the Internet. There is not a single diagnostic or clue either to the console or in /var/log. Note that ALL of those applications are the same binaries in the two Debians, and I can still run the latter two by rebooting into the older system. These are the standard versions, so its Wine 4.0.2 under buster. From Kindle, I get the helpful message "unable to connect"; from ADE, I get more words, but no more information.

My question is whether there is any way to persuade Wine to give me some information on what is being done to the network, and what is failing? Given that, I may be able to get somewhere.

I tried a large number of the usual hacks (winetricks, winbind etc.), but nothing helped. While I could purge wine and install the latest and greatest version, will it actually fix the problem? Or will it break the currently working applications? Without some idea of what is going on, I am cautious.
fargodwe

Re: Kindle can't connect...

Post by fargodwe »

How are you even getting the app to start?? I get an error about the windows version not being in the correct syntax:

Code: Select all

dave@dave-Aleena:~/.wine/drive_c/Program Files (x86)/Amazon/Kindle$ wine Kindle.exe
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032E6A4 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032E67C 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FE24 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FDFC 1 C) semi-stub
0009:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0009:fixme:toolhelp:Heap32ListFirst : stub
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
[ERROR][VersionInfo] Build version is not of the form major.minor.patch.revision0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FA7C 1 C) semi-stub

[INFO][CMetricsManager] Reporting the following metric 201129:020022 Mazama: I Application:MZMA_OpenAfterFirstTimeInstall:
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FB44 1 C) semi-stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x86357c8) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x58c7408) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x7459140) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x752233c) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x696d908) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x3fc4c8) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x6a198cc) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x6b55afc) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4a8e328c) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x59ba160) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x5883678) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x66254ffc) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x620bdd1c) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x610247f8) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x58696f0) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x58456c8) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x1208f1d8) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x3e6114) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4f293f0) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x3d68a0) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x63041ed0) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x3adf48) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x640bbcd8) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4a92104) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4bd1304) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4a0f7f8) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x45e576c) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x673d0d44) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x4aa56ac4) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x419a7a4) stub
dave@dave-Aleena:
I tried making the directory as mentioned previously in this thread but it makes no difference.
bgeer
Newbie
Newbie
Posts: 1
Joined: Sun Jan 03, 2021 1:08 pm

Re: Kindle can't connect...

Post by bgeer »

Kindle works as desired thus:
wine-5.22 (Staging)
linux 5.4.42 [slacklive distribution 1.3.5.2]
kindle-for-pc-1-17-44183.exe
Kindle "Unable to connect" thus [previously downloaded books are listed & can be read]:
wine-5.22 (Staging)
linux 5.10.3 [slacklive distribution 1.3.8.2]
kindle-for-pc-1-17-44183.exe

The tons of stderr output are similar as Kindle starts up; 2 statements I find with linux 5.10.3:

WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
00d4:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!

Occasionally [not always] I see this with linux 5.10.3:

0060:err:ole:start_rpcss Failed to start RpcSs service

The reason I wish to use newer Linux kernel is my 2020 MacBook Air - only newer kernels support it. My 2013 MacBook Air works with older kernels. Yes, I could use Kindle for Mac but for other reasons I wish to use this older Kindle for PC.

Much obliged for any assistance. Bob
Alan Aversa
Level 1
Level 1
Posts: 9
Joined: Tue Feb 07, 2012 6:52 pm

Re: Kindle can't connect...

Post by Alan Aversa »

I get this issue with wine-6.0-rc5: Kindle 1.16.0 will ask to download an update, but the network disconnects after a certain amount of time and comes back intermittently. Nothing in the output seems to indicate why:

Code: Select all

$ wine ~/.wine/drive_c/Program\ Files/Amazon/Kindle/Kindle.exe
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
002c:err:winediag:WS_getaddrinfo Failed to resolve your host name IP
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
0068:err:vulkan:get_vulkan_driver Wine was built without Vulkan support.
preloader: Warning: failed to reserve range 00010000-00110000
0068:err:ole:start_rpcss Failed to start RpcSs service
00c0:err:plugplay:try_add_device Building report descriptor failed, removing device
00c0:err:plugplay:try_add_device Building report descriptor failed, removing device
00ac:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
preloader: Warning: failed to reserve range 00010000-00110000
0024:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0031F8EC 1 C) semi-stub
0024:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0031F604 1 C) semi-stub
0024:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0024:fixme:toolhelp:Heap32ListFirst : stub
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:font:RemoveFontMemResourceEx (80596B41) stub
0024:fixme:font:RemoveFontMemResourceEx (8025B9E9) stub
0024:fixme:font:RemoveFontMemResourceEx (80208129) stub
0024:fixme:font:RemoveFontMemResourceEx (802FCDD1) stub
wine: Unhandled page fault on execute access to 00000000 at address 00000000 (thread 0074), starting debugger...
preloader: Warning: failed to reserve range 00010000-00110000
0024:fixme:file:NtLockFile I/O completion on lock not implemented yet
preloader: Warning: failed to reserve range 00010000-00110000
0024:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0024:fixme:toolhelp:Heap32ListFirst : stub
0198:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 11.0.0, 256 bits)").
0198:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0198:fixme:d3d9:d3d9_device_CreateTexture Resource sharing not implemented, *shared_handle 00000000.
01bc:fixme:d3d9:d3d9_device_CreateTexture Resource sharing not implemented, *shared_handle 00000000.
0024:fixme:font:RemoveFontMemResourceEx (802ACC79) stub
0024:fixme:font:RemoveFontMemResourceEx (803122E1) stub
0024:fixme:font:RemoveFontMemResourceEx (803C6A21) stub
0024:fixme:font:RemoveFontMemResourceEx (8038B6C9) stub
0024:fixme:font:RemoveFontMemResourceEx (800D4C09) stub
0024:fixme:font:RemoveFontMemResourceEx (800CE6F9) stub
0024:fixme:font:RemoveFontMemResourceEx (800E7801) stub
preloader: Warning: failed to reserve range 00010000-00110000
01cc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
01cc:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
01cc:fixme:process:SetProcessDEPPolicy (1): stub
01cc:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
^C01e8:fixme:console:default_ctrl_handler Terminating process 20 on event 0
Gin
Newbie
Newbie
Posts: 2
Joined: Sun Jan 31, 2021 5:16 am

Re: Kindle can't connect...

Post by Gin »

Hi Alan

Generally one of the most WINE stable versions of Kindle for PC is 1.17x . I have successfully installed 1.17x with PlayOnLinux (POL). POL has an install script for installing Kindle for PC 1.17. The POL install script will download 1.17x, and needed files during the install process. The install script can be found in POL (see Install, Accessories, kindle). The install process will create a new install that should let you connect to your kindle library. In future you can upgrade Kindle for PC with POL ie Configure, Miscellaneous, run an exe. I used this option to update 1.17x to 1.20x. (1.20x can be upload from the internet). POL also helps me to manage and use different versions of wine like 3.3 or 5.17 stable and to tweak wine. NB I use Xubuntu.
Vivienne
Newbie
Newbie
Posts: 3
Joined: Thu Feb 04, 2021 7:36 pm

Re: Kindle can't connect...

Post by Vivienne »

The Kindle4PC not being able to connect is a problem that recurs quite often. I think this is the second or third time this has happened with me. Previously I made a Playonlinux wineprefix using stable wine 5.0.1 as a backup which worked for a while when the development or staging version would refuse to connect on or off. but yesterday even this stable version failed to connect. I tried version 1.16 as some above have suggested was connecting and many other versions. All of them failed to connect. Until version 1.3.0 B 30884 found on filehippo finally connected and even had the email and password window pop up. Then it failed to login but I discovered that amazon had sent me an email with a temporary password to be able to login. Version 1.3.0 is very old and I suspect it eats a lot of memory but I can at least download the books I want and by sharing the folder with version 1.17 (which is in another wine prefix) I can use version 1.17 to read the books because they are registered with the same account. Not a very elegant solution but this is the only one that worked for me so far. Hope this helps someone
Vivienne
Newbie
Newbie
Posts: 3
Joined: Thu Feb 04, 2021 7:36 pm

Re: Kindle can't connect...

Post by Vivienne »

Some more things I have discovered:
Version 1.3 will not start using the POL shortcut. You actually have to use the 'run a .exe in this virtual drive' button under miscellaneous and find the .exe to make it run. Also samples cannot be downloaded in this version.
I have also discovered that only the mobi versions of ebooks can be opened using the 1.17 version from the other wineprefix. The azw version cannot be opened and the app tells you to redownload the book which you can't do because it won't connect!
Vivienne
Newbie
Newbie
Posts: 3
Joined: Thu Feb 04, 2021 7:36 pm

Re: Kindle can't connect...

Post by Vivienne »

Some more discoveries:
At the moment any Kindle4PC version will not install in the main wine folder; it unpacks and just disappears into thin air. When I run Kindle it's still the old version. That leaves the option of using playonlinux for a fresh wine prefix so I have tried installing version 1.19 in a playonlinux prefix which doesn't connect either but then version 1.21 connects and is able to download books too!
RodMyers
Newbie
Newbie
Posts: 1
Joined: Mon Apr 12, 2021 6:42 pm

Re: Kindle can't connect...

Post by RodMyers »

I'm using;

OS: Void Linux x86_64
Kernel: 5.11.12_1
wine-6.6_1
wine-32bit-6.6_1

i have it installed just fine, and creating the log file shows nothing.

From the icon created on the desktop or from the shell, I get the popup requester stating;

Unable to connect
please check your network connection

not sure what else I need to do or what I can offer in troubleshooting this issue
Liamwil
Newbie
Newbie
Posts: 1
Joined: Sun Oct 24, 2021 8:09 am

Re: Kindle can't connect...

Post by Liamwil »

Check the link, it is a problem created by a missing certificate. At the end of the posts you get the contents of the certif and could save it in /etc/ssl
https://bugs.winehq.org/show_bug.cgi?id=50471
Locked