You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to get a connection to Meteor. I've configured DDP_DEFAULT_CONNECTION_URL to be the IP of my machine. The code below is called every 5 seconds, and it just won't connect. Using fetch, I'm able to hit the server with no problem.
Meteor.connect(server.result);
Meteor.reconnect();
fetch(server.result)
.then( (response) => {
console.log('Fetch returned data:'); // This works
console.log(response);
}, (error) => {
console.log('Fetch returned error:');
console.log(error);
})
@kokokenada I will check the re-connection thing, and regards the boilerplate, I'ts probably caused due to the separation between the device and the server on the local machine. If configured correctly, it should work. I will try to run it on a MacOS to see if it works there or not, and I will give you a status once I have results.
I am unable to get a connection to Meteor. I've configured DDP_DEFAULT_CONNECTION_URL to be the IP of my machine. The code below is called every 5 seconds, and it just won't connect. Using fetch, I'm able to hit the server with no problem.
(I've tried with and without the reconnect)
Full repo is here: https://github.com/kokokenada/for-real-cards-rn . Tried with a device and with emulator.
The text was updated successfully, but these errors were encountered: