Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Dat not downloading (0B/s) with dat-desktop #644

Open
maccadia opened this issue Mar 9, 2020 · 1 comment
Open

Dat not downloading (0B/s) with dat-desktop #644

maccadia opened this issue Mar 9, 2020 · 1 comment

Comments

@maccadia
Copy link

maccadia commented Mar 9, 2020

I tried to download with dat-desktop but download is stuck at 0B/s.
I can download the dat with dat-cli from npm.

With Dat-Desktop-3.0.1.AppImage :

Uncaught (in promise) undefined
/tmp/.mount_Dat-Dejp…evelopment.js:12357 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: m
/tmp/.mount_Dat-Dejp…evelopment.js:12357 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: t
/tmp/.mount_Dat-Dejp…les/ttl/index.js:38 Uncaught TypeError: this._store[key].timeout.unref is not a function
    at Cache.put (/tmp/.mount_Dat-Dejp…les/ttl/index.js:38)
    at /tmp/.mount_Dat-Dejp…e-watch/index.js:95
    at FSReqCallback.oncomplete (fs.js:166)
/tmp/.mount_Dat-Dejp…ncoding/index.js:18 Uncaught Error: Invalid key
    at decode (/tmp/.mount_Dat-Dejp…ncoding/index.js:18)
    at encode (/tmp/.mount_Dat-Dejp…encoding/index.js:6)
    at t.requestDownload (index.js:49)
    at requestDownload (dat-import.js:9)
    at onKeyDown (dat-import.js:63)
    at HTMLUnknownElement.callCallback (/tmp/.mount_Dat-Dejp….development.js:336)
    at Object.invokeGuardedCallbackDev (/tmp/.mount_Dat-Dejp….development.js:385)
    at invokeGuardedCallback (/tmp/.mount_Dat-Dejp….development.js:440)
    at invokeGuardedCallbackAndCatchFirstError (/tmp/.mount_Dat-Dejp….development.js:454)
    at executeDispatch (/tmp/.mount_Dat-Dejp….development.js:584)
/tmp/.mount_Dat-Dejp….development.js:475 Uncaught Error: Invalid key
    at decode (/tmp/.mount_Dat-Dejp…ncoding/index.js:18)
    at encode (/tmp/.mount_Dat-Dejp…encoding/index.js:6)
    at t.requestDownload (index.js:49)
    at requestDownload (dat-import.js:9)
    at onKeyDown (dat-import.js:63)
    at HTMLUnknownElement.callCallback (/tmp/.mount_Dat-Dejp….development.js:336)
    at Object.invokeGuardedCallbackDev (/tmp/.mount_Dat-Dejp….development.js:385)
    at invokeGuardedCallback (/tmp/.mount_Dat-Dejp….development.js:440)
    at invokeGuardedCallbackAndCatchFirstError (/tmp/.mount_Dat-Dejp….development.js:454)
    at executeDispatch (/tmp/.mount_Dat-Dejp….development.js:584)
index.js:64 [info] Testing connection to public peer
index.js:64 [error] FAIL - unable to load utp-native, utp connections will not work
index.js:64 [info] TCP ONLY - success!
index.js:64 
index.js:64 [info] End of phase one (Public Server), moving on to phase two (Peer to Peer via DNS)
index.js:64 
index.js:64 [error] Could not detect public ip / port
index.js:64 [info] Testing connection to public peer
index.js:64 [error] FAIL - unable to load utp-native, utp connections will not work
index.js:64 [info] TCP ONLY - success!
index.js:64 
index.js:64 [info] End of phase one (Public Server), moving on to phase two (Peer to Peer via DNS)
index.js:64 
index.js:64 [error] Could not detect public ip / port

with dat-desktop_3.0.1_amd64.deb :

Uncaught (in promise) undefined
/opt/Dat Desktop/res…evelopment.js:12357 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: t
index.js:64 [info] Testing connection to public peer
index.js:64 [error] FAIL - unable to load utp-native, utp connections will not work
index.js:64 [info] TCP ONLY - success!
index.js:64 
index.js:64 [info] End of phase one (Public Server), moving on to phase two (Peer to Peer via DNS)
index.js:64 
index.js:64 [error] Could not detect public ip / port
@tomquas
Copy link

tomquas commented Mar 22, 2020

am seeing the same issue; after restarting dat desktop, download starts...

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

No branches or pull requests

2 participants