[bing_linkedin_cache] module error

Issue #280 new
Ben Hoffman
created an issue

I am getting an error with the [bing_linkedin_cache] module - [!] FrameworkException: 401: Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription. File "/usr/share/recon-ng/recon/core/module.py", line 351, in search_bing_api.

I have verified the API key works using - https://docs.microsoft.com/en-us/azure/cognitive-services/bing-web-search/tutorial-bing-web-search-single-page-app-source

Any recommendation ? Thank you.

Comments (4)

  1. Ben Hoffman reporter

    I have not changed anything in recon-ng since my query. I am now getting this message -

    [!] URLError: <urlopen error [Errno -2] Name or service not known>
    File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open.
    

    I may had a VPN running when I created the issue, and now it is not running. I also may have changed my AZURE permissions since I created the Issue. In any case, the API key is entered correctly, unless there is some issue with copy/paste.

    Thank you.

  2. Brian King

    Sorry - I was hoping it was easier... Microsoft has replaced their Cognitive Services API with something whose main purpose seems to be to prevent people (at least people like me) from using it.

    My own Bing API key - the one I see in my Azure dashboard as the current key : the one I just now regenerated - gives me the same error you were getting in your initial report.

    I don't know what to make of your latest error. But it looks like a network connectivity or DNS issue. Maybe? I'm just guessing.

    If I figure out how to get working API keys out of Bing, I'll share the steps.

  3. Ben Hoffman reporter

    I have to apologize. A network issue on my side is causing the last error message. Sorry for the trouble. I hope to sort out the Bing issue though! Thanks.

  4. Log in to comment