Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Config File is Malformed #738

Open
jjeffryes opened this issue Oct 20, 2017 · 7 comments
Open

Config File is Malformed #738

jjeffryes opened this issue Oct 20, 2017 · 7 comments

Comments

@jjeffryes
Copy link
Collaborator

Multiple users have reported an issue with the server crashing on start due to a malformed config file.

This appears to happen on new installs, there was at least one report of it happening on an update.

[[OB-SERVER]] [STDERR] Config file is malformed 

[[OB-SERVER]] [STDOUT] 12:56:04.290 [Execute] [ERROR] Config file is malformed 

[LOCAL-SERVER] Server exited with code: 1 
@funkyspider
Copy link

funkyspider commented Dec 4, 2017

I can confirm this is happening on a new Windows 10 64 installation (tried 64 & 32 bit versions). App has never been installed on this PC before. If there are any debug logs etc you would like me to post just ask and tell me where to find them.

Tried starting OpenBazaar as Admin. No difference.

@MultiAlgoDev
Copy link

MultiAlgoDev commented Apr 28, 2018

same issue - same OS {win10 64}

can't connect to zcash due to malformed config

OpenBazaar Server v0.11.1

[[OB-SERVER]] [STDOUT] 16:10:34.116 [Execute] [ERROR] Config file is malformed

[[OB-SERVER]] [STDERR] Config file is malformed

[LOCAL-SERVER] Server exited with code: 1
[SERVER-CONNECT] [eea647f5] Failed to connect to "Built-in Server - ZEC"
[SERVER-CONNECT] [eea647f5] ====> Reason: undefined
[SERVER-CONNECT] [eea647f5] ====> Code: 1006

@seperatis
Copy link

Same issue here........ I'm running Windows 10 Pro 64-bit, here is the output from debug:

OpenBazaar Server v0.11.1

[[OB-SERVER]] [STDERR] Config file is malformed

[[OB-SERVER]] [STDOUT] 12:04:20.972 [Execute] [ERROR] Config file is malformed

[LOCAL-SERVER] Server exited with code: 1

@Tcl2122
Copy link

Tcl2122 commented Jun 6, 2018

Has anyone found a solution to this problem? I am also on a Windows 10 Pro 64-bit and I have been unable to get the app running on this machine. I was able to download and run the program on a mac but was oddly unable to upload any photographs of listings or my store profile. Looking to solve my server issue on windows now, any suggestions appreciated

@placer14
Copy link
Member

placer14 commented Jul 1, 2018

Hello all. If this is still relevant, please post a copy of your config via a new request at https://openbazaar.zendesk.com/ and reference this issue. Also please include if you have any details about the steps leading up to the failure if you believe its relevant. Your config can be found at:

Windows: C:\Users[Username]\OpenBazaar2.0*\config

OSX: ~/Library/Application Support/OpenBazaar2.0*/config

Linux: ~/.openbazaar2.0*/config

*there may be some additional value here depending on your configuration

@rastislavcore
Copy link

Seems this problem is related to editing config in the terminal.
I am using micro under Ubuntu and this raises for me issue.
Still not sure, what is the exact problem. 🤔

@rastislavcore
Copy link

rastislavcore commented Mar 3, 2019

Possible issues:

  • JSON-API in config file have duplicate after ran with: go run $GOPATH/src/github.com/OpenBazaar/openbazaar-go/openbazaard.go setapicreds
  • SSL self-signed certificate will block starting the server

Tested on:
Digital Ocean
Ubuntu 18.04.2 LTS / bionic

Bug results in API and security difficulties.
Please, if somebody raises same bug comment to find a solution. 🧀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants