Comments (2)
Same issue here! Using croc version v10.0.11 on Ubuntu 20.04.6 LTS:
$ croc --debug send xxx.pdf
[debug] 10:55:27 cli.go:212: debug mode on
[debug] 10:55:27 cli.go:216: public IP address: 213.195.117.152
[debug] 10:55:27 croc.go:516: hashed /home/arakelov/xxx.pdf to 305facd19bc57c18 using xxhash
[debug] 10:55:27 croc.go:521: file 0 info: {Name:xxx.pdf FolderRemote:./ FolderSource:/home/arakelov Hash:[48 95 172 209 155 197 124 24] Size:26327 ModTime:2023-10-12 20:43:25.044536244 +0200 CEST IsCompressed:false IsEncrypted:false Symlink: Mode:-rw-rw-r-- TempFile:false IsIgnored:false}
Sending 0 files (25.7 kB)[debug] 10:55:27 croc.go:525: longestFilename: 7
Sending 'xxx.pdf' (25.7 kB)
Code is: 3035-average-neon-message
On the other computer run
croc 3035-average-neon-message
[debug] 10:55:27 croc.go:683: host: '2a01:4ff:1f0:c10b::1', port: '9009'
[debug] 10:55:27 croc.go:689: got host '2a01:4ff:1f0:c10b::1' and port '9009'
[debug] 10:55:27 croc.go:691: trying connection to [2a01:4ff:1f0:c10b::1]:9009
[debug] 10:55:27 tcp.go:79: starting with password 'pass123'
[info] 2024/08/07 10:55:27 starting TCP server on 0.0.0.0:9009
[debug] 10:55:27 tcp.go:79: starting with password 'pass123'
[info] 2024/08/07 10:55:27 starting TCP server on 0.0.0.0:9013
[debug] 10:55:27 tcp.go:79: starting with password 'pass123'
[info] 2024/08/07 10:55:27 starting TCP server on 0.0.0.0:9010
[debug] 10:55:27 tcp.go:79: starting with password 'pass123'
[info] 2024/08/07 10:55:27 starting TCP server on 0.0.0.0:9011
[debug] 10:55:27 tcp.go:79: starting with password 'pass123'
[info] 2024/08/07 10:55:27 starting TCP server on 0.0.0.0:9012
[debug] 10:55:27 comm.go:78: dialing to [2a01:4ff:1f0:c10b::1]:9009 with timelimit 100ms
[debug] 10:55:27 comm.go:83: comm.NewConnection failed: dial tcp [2a01:4ff:1f0:c10b::1]:9009: connect: network is unreachable
[debug] 10:55:27 tcp.go:483: comm.NewConnection failed: dial tcp [2a01:4ff:1f0:c10b::1]:9009: connect: network is unreachable
[debug] 10:55:27 croc.go:697: could not establish '[2a01:4ff:1f0:c10b::1]:9009'
[debug] 10:55:27 croc.go:683: host: '5.78.91.237', port: '9009'
[debug] 10:55:27 croc.go:689: got host '5.78.91.237' and port '9009'
[debug] 10:55:27 croc.go:691: trying connection to 5.78.91.237:9009
[debug] 10:55:27 comm.go:78: dialing to 5.78.91.237:9009 with timelimit 5s
[debug] 10:55:27 comm.go:87: connected to '5.78.91.237:9009'
[debug] 10:55:27 comm.go:151: initial read error: EOF
[debug] 10:55:27 tcp.go:500: EOF
[debug] 10:55:27 croc.go:697: could not establish '5.78.91.237:9009'
[debug] 10:55:27 croc.go:704: could not connect to 5.78.91.237:9009: EOF
[debug] 10:55:27 croc.go:810: error from errchan: could not connect to 5.78.91.237:9009: EOF
2024/08/07 10:55:27 could not connect to 5.78.91.237:9009: EOF
It works, though, on a mobile network, using my mobile phone as an access point. So it seems that the error is network dependant.
UPDATE: I found the problem while reading https://github.com/schollz/croc/issues/773
So, I used my own relay and the problem was gone!
from croc.
Hi @nabadvin + @claytankozmo
It appears that the public server is currently at capacity from the sender IP address. When LAN connections aren't established and users aren't utilizing their private relay, the system defaults to the public server. The bandwidth usage of the public server incurs monthly costs for me, leading to a limit on the data that can be sent.
If you could sponsor me on GitHub, I'd be happy to remove this limit for you: GitHub Sponsor.
from croc.
Related Issues (20)
- Cannot send and receive from Android Termux HOT 10
- Room not ready on any send HOT 1
- Compile 32-bit ARM build with lesser FPU requirements for compatibility with old Raspberry Pi units HOT 3
- There is something with the 10.0.10 win64 zip-file. If I download it, my PC delete it, I cant even unzip it. Virus? HOT 2
- [Question]: Is it possible to show the connection mechanism? HOT 2
- croc --classic Yes/no prompt default is backwards HOT 1
- Preserves modification times, access times, and file mode bits from the source file. HOT 1
- Test failure TestValidFileName
- 🌏 How to solve the problem of failed installation of Croc? HOT 1
- Croc v10.0.10 failure to understand new syntax - issue receiving? [NOT A BUG] HOT 9
- Bash installer 404 error (unknown Linux file?) HOT 2
- Current instructions incorrect when using HOT 1
- croc.exe closes too fast to show any errors HOT 1
- room not ready HOT 6
- Cannot receive file on self hosted relay HOT 3
- When sending large files that fail transfer halfway through, croc goes through hashing process each time HOT 1
- long running croc instances lose connection to relay HOT 1
- Cannot receive files being sent from a linux machine HOT 9
- croc immediately exits with "Seek: invalid offset" when using imohash with certain files HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from croc.