Connection failed to default
Brief Description:
Operating System (windows10): OpenBazaar version: OpenBazaar-1.1.6_Setup_x64 Hardware: lenovo x240s
Reproducible (Always):
Steps to reproduce:
- After installation,open the openbazaar,then shows "Connection failed to default"
Observed Behavior:Connection failed to default
Expected Behavior:
Additional info (links, images, etc go here):
@Drwasho maybe you can help here? Windows.
I have the same error on my mac..
Same issue here. I've uninstalled, reinstalled to no avail.
Linux 64-bit
Okay, guys. This is what I did: Uninstall OB > Allow windows to show hidden files > Go to: C:\Users[Username]\AppData\Local then > delete OpenBazaar > install OB.
This worked for me.
If you are on mac, try the same thing; maybe it will work:
uninstall> go to: /usr/share delete file OB. then install again
HOPE THIS HELPED - IF IT DID, PLEASE TELL ME.. !!!
that last step, installing OB, explain. Just fully delete the file and re-install?
Just tried that, didnt do it for me... :/ Still failing to connect to default. On a fresh download, havnt been able to get things working, ever. Windows 7 I also tried installing the 32 bit instead of 64 bit, thought it might help, it didnt.
I have 1.1.7, also a fresh install, and havnt been able to resolve the issue. I cant connect with the default server.
The dev tools say this on the console page: C:\Users[Username]\AppData\Local\OpenBazaar\app-1.1.7\resources\app.asar\js\utils\Socket.js:30 WebSocket connection to 'ws://localhost:18470/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
The path listed above is highlighted as a link, clicking on it, im shown this: (function (exports, require, module, __filename, __dirname, process, global) { 'use strict';
var __ = require('underscore'), Backbone = require('backbone');
function Socket(url) { if (!url) { throw new Error('Please provide an url.'); }
__.extend(this, Backbone.Events);
this.url = url; this.connect(); }
Socket.prototype.connect = function(url) { var self = this;
this.url = url || this.url;
if (this._socket) { this._socket.onopen = null; this._socket.onclose = null; this._socket.onerror = null; this._socket.onmessage = null; this._socket.close(); }
this._socket = new WebSocket(this.url); this._proxyEvent('onopen'); this._proxyEvent('onclose'); this._proxyEvent('onerror');
this._socket.onmessage = function() { var args = Array.apply(null, arguments);
if (args[0] && args[0].data) { args[0].jsonData = JSON.parse(args[0].data); }
self.trigger.apply(self, ['message'].concat(Array.apply(null, args)));
}; };
Socket.prototype._proxyEvent = function(event) { var self = this;
this._socket[event] = function() { self.trigger.apply(self, [event.slice(2)].concat(Array.apply(null, arguments))); }; };
Socket.prototype.close = function() { this._socket.close.apply(this._socket, arguments); };
Socket.prototype.send = function() { this._socket.send.apply(this._socket, arguments); };
Socket.prototype.getReadyState = function() { return this._socket.readyState; };
module.exports = Socket; });
thanks a lot
@HappyHead

Do this step ^^^^ after uninstalling..
Then after deleting OpenBazaar, reinstall.
@coreanachina Did it work?
@Kaden14 Idon't know,my problem had resoved though i don't konw the reason.
@Kaden14 It's really worked!I just tried.Anyway,thank you very much.
hey i know this is an old thread but thought i'd give it a shot. uninstalling and deleting the folder and reinstalling didn't do anything. seems like i need to make a new server configuration. i'm guessing OB is one of those platforms that doesn't yet "just work" haha