Xlsx file not showing in the data explorer ckan - xlsx

I am running a ckan instance on ubuntu 16.04.3. I installed the latest ckan from source. I uploaded a few xlsx files successfully but when I try to view them in the data explorer it keeps on loading and shows no views or gives this error on the interface:
"This resource view is not available at the moment. Click here for more information.
Could not load view: DataProxy returned an error (Please read the dataproxy API format documentation: https://github.com/okfn/dataproxy)"
When I try to upload the file to the datastore I get the following error on the interface:
Upload error: An Error occurred while sending the job: 403 Client Error: Forbidden for url: http://127.0.0.1:8800/job
In the datapusher.error.log I see:
[authz_core:error] [pid 4296:tid 139631223842560] [client 127.0.0.1:36692] AH01630: client denied by server configuration: /etc/ckan/datapusher.wsgi
Also I cant see any specific error in my terminal when I serve my development.ini file. How can I view the xlsx files in my data explorer successfully?

Have you made the folder containin datapusher.wsgi acessible to apache in your /etc/apache2/sites-enabled/datapusher.conf?
<Directory /etc/ckan>
Options All
AllowOverride All
Require all granted
</Directory>

Related

Why do I get Err 403 (Forbidden) when I use Chrome/FF with https but when I connect via CarotDAV it works fine

Can anyone here explain the problem, Why do I get Error 403 (Forbidden) but when I connect to a https WEBDAV I can get the Directory Listing. I use WebDAV Server on Ubuntu 18.4 with valid Certificate and port 4433.
When I use CarotDAV I can see all files in the directory and works fine. But with Chrome or FF or when I use the IPWorks WebDAv compononet (separate question: Q&A for WebDAV Comp from nsoftware ) in Delphi 10.4 I get Error 403 from Server. Is there a option to set in the https.conf in apache to see the directory listing also in Chrome/FF ?
Thanks
As I could see: with this options it works fine also with Chrome/FF
Alias /icons/ "/var/www/icons/"
<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>

Laravel 5.2 - Getting 500 error when connecting with CSRF disabled

I am having an issue where I'm getting a 500 internal error when connecting to my Laravel API.
I had my site originally on GoDaddy using example.com as the main site and api.example.com as the api, but then decided to move it to Google Cloud Platform. I went ahead and set up an instance in the Google Compute Engine using Debian 8. I am using ISPConfig 3 to do all my server stuff. I have my site and my api in two separate repos on Github. I went my server directory to /var/www/example.com/web and cloned my main site into it. Since this create a folder within the root directory of my site, I also went into the vhost and set the default directory to point to the new cloned directory.
I then created another site with ISPConfig for my api and went into the DNS and created a A record and pointed it to the same IP as my main site. I then went into /var/www/api.example.com/web and cloned my api's repo into it, just like my main site. I went into the vhost for my api and pointed the default directory to my new cloned directory.
I can go to example.com just fine, but when I try to log in (this is the first point an api call is made), I get a 500 internal error.
I'm not using CORS and I never have because I use my own JSON web tokens, therefore my CORS is turned off.
Any ideas on how to fix the 500 error?
EDIT
Formatting
Edit 2
These are the last two lines in the error log for apache:
[Sat Sep 24 21:17:17.095798 2016] [core:crit] [pid 17588] (13)Permission denied: AH00529: /var/www/api.example.com/web/api/public/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat Sep 24 21:17:17.095875 2016] [authz_core:error] [pid 17588] AH01630: client denied by server configuration: /var/www/api.example.com/web/error/403.html, referer: http://example.com/login
I'm not sure why it's throwing this .htaccess error. It's the .htaccess that Laravel automatically created.
Errors says what is your problem: Permission denied: AH00529: /var/www/api.example.com/web/api/public/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Make htaccess readable using chmod command:
chmod 644 /var/www/api.example.com/web/api/public/.htaccess
Also check this answers if this not help

failed to process http post,get,put and delete request from cc3200 launchpad to local server or http server

//I am using
define GET_REQUEST_URI "GET /ms/v_updated.php?id=9,9,9& qty=9,9,9/HTTP/1.1\r\nHost:127.0.0.1\r\nAccept: /\r\n\r\n"
for v_updated.php file on my localserver using my cc3200 launchpad
//and i wanted to know that is this the correct syntax am i using for GET request in cc3200
![on console i got following outpt]
[1] STA connected to AP:
[2]IP Acquired :
[3]Connection to server created successfully
HTTP Get Begin:
Failed to send HTTP GET request
HTTP Post Get failed
HTTP gET End:
and i also want to know about the json parser being used..
It is possible that your local server is declining requests from CC3200. Try Configuring the local Server.
If you are using XAMPP, Go to Config > httpd.conf, open it.
Search AllowOverride. You will find the following settings (or Similar ),
<Directory />
AllowOverride None
Options None
Order allow,deny
Allow from None
</Directory>
Change None to All.
It Should look like
`<Directory />
AllowOverride All
Options All
Order allow,deny
Allow from All
</Directory>`

Deploying a gradle script from Jenkins using the artifactory plugin

I'm trying to deploy a build from jenkins using the artifactory invocation of gradle plugin and get a an HTTP error 302, going through the log looks like there's a checksum problem that cannot be skipped:
13:35:41.463 [DEBUG] [org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask] Failed checksum deploy of checksum '8d80bb7f1bf2f0457baa3ad7379348c5ecbf2535' with statusCode: 302
13:35:41.466 [DEBUG] [org.apache.http.impl.conn.SingleClientConnManager] Get connection for route HttpRoute[{}->http://artifactory.edegem.eu.thmulti.com]
....
13:35:41.470 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnectionOperator] Connecting
13:35:41.503 [DEBUG] [org.apache.http.impl.conn.DefaultClientConnection] Receiving response: HTTP/1.1 302 Found
Any clue?
Thanks a lot.
302 is a status code for redirects, which means that your Artifactory is not located at 'http://artifactory.edegem.eu.thmulti.com' but in some other location. Browser follows the redirect to the new place (that's the reason you can browse Artifactory under this URL), but Artifactory networking is not. Please verify the 'real' location of Artifactory and point your Jenkins plugin to it.

appcfg appengine 502 Proxy error in localhost

I am trying to upload some data to my local datastore in appengine.
The command I am using is the next one:
appcfg.py upload_data --config_file="C:\config.yml" --filename="C:\mycsv.csv" --url=http://localhost:8888/remote_api --kind=MyEntity
The problem is that I'm working behind my company proxy and I am getting the next ERROR even trying to connect to the localhost server:
Error Code: 502 Proxy Error. The ISA Server denied the specified Uniform Resource Locator (URL). (12202)
It seems the authentication is ok, but somehow the proxy tries to filter my connection to my own computer.
Some ideas about how can I solve this?
Thanks.
Remove/disable proxy settings of your network then try the above command.
I was facing the similar issue and this issue resolved when i disable my proxy settings.

Resources