Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example server implementing RIPT gRPC proto #4

Open
juberti opened this issue Feb 25, 2020 · 1 comment
Open

Example server implementing RIPT gRPC proto #4

juberti opened this issue Feb 25, 2020 · 1 comment

Comments

@juberti
Copy link
Contributor

juberti commented Feb 25, 2020

No description provided.

@ojzuluaga
Copy link

Hi Master,
I'm trying to run local server/client but even if server is running then client reports TLS issue.
***** SERVER ******
flymac:goRIPT oscarzuluaga$ go run server/main.go
Using Cert file /etc/letsencrypt/live/ietf107.ript-dev.com/fullchain.pem
Using KeyFile file /etc/letsencrypt/live/ietf107.ript-dev.com/privkey.pem
Host: , H3Port 2399, WSSPort 8080
2020/04/15 20:48:38 riptService: Created Default TrunkGroup [&{trunkAbc /.well-known/ript/v1/providertgs/trunkAbc outbound 1 out: opus;
2 out: opus;
{ }}]
{"time":"2020-04-15T20:48:38.8469-05:00","level":"-","prefix":"-","file":"quic.go","line":"399","message":"Server Url [:2399]"}
{"time":"2020-04-15T20:48:38.847183-05:00","level":"-","prefix":"-","file":"quic.go","line":"427","message":"Starting Server certFile [/etc/letsencrypt/live/ietf107.ript-dev.com/fullchain.pem], keyFile [/etc/letsencrypt/live/ietf107.ript-dev.com/privkey.pem]"}
{"time":"2020-04-15T20:48:38.847206-05:00","level":"INFO","prefix":"-","file":"quic.go","line":"430","message":"New QUIC-H3 Server created.\n"}
Router is ready to serve ...

**** CLIENT *****
flymac:ript_client oscarzuluaga$ ./ript_client --server=https://localhost:2399 --mode=push --xport=h3 --dev
2020/04/15 20:48:57 Server [https://localhost:2399], Mode [push], Transport [h3]
{"time":"2020-04-15T20:48:58.140337-05:00","level":"INFO","prefix":"-","file":"quic_client.go","line":"65","message":"ript_client: registering to the server...[%s]https://localhost:2399/media/join"}
panic: Get "https://localhost:2399/media/join": NO_ERROR: Handshake did not complete in time (Client.Timeout exceeded while awaiting headers)

goroutine 1 [running]:
main.NewQuicClientFace(0xc00013c400, 0xc00013c401, 0xc00004cf40)
/Users/oscarzuluaga/go/goRIPT/ript_client/quic_client.go:68 +0x4f1
main.main()
/Users/oscarzuluaga/go/goRIPT/ript_client/main.go:284 +0x719

My question is about certificates, do I need to post on specific folder?? Do they run without problems from TestData Folder??

Thanks for your feedback. I'm trying to understand this idea of RIPT in order to tech somebody else about it.

BR
Oscar

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

No branches or pull requests

2 participants