question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Digitalocean Provider spits out invalid json

See original GitHub issue
[  
   {  
      'content':u'"v=DKIM1; k=rsa; p=MIGfMA0GC[...redacted...]GUrwFVgQIDAQAB"',
      'id':1256011,
      'type':u'TXT',
      'name':'mesmtp._domainkey.ctnguyen.net',
      'ttl':''
   },
   {  
      'content':      u'"v=spf1 include:spf.messagingengine.com -all"',
      'id':2349116,
      'type':u'TXT',
      'name':'@.ctnguyen.net',
      'ttl':''
   }
]

The issued command is lexicon digitalocean list ctnguyen.net --auth-token $LEXICON_DIGITALOCEAN_TOKEN TXT

Look after the content-pair and type-pair. There are u’s after the colon. I don’t were there are coming from. I discovered this, when I tried to setup letsencrypt.sh with the provided example hook. The clean_challenge returns an empty list(maybe because the json is invalid).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
napcaecommented, Jun 8, 2016

Ah, sorry for the late reply. I did try it, but forgot to answer. Anyway - same error. So no fix yet for me 😦

0reactions
AnalogJcommented, Oct 8, 2016

@mrwacky42 Sorry I just noticed your response. Yeah that sounds like it could definitely cause some issues. Would you be willing to open a PR with the pagination fix on the DO provider?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve Error: Invalid JSON RPC response on ...
I suspect I need to make changes in web3 provider to make it compatible to run on DigitalOcean but cannot figure out them,...
Read more >
How To Debug Node.js with the Built-In Debugger and ...
You will first debug code using the built-in Node.js debugger tool, setting up watchers and breakpoints so you can find the root cause...
Read more >
digitalocean_database_firewall: provider produced an invalid ...
Bug Report Describe the bug Terraform throws an error when trying to create a database firewall with multiple rules: resource ...
Read more >
Installing WordPress on DigitalOcean App Platform Part II
The App Platform will not be able to detect the package.json if it's located in your theme folder. The only way I've found...
Read more >
JSON - CodeProject
This article will find out a solution to serialize/deserialize object by reference at server and client, also will serialize/deserialize objects having circular ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found