Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
50 Views

Errors in 2.5 version on startup

Hello. Glad to see version 2.5 at last!
But when I try to start it - Ifaced with problem
When I start all - the huge nomber of erizo-... files created with zero size.

No errors in other log files.
When start to connect with server example - it cant connect while timeout.
version of node 10.0.38.
MongoDB shell version: 2.4.9

Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64)

Not working both with ssl and without ssl.

Tags (2)
0 Kudos
15 Replies
Highlighted
50 Views

OK. I got the log files. According the configuration file, it seems you have enabled SSL. Have you tried the non-SSL server on your machine?

Another thing is that did you install this package of 2.5 side-by-side of the existing 2.1 which is with Ubuntu 12.04? Or fresh deployment?

Thank!

0 Kudos
Highlighted
New Contributor I
50 Views

Yes, I tryed first without ssl, then with ssl. It works the same in bot cases.

Yes, I installed it on the same machine whre 2.1 was started previously. I only checked versions of node, mongo, ubuntu version and other properties.

I need To install it only on Fresh ubuntu? Or I just should remove some packets prom OS?  I think it's not the best way - to reinstall OS, but If it need - we can do that.

 

0 Kudos
Highlighted
50 Views

Yes, what you said makes sense. Side by side is important to our customers. We've tested well that case, and everything seems to work correctly. But in your case, I don't have clues according to your information. I suggest that you have a fresh installation instead currently.

Thanks!

0 Kudos
Highlighted
New Contributor I
50 Views

Hello. Yes Installing on clean system helped. I could start translation.

But I faced with problem when tryed to enable SSL mode. I added certificate as in instruction(the same certificate as worked in version 2.0)

But System cant recieve tocken. Javascript returns error:

 http://vs04.pruffme.com:3001/createToken/ 503 (Service Unavailable)createToken @ script2.js:24window.onload @ script2.js:162
woogeen.sdk.js:8 ERROR: server connection failed: invalid token

 

Here is console log:

./Release-v2.5/bin/start-all.sh
starting nuve, stdout -> /home/oracle/Release-v2.5/logs/woogeen-nuve.stdout
2884
2901
2015-08-15 23:15:55.981  - INFO: RPC - Conected to rabbitMQ server
2015-08-15 23:15:55.983  - INFO: RPC - Exchange rpcExchange is open
2015-08-15 23:15:55.985  - INFO: RPC - Queue nuveQueue is open
2015-08-15 23:15:55.986  - INFO: RPC - ClientQueue amq.gen-H1RgQTTKDYuHwYQYTvQ7K                    g is open
starting mcu, stdout -> /home/oracle/Release-v2.5/logs/woogeen-mcu.stdout
2015-08-15 23:16:01.601  - INFO: RPC - Exchange rpcExchange is open
2015-08-15 23:16:01.604  - INFO: RPC - ClientQueue amq.gen-OHWenyzKsEiTq_A_JLgDl                    w is open
2015-08-15 23:16:01.611  - INFO: ErizoController - SSL enabled!
2015-08-15 23:16:01.775  - INFO: RPC - Queue erizoController_1 is open
2015-08-15 23:16:01.776  - INFO: ErizoController - server on
starting agent, stdout -> /home/oracle/Release-v2.5/logs/woogeen-agent.stdout
2015-08-15 23:16:02.635  - INFO: RPC - Exchange rpcExchange is open
2015-08-15 23:16:02.638  - INFO: RPC - ClientQueue amq.gen-6GiV-d9k1xmHrmkBIukC9                    Q is open
2015-08-15 23:16:02.640  - INFO: ErizoAgent - Adding agent to cloudhandler, purp                    ose: general-use
Running process
Running process
2015-08-15 23:16:02.652  - INFO: RPC - Queue ErizoAgent_2 is open
2015-08-15 23:16:02.653  - INFO: ErizoAgent - ErizoAgent rpcID: ErizoAgent_2
starting app, stdout -> /home/oracle/Release-v2.5/logs/woogeen-app.stdout

 

In attachment  - log folder and property file. How can I start ssl mode? I want to test screensharing.

And I have some questions, that I couldn't understand by  documentation:

1) How to disable mixing mode and use only forvard? Because mixing gets a lot of cpu - we don't want to use it at all

2) How to start recording of forward stream? It don starts automatically. In properties we can only set record path. And in API I couldn' t find start record command.

3) But the main question - hou to enable ssl mode...

 

0 Kudos
Highlighted
50 Views

Hi Artem,

Regarding the SSL issue, do you have your certification valid till now? Things should work just as the previous version.

