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

Fetch feed version fails for certain SSL configurations #312

Open
landonreed opened this issue May 15, 2020 · 0 comments
Open

Fetch feed version fails for certain SSL configurations #312

landonreed opened this issue May 15, 2020 · 0 comments

Comments

@landonreed
Copy link
Contributor

landonreed commented May 15, 2020

Observed behavior

Fetch GTFS at https://www.sdmts.com/google_transit_files/google_transit.zip should work.

Expected behavior

On Create New Version > Fetch:

ERROR 2020-05-15T13:37:01.771 [pool-2-thread-1] c.c.d.common.status.MonitorableJob(MonitorableJob.java:325) Job failed with message Unable to connect to https://www.sdmts.com/google_transit_files/google_transit.zip; not fetching San Diego MTS feed
com.conveyal.datatools.manager.models.FeedSource.fetch(FeedSource.java:257)
javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
 at sun.security.ssl.ClientHandshaker.handshakeAlert(ClientHandshaker.java:1410)
 at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2004)
 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1113)
 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
 at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
 at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
 at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
 at com.conveyal.datatools.manager.models.FeedSource.fetch(FeedSource.java:210)
 at com.conveyal.datatools.manager.models.FeedSource.fetch(FeedSource.java:155)
 at com.conveyal.datatools.manager.jobs.FetchSingleFeedJob.jobLogic(FetchSingleFeedJob.java:51)
 at com.conveyal.datatools.common.status.MonitorableJob.run(MonitorableJob.java:142)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 at java.lang.Thread.run(Thread.java:745)

Steps to reproduce the problem

See above (create new feed source with fetch url, click fetch).

Note: this problem can be resolved by following the steps at https://stackoverflow.com/a/14884941/915811. (start server with -Djsse.enableSNIExtension=false option)

Any special notes on configuration used

N/A

Version of datatools-server and datatools-ui if applicable (exact commit hash or branch name)

latest dev

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

1 participant