-
Notifications
You must be signed in to change notification settings - Fork 381
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
ConnectionError: ERR#0015: error 503, try again later. #440
Comments
I ran above code with investpy 1.0.7 without encountering the error. Please note that investpy "simply" scrapes the data from investing.com. If you do many requests in a short period, then Investing.com might block your IP. Also the 503 error indicates something went wrong on the side of investing.com. It could be they were experiencing some issues and that these are currently resolved. So try again later is a good suggestion. |
Thanks for your reply Dave. I m not sendıng so many request so ı mean that cant be reason of this problem. |
Try with a different ip before.. |
Good morning. I´ve got the same issue. I´ve changed my internet provider and I´ve got CR-NAT IP protocol. Maybe the problem related to this?. Thank you so much. |
I have also the same problem raise ConnectionError("ERR#0015: error " + str(req.status_code) + ", try again later.") |
Hi, I have got the same ERR#15: error 503 problem. Is there any exact solution to this problem? Thanks in advance.. |
Can confirm this is a general issue in mainland China. Sent the following POST request (extracted from import requests
params = {
"curr_id": 6408,
"smlID": "89993585",
"header": "AAPL Historical Data",
"st_date": "01/12/2021",
"end_date": "01/01/2022",
"interval_sec": "Daily",
"sort_col": "date",
"sort_ord": "DESC",
"action": "historical_data",
}
head = {
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1623.0 Safari/537.36",
"X-Requested-With": "XMLHttpRequest",
"Accept": "text/html",
"Accept-Encoding": "gzip, deflate",
"Connection": "keep-alive",
}
url = "https://www.investing.com/instruments/HistoricalDataAjax"
req = requests.post(url, headers=head, data=params)
print(req.__dict__) And here was the response content received (i.e. the access was likely blocked by Investing.com). Alternatively, the package |
Merhaba, bahsettiğniz soruna çözüm bulabildiniz mi? Aynı hatayı ben de alıyorum. Python ve Pycharmı silip yeniden yüklememe rağmen çözüm bulamadım. Bir çözüm bulduysanız ve paylaşırsanız sevinirim. Teşekkürler. |
Privado VPN adında bir masaüstü uygulamasında aylık 10 GB ücretsiz kullanım
hakkı var. Londra üzerinden bağlanarak denersen çalışacaktır.
4 Eki 2022 Sal 18:07 tarihinde Eren Ali Şavk ***@***.***>
şunu yazdı:
… Hi,
I ve tried many different codes to receive historical datas of some of
financial instruments but i m taking "ConnectionError: ERR#0015: error 503,
try again later." error. Normally i had been using investpy without any
error.
[image: Ekran Alıntısı]
<https://user-images.githubusercontent.com/90219621/132259850-28d960e0-8388-4199-b18b-f1165ee70590.JPG>
dostum çözebildin mi sorunu
Evet, VPN uygulaması ile sorun çözüldü.
hangi vpn ile çözdün hotspot shield denedim olmadı.
—
Reply to this email directly, view it on GitHub
<#440 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZHLGC4YAEIS2K4YWX3CD3DWBRB4FANCNFSM5DRBYN4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi everyone, so the VPN may temporarily solve the issue but block you after N requests so you’ll end up having the same issue (503 HTTP), so please use Refer to: |
Hi,
I ve tried many different codes to receive historical datas of some of financial instruments but i m taking "ConnectionError: ERR#0015: error 503, try again later." error. Normally i had been using investpy without any error.
The text was updated successfully, but these errors were encountered: