# Peer conection error spreedme

**URL:** <https://help.nextcloud.com/t/peer-conection-error-spreedme/19669>\
**Category:** 💬 Talk (spreed)\
**Created:** [August 15, 2017, 4:03pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669 "2017-08-15T16:03:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [August 15, 2017, 4:03pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/1 "2017-08-15T16:03:23Z")

</div>

![](https://help.nextcloud.com/uploads/default/original/2X/9/9762f3cc35d08b6421b6b03b9e1d22e1c1ad97a7.png)

How solve that issue?

---

<div class="post-metadata">

**Author:** ![leon](https://help.nextcloud.com/letter_avatar/leon/32/6_22734026db12803ebb3e059622ac3534.png) [@leon](https://help.nextcloud.com/u/leon)\
**Post date:** [August 22, 2017, 3:11pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/2 "2017-08-22T15:11:23Z")

</div>

Hi @johnfelipe and sorry for the delay.  
Maybe a STUN / TURN server is missing in your setup. Try this: [https://github.com/strukturag/nextcloud-spreedme/issues/57#issuecomment-257885080](https://github.com/strukturag/nextcloud-spreedme/issues/57#issuecomment-257885080)

---

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [August 25, 2017, 2:38pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/3 "2017-08-25T14:38:25Z")

</div>

![spreedvideocalls](https://help.nextcloud.com/uploads/default/original/2X/6/69ab412161dbcae1b7851dfbe062840eeedc12c8.png)

That is good setup or i need then install coturn?

this is log

> <https://gist.github.com/johnfelipe/93af1379e0f92d44dd6924af756f4e4b>

Stay alert

---

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [August 26, 2017, 4:03pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/4 "2017-08-26T16:03:45Z")

</div>

@leon, i use [https://github.com/nextcloud/vm](https://github.com/nextcloud/vm) for install all service correctly, but error about peer connection is constant, i need solve this issue quick  
Stay alert

---

<div class="post-metadata">

**Author:** ![leon](https://help.nextcloud.com/letter_avatar/leon/32/6_22734026db12803ebb3e059622ac3534.png) [@leon](https://help.nextcloud.com/u/leon)\
**Post date:** [August 28, 2017, 8:04am UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/5 "2017-08-28T08:04:59Z")

</div>

You were trying to configure the `Spreed video calls` app. Notice that this app is a different app than the `Spreed.ME` app (it’s confusing, I know).

The screenshot from your initial post shows `Spreed.ME` / `Spreed WebRTC`.  
Please first try to enable STUN, then TURN for [Spreed.ME](http://Spreed.ME) as described here: [https://github.com/strukturag/nextcloud-spreedme/issues/57#issuecomment-257885080](https://github.com/strukturag/nextcloud-spreedme/issues/57#issuecomment-257885080)

---

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [August 29, 2017, 5:21pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/6 "2017-08-29T17:21:42Z")

</div>

Bro, is spreedme app, no video call app, look:

[https://goo.gl/qcbu11](https://goo.gl/qcbu11)

But sometime show “Failed to create peer connection, See log for details”, like this

[https://goo.gl/LEuBLf](https://goo.gl/LEuBLf)

Can u share me instructions, commands, step by step for install coturn in ubuntu 16 / digitalocean  
Stay alert

---

<div class="post-metadata">

**Author:** ![leon](https://help.nextcloud.com/letter_avatar/leon/32/6_22734026db12803ebb3e059622ac3534.png) [@leon](https://help.nextcloud.com/u/leon)\
**Post date:** [August 30, 2017, 8:19am UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/7 "2017-08-30T08:19:42Z")

</div>

> [@johnfelipe](#):
>
> But sometime show “Failed to create peer connection, See log for details”

- Does this really just happen **sometimes** or **every time**?
- Have you tried to use the STUN server?

> [@johnfelipe](#):
>
> Can u share me instructions

Yes, we already have some documentation on how to set up a TURN server:

1. [Use TURN server · spreedbox/spreedbox Wiki · GitHub](https://github.com/spreedbox/spreedbox/wiki/Use-TURN-server)
2. [Complete NC installation on Debian with Spreed.me and TURN step by step](https://help.nextcloud.com/t/complete-nc-installation-on-debian-with-spreed-me-and-turn-step-by-step/2436)

If this didn’t help, try to debug the problem using your browser’s WebRTC internals page (in Chrome this is available at `chrome://webrtc-internals/`) and check the developer console (you need to add `?debug` to the URL, e.g. `https://yournc.demo/apps/spreedme?debug`

---

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [August 30, 2017, 5:50pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/8 "2017-08-30T17:50:38Z")

</div>

> [@leon](#):
>
> Does this really just happen sometimes or every time?

Only when new user added

> [@leon](#):
>
> Have you tried to use the STUN server?

i have this in my server.conf

```
[http]
listen = 127.0.0.1:8080
basepath = /webrtc
root = www

[https]

[app]
stunuris = stun:stun.spreed.me:443

```

i need tell you, im using this [https://github.com/nextcloud/vm](https://github.com/nextcloud/vm) for install all NC, spreedme and collabora

> [@leon](#):
>
> If this didn’t help, try to debug the problem using your browser’s WebRTC internals page (in Chrome this is available at chrome://webrtc-internals/) and check the developer console (you need to add ?debug to the URL, e.g. [https://yournc.demo/apps/spreedme?debug](https://yournc.demo/apps/spreedme?debug)

[https://goo.gl/mMPJAt](https://goo.gl/mMPJAt), video show your suggest

pls referr to this process and commands

> [@Complete NC installation on Debian with Spreed.me and TURN step by step](https://help.nextcloud.com/t/complete-nc-installation-on-debian-with-spreed-me-and-turn-step-by-step/2436/47):
>
> Hi bros; sudo su cd apt-get install coturn nano /etc/turnserver.conf #listening-port=3478 listening-port=8443 #alt-listening-port=0 alt-listening-port=3478 #fingerprint fingerprint #lt-cred-mech lt-cred-mech #use-auth-secret use-auth-secret #[http://passwordsgenerator.net/](http://passwordsgenerator.net/) #static-auth-secret=north static-auth-secret=zvshmpbkspd9e8yduswv9ze2kn92ta2k9zhyxxxxxxxxxxxx #(generated by openssl rand -hex 32) #[realm=mycompany.org](http://realm=mycompany.org)[realm=cloud.votandoando.com](http://realm=cloud.votandoando.com) #total-quota=0 total-quota=…

this is log of spreed-webrtc-server

> <https://gist.github.com/johnfelipe/eafe3005fb6b21f95b7ced123acd7fb3>

Stay alert

---

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [September 4, 2017, 4:32am UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/9 "2017-09-04T04:32:55Z")

</div>

anyone to help me in this issue?

---

<div class="post-metadata">

**Author:** ![leon](https://help.nextcloud.com/letter_avatar/leon/32/6_22734026db12803ebb3e059622ac3534.png) [@leon](https://help.nextcloud.com/u/leon)\
**Post date:** [September 4, 2017, 8:22am UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/10 "2017-09-04T08:22:29Z")

</div>

> [https://goo.gl/mMPJAt](https://goo.gl/mMPJAt), video show your suggest

You did not add `?debug` to the URL. This parameter is required to get any log output on the developer console.

Please PM me a [Temporary Password](https://github.com/strukturag/nextcloud-spreedme#access-by-non-nextcloud-users). Alternatively use `leon [AT] struktur [DOT] de`.

Have you tried to reproduce the issue from a (different computer / browser on a) different network?

---

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [September 4, 2017, 1:23pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/11 "2017-09-04T13:23:24Z")

</div>

[https://cloud.votandoando.com/apps/spreedme?tp=231785408373](https://cloud.votandoando.com/apps/spreedme?tp=231785408373)

Remember i use [https://github.com/nextcloud/vm](https://github.com/nextcloud/vm) for install all enviroment

If u see in that script use [https://github.com/nextcloud/spreedme-snap](https://github.com/nextcloud/spreedme-snap)

[https://goo.gl/AJu9jK](https://goo.gl/AJu9jK), new video with ?debug

---

<div class="post-metadata">

**Author:** ![johnfelipe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/johnfelipe/32/10032_2.png) [@johnfelipe](https://help.nextcloud.com/u/johnfelipe)\
**Post date:** [September 6, 2017, 2:51am UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/12 "2017-09-06T02:51:08Z")

</div>

I have two some config stuff here: [https://github.com/nextcloud/vm/blob/master/apps/spreedme.sh#L70](https://github.com/nextcloud/vm/blob/master/apps/spreedme.sh#L70) and here [https://github.com/nextcloud/vm/blob/master/apps/spreedme.sh#L73](https://github.com/nextcloud/vm/blob/master/apps/spreedme.sh#L73)

The Variable $SNAPDIR is here: [https://github.com/nextcloud/vm/blob/master/lib.sh#L13](https://github.com/nextcloud/vm/blob/master/lib.sh#L13) togheter with all the other variables.

The actual SpreedMe Snap package is fetched from this repo, and in this file you can find the WebRTC stuff: [https://github.com/nextcloud/spreedme-snap/blob/master/src/server.conf.in](https://github.com/nextcloud/spreedme-snap/blob/master/src/server.conf.in)

How update [https://github.com/strukturag/spreed-webrtc](https://github.com/strukturag/spreed-webrtc)???

Share me instructions  
Stay alert

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 2, 2024, 8:37am UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/13 "2024-12-02T08:37:40Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 1:32pm UTC](https://help.nextcloud.com/t/peer-conection-error-spreedme/19669/14 "2024-12-09T13:32:07Z")

</div>


