-
Notifications
You must be signed in to change notification settings - Fork 271
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
Infinity Years Left in Google Chrome #59
Comments
Either you're trying to download from a swarm that has no peers currently in OR you can connect to the peers that are in the swarm. |
Thanks for the reply.
When I want to share a file with a user, I keep getting the same error. Sorry I am new to Sharefest and have no idea what the SWARM is. |
I haven't tested your server yet, |
Thanks for your comment. I am now using https and I have no error in my err.log. Thanks much sir, |
btw, it works with Firefox! But not with Chrome :( I am using the latest version of Chrome for both peers. In Firefox I can also see the Notification Bar. |
I've tested both with Firefox and Chrome they both seem to work. but the only notification you'll see is the one related to "finished the download", I've yet to push the public version to git. |
It works between two tabs in one browsers. And it doesn't do any thing. When I compare it with sharefest.me, I got the same log with the following added to it after a while: [1002/112732:VERBOSE3:webrtcvoiceengine.cc(1591)] Setting receive voice codecs: |
I used wireshark to compare the traffic between my server and sharefest.me. Interestingly, when I used my server, I don't see any STUN packets in wireshark, but I see a lot of STUN packets while I am sending/receiving data from sharefest.me. Is there an specific settings for STUN in "./sharefest/clientConfig.js"? |
Production Sharefest uses our own ICE servers, I don't believe google's are inferior. |
I created one TURN server on Amazon EC2 with the following address: and did the following settings in /core/apiValidators/DataChannelsValidator.js:
and the following in ClientConfig.jspeer5.config = {
};When I use sharefest.me, I can see packets go to your stun/turn server (199.115.112.148:3478) in wireshark. However, I can't see any packets going to my stun/turn server. Thanks much |
why would your changes apply in sharefest.me? have you tried the apprtc demo on the same use-case? I could reproduce your problem only between chrome M29 and chrome M32, |
I have tried apprtc demo and it works both in Chrome and Firefox. my email is mazkopolo at gmail . com Meanwhile I will work on debugging the server. |
Thanks for your responses. Just a quick update for sharefest.me: Cheers, |
I guess I am getting closer to solve that issue. As far as I tried different webrtc solutions such as webrtc.io I should confirm that the default stunserver for google does not work (And it could be the reason why yours is working because you have different STUN server). My main question is why there are two places to put the STUN configurations in this project. One in /core/apiValidators/DataChannelsValidator.jsif (window.webkitRTCPeerConnection) {
and the other one in sharefest/clientConfig.js:STUN_SERVERS:['stun.l.google.com:19302'],As far as I know, the ClientConfig.js is the one the webrtc client uses (because I could see the configuration in client.js in Chrome logs). So, what is "/core/apiValidators/DataChannelsValidator.js"? Why there is another place to put the STUN configuration? Thanks, |
I have done the code debugging and found out that the problem comes from where the Chrome Receiver is not able to establish a STUN connection. Then I switched it into incognito mode and it WORKED! |
Weird, first time I've heard of such a phenomenon. |
Yes, I cleared all the cookies and such. I also tested in on two brand-new machines. I am pretty sure there is no blocker in my Chromes. Cheers, |
I got the following from the logs in Chrome incognito mode. Sending SDP message: |
As far as I could compare the client.js on both my server and sharefest.me server, I found out that the following functions/subclass haven't been implemented in the github version of sharefest.me: |
Have you tried other app's using google's stun to see if the problem is there? |
I have installed my own STUN server(54.200.117.227 using "gorst" as a username and "hero" as a password). The STUN server works properly (as you can see in attached images) but my server (https://webrtc.thehii.com) still works in Incognito mode only! However, it works in incognito mode and wireshark could capture STUN packets with "CreatePermission success response". Any idea? |
registerEvents:function in both "core/transport/PeerConnectionImpl.js" and "core/controllers/P2PController.js" are never get called in the Normal mode. |
Are there no errors (not SDP related)? |
I don't get "couldn't change resource Id" warning. "blockMap.changeResourceId(metadata.swarmId,function(succ)" is called when you upload a file (sender side). in both modes the following is executed: |
So what is the reason for:
The screen shot indicates that there is no problem with the connection making it self. It looks like it doesn't even start. |
Yeah, you are right. Could it be because some FileSystem issue with Chrome? |
Can't tell, I can't reproduce it and it needs to be debugged line by line... |
Is there any way I can read the working code on sharefest.me and compare it with the one in github? |
It should be very similar, but currently I don't have time to push it. On Wed, Oct 16, 2013 at 10:04 AM, Maziar Janbeglou <[email protected]
|
I posted a comment in here today about the differences of these codes. I am pretty sure they are very similar, however there are some small differences that make the code on github does not work properly. |
I confirm the problem. |
Hi, Thanks |
I have the same issue as mazkopolo. |
@mazkopolo From your screens I gather that you don't have a certificate for HTTPS. WebRTC don't work on insecure connections and HTTPS without certificate is insecure. The only exception seem to be localhost which works over HTTP. |
When I run the sharefest, I get the following message on my browser. Any idea how I can solve this issue?
"Download Rate: 0.00KB/s , Infinity years left "
The text was updated successfully, but these errors were encountered: