-
Notifications
You must be signed in to change notification settings - Fork 652
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
Always uses https for requesting tiles, even in development mode #48
Comments
This problem is extremely infuriating. No matter what I do, I cannot make carto use |
Can't figure it out. I resorted to a global s/https/http search-replace but that obviously broke just about everything. Help! I'd love to start work on Carto but this is a huge blocker right now... Thanks |
Set up on CartoDB on another machine (Ubuntu 12.04 fresh install) and having the same issue. Does anyone have any ideas for a fix? |
i had to change some of the map.js functions to force them to use http |
I tried messing in there as well but I always ended up breaking other things. Do you know specifically what you changed? And I'm just as interested as to why the |
i know, it a pain in the ass, but i changed lib/assets/javascripts/cdb/src/geo/common.js and added |
Ok thanks, I'll try that. Do you know where |
Ok I was able to make it work by hacking common.js. Thanks for the tip. Now of course, I ran into another ignoring-my-configuration issue... |
This also worked for me. Thanks! |
we internally work with http for development is as easy as change the configuration in config/app_config.yml |
Look at the other comments! Changing app_config does NOT work! |
@tkwebb this is my app_config.yml, to develop I use a checkout of cartodb code without any modification (i've removed some keys). Once you have it in config folder, restart the app (the rails app and the importer) and create/import a new table
|
I wouldn't have filed this bug if it were that easy. I've already tried that. Changing the setting it to The only way to make it use |
have you tried exactly the steps i described? be careful because there are two places where http should be set and also you need to restart and create new tables. If you change the config file but you try to open tables already imported that is NOT going to work. And believe me, we do NOT do any hack in cartodb.js to develop and I do develop using http |
Yes. I've also tried re-installing the entire database, clearing the cache, On Mon, Dec 17, 2012 at 10:24 AM, javi santana notifications@github.comwrote:
|
i already read the comments and the solution is there. Do the following:
could you please paste me the json returned this is what I get
|
@javisantana I noticed that in the app_config.yml you not only have tiler_protocol in the top section, but also in the data section as:
How do these work together with the tiler_protocol in the default section? Should we change all of them? What about tiler_domain? It is "cartodb.com" in the original app_config.yml. |
@zqshen you should change in all the places and all the variables you need to fit your system config (tiler_protocol, tiler_domain, tiler_port and sql variables if you need). The variables should be the same in the top section and in the data section We are working to remove those duplicities |
CartoDB uses
https
when making requests to the Windshaft tile server, even though I havehttp
set in myapp_config.yml
:tile_protocol: 'http'
The text was updated successfully, but these errors were encountered: