Skip to content

"error on socket" after SocketRocket: In debug mode. Allowing connection to any root cert  #7914

@inturbidus

Description

@inturbidus

I'm getting an error when trying to observe a Parse Query.

SocketRocket: In debug mode. Allowing connection to any root cert
error on socket

  observe(props, state) {
    var query = new Parse.Query('Get');
    return state.isLoading ? { items: query } : null;
  }

  _executeQuery() {
    this.setState({ isLoading: true });
  }

  render() {

   function setSelectedOption(option){
      this._executeQuery();
      this.setState({
        selectedCustomSegment: option,
        gender: option,
      });
    }

    console.log(this.data.items);
    return (<View></View>);
  }

Here's the versions I'm using in my package.json

"react": "15.0.2",
"react-native": "^0.26.2",
"react-native-keyboard-aware-scroll-view": "0.0.7",
"react-native-navbar": "^1.2.2",
"parse": "^1.6.14",
"parse-react": "^0.5.0",
"events": "^1.1.0",

I'm using VS Code and running on iOS Simulator.

  • Provide a minimal code snippet / rnplay example that reproduces the bug.
  • [-] Provide screenshots where appropriate
  • What's the version of React Native you're using? 0.26.2
  • Does this occur on iOS, Android or both?
  • Are you using Mac, Linux or Windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions