After trying the gunicorn instruction I still get a similar error :
TRACEBACK :
markup_type=markup_type))
[15:16:59][13995][ERROR] (hubs.app) Exception on /login/fedora [GET]
Traceback (most recent call last):
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1817, in wsgi_app
response = self.full_dispatch_request()
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1475, in full_dispatch_request
rv = self.dispatch_request()
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask_openid.py",
line 504, in decorated
openid_response = consumer.complete(args, self.get_current_url())
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 414, in complete
response = self.consumer.complete(message, endpoint, current_url)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 619, in complete
return modeMethod(message, endpoint, return_to)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 646, in _complete_id_res
return self._doIdRes(message, endpoint, return_to)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 730, in _doIdRes
endpoint = self._verifyDiscoveryResults(message, endpoint)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 887, in _verifyDiscoveryResults
return self._verifyDiscoveryResultsOpenID2(resp_msg, endpoint)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 939, in _verifyDiscoveryResultsOpenID2
to_match.claimed_id, [to_match])
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 1052, in _discoverAndVerify
_, services = self._discover(claimed_id)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/discover.py",
line 470, in discover
return discoverURI(identifier)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/discover.py",
line 462, in discoverURI
claimed_id, openid_services = discoverYadis(uri)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/discover.py",
line 389, in discoverYadis
response = yadisDiscover(uri)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/yadis/discover.py",
line 70, in discover
resp = fetchers.fetch(uri, headers={'Accept': YADIS_ACCEPT_HEADER})
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/fetchers.py",
line 42, in fetch
return fetcher.fetch(url, body, headers)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/fetchers.py",
line 181, in fetch
raise HTTPFetchingError(why=exc_inst)
HTTPFetchingError: <urlopen error [Errno -2] Name or service not known>
[15:17:15][14006][ERROR] (hubs.app) Exception on /login/fedora [GET]
Traceback (most recent call last):
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1817, in wsgi_app
response = self.full_dispatch_request()
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1475, in full_dispatch_request
rv = self.dispatch_request()
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask/app.py",
line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/flask_openid.py",
line 504, in decorated
openid_response = consumer.complete(args, self.get_current_url())
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 414, in complete
response = self.consumer.complete(message, endpoint, current_url)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 619, in complete
return modeMethod(message, endpoint, return_to)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 646, in _complete_id_res
return self._doIdRes(message, endpoint, return_to)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 730, in _doIdRes
endpoint = self._verifyDiscoveryResults(message, endpoint)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 887, in _verifyDiscoveryResults
return self._verifyDiscoveryResultsOpenID2(resp_msg, endpoint)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 939, in _verifyDiscoveryResultsOpenID2
to_match.claimed_id, [to_match])
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/consumer.py",
line 1052, in _discoverAndVerify
_, services = self._discover(claimed_id)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/discover.py",
line 470, in discover
return discoverURI(identifier)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/discover.py",
line 462, in discoverURI
claimed_id, openid_services = discoverYadis(uri)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/consumer/discover.py",
line 389, in discoverYadis
response = yadisDiscover(uri)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/yadis/discover.py",
line 70, in discover
resp = fetchers.fetch(uri, headers={'Accept': YADIS_ACCEPT_HEADER})
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/fetchers.py",
line 42, in fetch
return fetcher.fetch(url, body, headers)
File
"/home/akanksha/.virtualenvs/hubs/lib/python2.7/site-packages/openid/fetchers.py",
line 181, in fetch
raise HTTPFetchingError(why=exc_inst)
HTTPFetchingError: <urlopen error [Errno -2] Name or service not known>
The webpage at localhost:8000 reads Internal Server Error : Either Server
is overloaded or there is an error in the application.
Thanks
Akanksha
On Tue, Oct 20, 2015 at 3:02 PM, Akanksha Srivastava <akanksha.dlf(a)gmail.com
wrote:
> Hello, I got the build done following the README.rst. While I am able to
> access the hubs app at localhost:5000 on entering my FAS username and
> password for authentication I get the following error.
>
> "
> HTTPFetchingError: <urlopen error [Errno -2] Name or service not known>
> Error attempting to use stored discovery information:
> <openid.consumer.consumer.TypeURIMismatch: Required type
>
http://specs.openid.net/auth/2.0/signon not found in ['
>
http://specs.openid.net/auth/2.0/server';,
'http://openid.net/server/1.0',
> 'http://ns.launchpad.net/2007/openid-teams', '
>
http://fedoraproject.org/specs/open_id/cla';,
'http://openid.net/srv/ax/1.0',
> 'http://openid.net/extensions/sreg/1.1',
'http://openid.net/sreg/1.0']
> for endpoint <openid.consumer.discover.OpenIDServiceEndpoint server_url='
>
https://id.fedoraproject.org/openid/' claimed_id=None local_id=None
> canonicalID=None used_yadis=True >>
> Attempting discovery to verify endpoint
> Performing discovery on
http://akanksha17.id.fedoraproject.org/
> Traceback (most recent call last):
>
> "
>
> Can you tell me what is going wrong and how? And any insights into fixing
> it.
> Thanks
> Akanksha
>
> On Mon, Oct 12, 2015 at 9:33 PM, Remy DeCausemaker <rdecause(a)redhat.com>
wrote:
>
>> Akanksha,
>>
>> We're *thrilled* that you are interested in contributing to Fedora, and
>> happy to point you in the right direction.
>>
>> Most relevant to the Outreachy position listed would be tasks related to
>> the Hubs project itself. You can find the hubs repository at the URL here:
>>
>>
https://pagure.io/fedora-hubs/branch/develop
>>
>> You can then run the following from the command-line:
>>
>> git clone ssh://git@pagure.io/fedora-hubs.git
>> git fetch
>> git checkout develop
>>
>> The README file will walk you thru the development server setup:
>>
https://pagure.io/fedora-hubs/blob/develop/f/README.rst
>>
>> There's also a tutorial in that README about 'Stubbing out a new
widget'
>> - follow those steps too.
>>
>> After you've done those tasks, we have a list of widgets that need to be
>> created under the "issue" tab on the pagure.io page. When you're
ready
>> to take a try at that, let us know and we can help you figure out a good
>> one to start out with.
>>
>> I saw that I missed your message in IRC over the weekend, but I will
>> usually respond within 1-24 hours if you stay connected. I would recommend
>> you hang out in #fedora-outreachy as much as possible, as well as join
>> other channels like #fedora-apps (general infra/web development channel)
>> and #fedora-hubs (hubs specific web development) so you can get a feel for
>> who is active in the community, and how everyone gets things done.
>>
>> If you have any questions, just reply here, or ask in channel (I'm
>> decause on freenode.)
>>
>> Hope this helps,
>> --RemyD.
>>
>>
>>
>>
>>
>>
>> --
>> Remy DeCausemaker
>> <decause(a)redhat.com>
>> Fedora Community Lead & Council Member
>>
http://whatcanidoforfedora.org
>> 308C A504 0B47 1503 C9D9 E670 E633 A79B 0BB0 F6D9
>>
>> ------------------------------
>>
>> *From: *"Akanksha Srivastava" <akanksha.dlf(a)gmail.com>
>> *To: *ralph(a)fedoraproject.org, duffy(a)fedoraproject.org,
>> lmacken(a)fedoraproject.org, decause(a)fedoraproject.org
>> *Sent: *Sunday, October 11, 2015 12:50:06 PM
>> *Subject: *Outreachy Application
>>
>>
>> Hello, my name is Akanksha and I am interested in applying for
>> Outreachy for this round. I went through the project description on the
>> wiki page and from what I have seen, I understand that the project involves
>> web development. I am interested in web development and I have prior
>> experience in HTML/CSS/Javascript. I have developed applications in Django,
>> Web2py, RubyOnRails, PHP. I am in the process of going through the blogs
>> listed. The page says I need to contribute to the project. I would love it
>> if I could get some help to identify a task I can work on as an
>> introduction to the project?
>>
>>
>> Hoping to contribute and learn a lot.
>> Thanks
>> Akanksha
>>
>>
>>
>