1) Disabling mix mode now goes to the room management. See the management UI for the details.

2) Please search 'startRecorder' in the Client SDK API guide.

0 Kudos
Highlighted
New Contributor I
50 Views

Yes. It is WildCard Certificate for *.pruffme.com till 24.01.2016

What should we check else?

./Release-v2.5/bin/initcert.js all  - was initiated. 

I don't know what else to check. In logs no any informative description. May be you need more information to help me? I cant give you any of the information.

0 Kudos
Highlighted
50 Views

It seems to be the right step of running initcert.js.

Have you used our default cert to enable SSL? Another thing I have to make sure is that the Nuve API "N.API.init" has been used correctly?

Thanks!

0 Kudos
Highlighted
New Contributor I
50 Views

Hello again. Some messages ago you wrote "1) Disabling mix mode now goes to the room management. See the management UI for the details."

But I cpuldn't find anithing about it in documentation. In code I fount parameter enableMixing with defult = 1.

Is that parameter I need?

I created room with that parameter, but mix mode still appears. May be I should any other actions, may be on joining room?

 

0 Kudos
Highlighted
New Contributor I
50 Views

I try to start recording strem. I execute conference.startRecorder({streamId: stream.id()}, function (file) {... But I recieve ERROR: Media recorder failed: Error in start recording: timeout What shoul I investigate?
0 Kudos
Highlighted
New Contributor I
50 Views

I tryed to start video.

In attachment you can find server logs and config file.

When video starts - it shows black square for 7 seconds and then disconnects with error.

I  execute conference.startRecorder after recieving publishing stream.

When I remove startRecorder - all works

INFO: conference start joining
woogeen.sdk.js:94 INFO: conference joining complete
woogeen.sdk.js:94 INFO: startWoogeenTranslation
woogeen.sdk.js:94 INFO: stream published: IML_2KxAE0fG4QqtAAAA
woogeen.sdk.js:94 INFO: stream added: IML_2KxAE0fG4QqtAAAA
woogeen.sdk.js:94 INFO: subscribing: IML_2KxAE0fG4QqtAAAA
woogeen.sdk.js:94 INFO: subscribed: IML_2KxAE0fG4QqtAAAA
woogeen.sdk.js:94 INFO: videocontent+ IML_2KxAE0fG4QqtAAAA
woogeen.sdk.js:94 ERROR: Media recorder failed: Error in start recording: timeout
woogeen.sdk.js:94 WARNING: unknown ice connection state: disconnected
woogeen.sdk.js:94 WARNING: unknown ice connection state: disconnected
woogeen.sdk.js:328 'MediaStream.stop()' is deprecated and will be removed in M47, around November 2015. Please use 'MediaStream.active' instead.
woogeen.sdk.js:94 INFO: stream removed: IML_2KxAE0fG4QqtAAAA

 

0 Kudos
Highlighted
New Contributor I
50 Views

Room description in mongo for that test is:

{
		"name": "b9f24379544e8033e9cd916cc0bbc2b6",
		"mode": "hybrid",
		"publishLimit": -1,
		"userLimit": -1,
		"mediaMixing": {
			"video": {
				"avCoordinated": 0,
				"maxInput": 16,
				"resolution": "vga",
				"bitrate": 0,
				"bkColor": "black",
				"layout": {
					"base": "fluid",
					"custom": []
				}
			},
			"audio": null
		},
		"enableMixing": 0,
		"_id": ObjectId("55fc16de644a55183da14d03")
	},

 

0 Kudos
Highlighted
50 Views

To disable mix mode in the room, please connect to the URL as http://ip_address:3000/console/, you will find the "Enable Mixing" column in the "Room Management".

0 Kudos
Highlighted
50 Views

Your usage is correct to me. But according to the log files, it seems that your MCU have not been able to start successfully. Could you check that? Usually, 'timeout' means the frames on the server is not ready for media recording.

Thanks!

0 Kudos
Highlighted
New Contributor I
50 Views

1) How to disable mixng by API? We dont use visual console. Is it Right to use enableMixing:0  

2) MCU is started and running without errors. You can see nothing wrong in log files. But exatct media recording dont starts. May be some anpther process should be started, not only  nuve,mcu,agent,app?  Or may be some additional application should be installed?

 

 

0 Kudos
Highlighted
50 Views

1) Yes, sure. Could you tell me the API you used to create or update your room?

2) For media recording, no extra dependency is required... As above, could you tell me how you use the API of media recorder?

Thanks!

0 Kudos