[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health-dev] Problem in FHIR server installation.
From: |
Chris |
Subject: |
Re: [Health-dev] Problem in FHIR server installation. |
Date: |
Thu, 26 Mar 2015 11:13:26 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hiya!
Sorry about delay -- busy week for me!
> I'm trying to connect to the server using same machine but different user.
> I tried using both browser and cURL through terminal. Here are the outputs:
Yeah, the user shouldn't matter.
> Client (username - arpit):
>
> curl http://localhost:5000
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <title>404 Not Found</title>
> <h1>Not Found</h1>
> <p>The requested URL was not found on the server. If you entered the URL
> manually please check your spelling and try again.</p>
Yeah, that's not good. Try this:
$ curl -v --header "Accept: text/xml" http://localhost:5000
The -v switch should show more info.
The --header switch overrides the content-type accepted.
I've had annoying issues with content negotiation, but Flask and its
addons support json by default, but I haven't coded the custom json
standard for FHIR. And curl, by default, accepts json (I think), so...
issues. I thought I fixed these issues... but maybe not.
Are you running the production config? Or?
Does the browser do the same thing? Show 404s?
> address@hidden:~$ curl http://localhost:5000/Patient
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <title>404 Not Found</title>
> <h1>Not Found</h1>
> <p>The requested URL was not found on the server. If you entered the URL
> manually please check your spelling and try again.</p>
>
> Server (username - gnuhealth):
>
> python run_server.py
> No handlers could be found for logger "party"
> WARNING:tornado.access:404 GET / (127.0.0.1) 21.02ms
> WARNING:tornado.access:404 GET /Patient (127.0.0.1) 3.08ms
Yeah, the 404s may be those json requests and error responses to them.
Or, something more mysterious.
Thanks!
-C
- [Health-dev] Problem in FHIR server installation., Arpit Goel, 2015/03/22
- Re: [Health-dev] Problem in FHIR server installation., Chris, 2015/03/22
- Re: [Health-dev] Problem in FHIR server installation., Arpit Goel, 2015/03/23
- Message not available
- Re: [Health-dev] Problem in FHIR server installation., Chris, 2015/03/23
- Re: [Health-dev] Problem in FHIR server installation., Arpit Goel, 2015/03/24
- Re: [Health-dev] Problem in FHIR server installation., Chris, 2015/03/25
- Re: [Health-dev] Problem in FHIR server installation., Arpit Goel, 2015/03/25
- Re: [Health-dev] Problem in FHIR server installation.,
Chris <=
- Re: [Health-dev] Problem in FHIR server installation., Arpit Goel, 2015/03/27
- Re: [Health-dev] Problem in FHIR server installation., Arpit Goel, 2015/03/29
- Re: [Health-dev] Problem in FHIR server installation., Chris, 2015/03/31
- Re: [Health-dev] Problem in FHIR server installation., Chris, 2015/03/31
- Re: [Health-dev] Problem in FHIR server installation., Arpit Goel, 2015/03/31
- Re: [Health-dev] Problem in FHIR server installation., Chris, 2015/03/31
- Re: [Health-dev] Problem in FHIR server installation., Chris, 2015/03/29