Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export view as XXX: not working #155

Open
keiranmraine opened this issue Jun 13, 2019 · 7 comments
Open

Export view as XXX: not working #155

keiranmraine opened this issue Jun 13, 2019 · 7 comments

Comments

@keiranmraine
Copy link

Using a newly installed higlass-manage which has pulled the latest image (3d old 33b57bb8b9c0).

Export view as link is not working. Looking in the logs I see:

hg-data/error.log

2019/06/13 11:56:01 [error] 16#16: *82 readv() failed (104: Connection reset by peer) while reading upstream, client: 172.20.240.254, server: , request: "POST /api/v1/viewconfs/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:8001", host: "172.27.81.12:8888", referrer: "http://172.27.81.12:8888/app"

hg-data/hgs.log

[13/Jun/2019 12:01:02] WARNING [django.request:228] Forbidden: /api/v1/viewconfs

Export view as PNG is not working, logs don't show any errors.

SVG and Json are working.

@pkerpedjiev
Copy link
Member

Export view as PNG is indeed broken. I filed a bug here: higlass/higlass#688

For Export view as link, can you do Export view as JSON and paste what is in the exportViewUrl field?

Also, are you using the --site-url parameter to specify the URL of the site that will be running your higlass instance?

@keiranmraine
Copy link
Author

keiranmraine commented Jun 17, 2019

"exportViewUrl": "/api/v1/viewconfs/",

Started with --site-url:

higlass-manage start --port 8888 --site-url 172.27.81.12 --use-redis

I managed to create a link on the previous release v0.6.16

@keiranmraine
Copy link
Author

FYI, this seems to be triggered when you limit the track data to your local instance, removing the public server .

"trackSourceServers": [
    "/api/v1"
  ],

@pkerpedjiev
Copy link
Member

I'm really sorry, I'm having a hard time reproducing this.

Are you OK with running v0.6.16 or is this still an issue? If it's causing you more troubles I can try to reproduce this on a virtual machine.

@keiranmraine
Copy link
Author

I'll try to swing back to this if I get time. The immediate work this was related to has completed. I greatly appreciate the work that has gone into this, I think this is an excellent tool which we will use more extensively in the future.

@mblanche
Copy link

mblanche commented Jul 8, 2019

I guys, We are experiencing similar issue running on the latest git higlass-docker commit (commit 5a34912cc6f806f026aaa372173b2dee92ba5c19), export as SVG or export as PNG are not working.

You can experience it here http://52.13.58.105/app

Let me know if I can help you debugging this

thanks

@pkerpedjiev
Copy link
Member

Thanks for reporting @mblanche, we actually stealthily released a couple big changes in the latest docker container, one of which was a change to how link exporting works.

I've noticed that issue a couple times myself. It usually went away after restarting the Docker container. I know that that's not a very satisfying solution but at least now I notice it and can debug. Will post any updates to the situation here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants