when using OmniAuth in rails application why I always met Errno::ETIMEDOUT -


i have rails dummy application, , i've add omniauth gemfile. i've add

<%= link_to "sign in twitter", "/auth/twitter" %> 

in application layout file.

also i've add omniauth.rb file in config\initializers folder.

rails.application.config.middleware.use omniauth::builder   provider :twitter, 'mykey', 'mysecert' end 

after restart of rails server rails s , visit http://localhost:3000/auth/twitter

i've met errno::etimedout, saying operation timed out - connect(2)

my computer can visit twitter website meanwhile.

can me going wrong here? thank much.

that because of network issue. after connected vpn, fine.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -