Coder Social home page Coder Social logo

group-connection's People

Contributors

danielnaranjo37 avatar micknick2 avatar slad3 avatar thebubbakelm avatar

Watchers

 avatar

group-connection's Issues

Global Manager's Session's Delegate Is a Rogue Manager

The global manager is saving the session but a rogue (untracked) manager is your sessions delegate. I highly doubt this is the behavior you are looking for.

public func setupSession() {
    session = MCSession(peer: peerid, securityIdentity: nil, encryptionPreference: MCEncryptionPreference.none)
    session.delegate = Manager()
}

Something along these lines should resolve get you connected:
screen shot 2018-04-23 at 3 28 32 pm

Once you make these changes you will likely get something like this in your console:

2018-04-23 15:20:32.397504-0500 Group Connection[430:185165]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (1906630849)
Connecting: Lexi Nelson
Connected: Lexi Nelson
2018-04-23 15:20:34.309525-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:34.358935-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:34.406504-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:34.435895-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:34.541810-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:34.580671-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:34.785970-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:34.816026-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:35.206508-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:35.239417-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:35.932317-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:35.967222-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:37.178126-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:37.202958-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:38.700754-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:38.728467-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:40.222673-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:40.236480-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:41.734370-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:41.782633-0500 Group Connection[430:185369]  [ERROR] ProcessEvent:1199 	Send BINDING_REQUEST failed(C01A0041).
2018-04-23 15:20:42.589566-0500 Group Connection[430:185243] [GCKSession] Not in connected state, so giving up for participant [71A4E0C1] on channel [0].
2018-04-23 15:20:42.618060-0500 Group Connection[430:185243] [GCKSession] Not in connected state, so giving up for participant [71A4E0C1] on channel [1].
2018-04-23 15:20:42.641921-0500 Group Connection[430:185243]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (1906630849)
2018-04-23 15:20:42.642851-0500 Group Connection[430:185243] [GCKSession] Not in connected state, so giving up for participant [71A4E0C1] on channel [2].
2018-04-23 15:20:42.665935-0500 Group Connection[430:185243]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (1906630849)
2018-04-23 15:20:42.666711-0500 Group Connection[430:185243] [GCKSession] Not in connected state, so giving up for participant [71A4E0C1] on channel [3].
2018-04-23 15:20:42.686584-0500 Group Connection[430:185243]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (1906630849)
2018-04-23 15:20:42.687136-0500 Group Connection[430:185243] [GCKSession] Not in connected state, so giving up for participant [71A4E0C1] on channel [6].
2018-04-23 15:20:42.694375-0500 Group Connection[430:185243]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (1906630849)
2018-04-23 15:20:42.694559-0500 Group Connection[430:185243] [GCKSession] Not in connected state, so giving up for participant [71A4E0C1] on channel [7].
2018-04-23 15:20:42.698750-0500 Group Connection[430:185243]  [ERROR] ICEStopConnectivityCheck:2688 ICEStopConnectivityCheck() found no ICE check with call id (1906630849)

This shows a connection attempt and successful connection but still throws the same errors as before, so while not a complete fix it is a step in the right direction.

Unknown Key Exception

I am not able to load the app and thus cannot debug peer connection issues.

2018-04-02 12:28:41.864758-0500 Group Connection[1503:1076651] Unknown class _TtC16Group_Connection10MentorView in Interface Builder file.
Is Creator
Access Code: whcc
Advertising Started
Check colonel hans received
2018-04-02 12:28:41.908575-0500 Group Connection[1503:1076651] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x1038c25c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key accessCode.'
*** First throw call stack:
(0x183a37164 0x182c80528 0x183a36e2c 0x18434e630 0x18d35d134 0x18d585224 0x183943d14 0x18d583c18 0x18d360be0 0x18d10e8e8 0x18cff16a8 0x18d098eb8 0x18d098358 0x18d097d5c 0x18d0977d8 0x18d0976d8 0x18cfeee18 0x187a7b948 0x187a7fad0 0x1879ec31c 0x187a13b40 0x18cfe44e0 0x1839decdc 0x1839dc694 0x1839dcc50 0x1838fcc58 0x1857a8f84 0x18d0555c4 0x10271e9dc 0x18341c56c)
libc++abi.dylib: terminating with uncaught exception of type NSException

The issue seems to be an incorrectly set outlet: Unknown class _TtC16Group_Connection10MentorView in Interface Builder file.

Or the controller not actually being set up correctly between the Base Controller Sub and the controller in question (which seems to be MentorView). The oddity is that the exception displays the controller as simply a UIViewController instead of MentorView (cf Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x1038c25c0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key accessCode.')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.