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

Markers don't appear due to SSL certificate name mismatch #539

Closed
davidbody opened this issue Apr 29, 2018 · 5 comments
Closed

Markers don't appear due to SSL certificate name mismatch #539

davidbody opened this issue Apr 29, 2018 · 5 comments

Comments

@davidbody
Copy link

After upgrading to Leaflet 2.0.0 and deploying an RMarkdown project to github pages, leaflet markers no longer appear.

As shown in the screenshot below, this appears to be a SSL issue.

The certificate for cdn.leafletjs.com is only valid for *.cloudfront.net and cloudfront.net.

The full error message is

An error occured: cdn.leafletjs.com uses an invalid security certificate. The certificate is only valid for the following names: *.cloudfront.net, cloudfront.net Error code: SSL_ERROR_BAD_CERT_DOMAIN

screenshot from 2018-04-28 18-50-43

davidbody added a commit to davidbody/grassley-townhalls that referenced this issue Apr 30, 2018
@hinkelman
Copy link

I had the presumably related problem of markers not showing up when deploying a shiny app to shinyapps.io. My workaround was to use a custom icon for the marker.

@daltonhance
Copy link

This also appears to be affecting the leaflet help page here: https://rstudio.github.io/leaflet/markers.html

Markers do not show up in the first example under Icon Markers

@aoles
Copy link
Contributor

aoles commented May 14, 2018

I'm experiencing a similar problem of missing markers in the online vignette. The markers render just fine when I open the html file locally.

@schloerke
Copy link
Contributor

Fixed in #544

If you need a fix now...

devtools::install_github("rstudio/master")

Pending more fires, I plan on releasing next week.

@bw4sz
Copy link

bw4sz commented May 29, 2018

@schloerke just to clarify, will we need to update our local rstudio to get this update, or will shinyapps be updated to get the markers? Same problem as above, my markers show up locally, but not on shinyapps.

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

6 participants