Comments (7)
server
(historically) assumes it executes from within Debug
, i.e., as bin/server
- the default path where it looks for its certificate and key is test
.
This is why you get the could not open key test/dummy.key [errno 2 = No such file or directory]
error.
If you execute it from another directory, you need to explictly tell it where to find its cert and key using the -c
and -k
options.
from quant.
@piano-man did that fix it?
from quant.
This is the error I get when I specify the key and cert using the -c and -k options -
(Could this be because I'm trying to run this on WSL ?)
0.061 q_init quic.c:662 quant/socket (epoll/sendmmsg/recvmmsg) 0.0.27/87911c7 ready
0.062 q_init quic.c:663 submit bug reports at https://github.com/NTAP/quant/issues
0.067 :0 ABORT: DIED [errno 1 = Operation not permitted]
/usr/lib/x86_64-linux-gnu/libasan.so.4(+0x558c0) [0x7f5ac5a958c0]
util_die at /home/gagan/Projects/quant/lib/deps/warpcore/lib/src/util.c:398
w_set_sockopt at /home/gagan/Projects/quant/lib/deps/warpcore/lib/src/backend_sock.c:113
backend_bind at /home/gagan/Projects/quant/lib/deps/warpcore/lib/src/backend_sock.c:297
w_bind at /home/gagan/Projects/quant/lib/deps/warpcore/lib/src/warpcore.c:296
new_conn at /home/gagan/Projects/quant/lib/src/conn.c:1848
q_bind at /home/gagan/Projects/quant/lib/src/quic.c:447
main at /home/gagan/Projects/quant/bin/server.c:327
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f5ac3e21b97]
_start at ??:?
Aborted (core dumped)
from quant.
I don't know if the issue is WSL. Are you able to test this on a regular Linux box?
The error you now get is because the kernel doesn't permit a setsockopt
call, which it should permit, so this may be a WSL issue after all.
You could also try running with sudo
to see if that makes a difference.
from quant.
This is an issue in WSL: MicrosoftDocs/WSL#362
I'll see if I can work around it.
from quant.
OK, I fixed this in NTAP/warpcore@b666948; please update and try again?
from quant.
Perfect. Seems to be working now 👍
from quant.
Related Issues (20)
- DoS Attack: Server crashes when processing new connections ids that have the same cid HOT 7
- TLS ticket read error HOT 4
- Failed to build on Ubuntu HOT 19
- Support for QUIC datagrams HOT 2
- Decryption of QUIC packets using secret keys with wireshark HOT 1
- Basic setup of server and client configuration HOT 4
- Some installation issues on Ubuntu 16, 20 and MacOSX HOT 1
- failed to run ./server or ./server-warp HOT 24
- krng.h runtime error on mac osx HOT 2
- Retiring the initial connection ID HOT 9
- fc window exceeded HOT 2
- Release/server HOT 2
- reference paper HOT 1
- Problems with Ninja and server.c in /bin HOT 12
- Quant server misbehaves when a ping is sent as the first Initial packet. HOT 1
- Fail to build on m1 osx HOT 2
- Failed to compile bench_conn and bench HOT 4
- bench_conn core dump HOT 2
- Protocol Violation in Quant HOT 1
- Quant server process Handshake packet with an unmatched Destination Connection ID. HOT 4
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 quant.